From 701844f51192b9beaa7255b0b745338461801e96 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Tue, 30 Jan 2007 00:05:47 +0000 Subject: 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 --- initramfs/initrd-stuff/init | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'initramfs/initrd-stuff/init') 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 \ -- cgit v1.2.3-55-g7522