summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-01-30 01:05:47 +0100
committerDirk von Suchodoletz2007-01-30 01:05:47 +0100
commit701844f51192b9beaa7255b0b745338461801e96 (patch)
tree16657652b9175cf0f613f6250fcd3f4c8977849c /initramfs/initrd-stuff/init
parentUpdate of the hardware description files was needed because of new (diff)
downloadcore-701844f51192b9beaa7255b0b745338461801e96.tar.gz
core-701844f51192b9beaa7255b0b745338461801e96.tar.xz
core-701844f51192b9beaa7255b0b745338461801e96.zip
Added exclusion of runlevel links to init (tar in bind mount scenario to
clean up initial_boot), see Changeset 650 too ... Minor fixes ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@651 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-xinitramfs/initrd-stuff/init6
1 files changed, 5 insertions, 1 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index b29b0719..e273438c 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -482,6 +482,10 @@ elif [ -z "$COWLOOP" ] ; then
done
testmkd ${RWDIR}/var/tmp
chmod a+rwxt ${RWDIR}/var/tmp >/dev/null 2>&1
+ # exclude all sysv runlevel link stuff
+ for i in ${D_RCDIRS} ${D_INITBOOTD} ; do
+ echo "*$i/*" >>/tmp/etc.exclude
+ done
echo -e "${D_ETCEXCL} @@@COMETCEXCL@@@" >>/tmp/etc.exclude
# if ld.so.cache is to be generated then do not copy the file
[ -z "${NOLDSC}" ] && echo -e "ld.so.cache*" >>/tmp/etc.exclude
@@ -501,7 +505,7 @@ elif [ -z "$COWLOOP" ] ; then
fi
# script for stuff to execute during early bootup
d_mkrlscript init boot.ld "Running configuration postponed from InitRamFS"
-echo "fs complete" >/tmp/fscmpl
+echo "fs complete at $(sysup)" >/tmp/fscmpl
# write debug file information after filesystem setup completed
echo -e "# /etc${D_SYSCONFDIR}/logfile - file created by $0 (initramfs \