diff options
author | Sebastian Schmelzer | 2012-06-26 15:04:08 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2012-06-26 15:04:08 +0200 |
commit | 8eee00f985d7256693a1787a491e7adc71ae691e (patch) | |
tree | ada9abcd91b5e11c1c86fc3b00d0869a791ceb28 /inc | |
parent | remove dummy files in sqfs (diff) | |
download | osib-8eee00f985d7256693a1787a491e7adc71ae691e.tar.gz osib-8eee00f985d7256693a1787a491e7adc71ae691e.tar.xz osib-8eee00f985d7256693a1787a491e7adc71ae691e.zip |
add patch for systemd path fixes
Diffstat (limited to 'inc')
-rwxr-xr-x | inc/env.setup-sqfs-base.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/inc/env.setup-sqfs-base.sh b/inc/env.setup-sqfs-base.sh index 8c87c6a..c217437 100755 --- a/inc/env.setup-sqfs-base.sh +++ b/inc/env.setup-sqfs-base.sh @@ -12,7 +12,9 @@ if [ ! -f .osib_unpacked ]; then touch .osib_unpacked fi -rm run +rm -f run var/cache var/log var/lock var/pcmcia var/run var/spool var/tmp + +mkdir -p run var/log/journal tar xzf ${ROOT_DIR}/share/files/dev.tgz @@ -47,3 +49,10 @@ if [ ! -f .osib_moved_bins ]; then fi ln -sf /usr/lib/systemd/systemd init + +if [ ! -f .osib_patched ]; then + for p in $(ls -1 ${ROOT_DIR}/share/patches/* | sort); do + patch -p1 < $p + done + touch .osib_patched +fi |