diff options
author | Dirk von Suchodoletz | 2007-10-15 23:15:18 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-10-15 23:15:18 +0200 |
commit | 9acd61c6749af849c5825e16b4af4f664f1a7b8c (patch) | |
tree | 01ddabc58f0f92e0aaa64e63d010f5ab79204ada /initramfs/initrd-stuff/init | |
parent | old script for menulist. removed from fileserver. no need for it anymore (diff) | |
download | core-9acd61c6749af849c5825e16b4af4f664f1a7b8c.tar.gz core-9acd61c6749af849c5825e16b4af4f664f1a7b8c.tar.xz core-9acd61c6749af849c5825e16b4af4f664f1a7b8c.zip |
Fixes for changed directories in /etc (SuSE), fix for improper tar
filter while copying etc/ data (bind mounts). Do not copy splashy stuff
if not used and remove splashy after using ...
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1387 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-x | initramfs/initrd-stuff/init | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index 9c12ebbe..b126a744 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -665,12 +665,12 @@ elif [ -z "${cowloop}" ] ; then # see above ... ldcfg # save the RO directories mentioned in the distro-specific - # config to a temporary directory. They will lateron be restored + # config to a temporary directory. They will later on be restored for path in ${D_RODIRSINRW}; do if [ -d /mnt/${path} ] ; then - list=${path}" "${list} + list="${path} ${list}" # exclude them from etc copy process too - echo ${path}|sed -e "s,/root/,," >>/tmp/etc.exclude + echo "${path}/*"|sed -e "s,/root/,,;s,^/,," >>/tmp/etc.exclude mkdir -p /root/${path} >/dev/null 2>&1 mount -n --bind /mnt/${path} /root/${path} >/dev/null 2>&1 fi |