From 37a1d94816d7d842e931b48e982c9c29252693cb Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 21 Jun 2007 06:00:41 +0000 Subject: [PATCH] Clifford Wolf: Bootdisk hotfix for boot/vmlinuz now beeing a symlink [2007062107594716375] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8588 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- target/bootdisk/x86/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/bootdisk/x86/build.sh b/target/bootdisk/x86/build.sh index b1e2d8aab..f924efb3f 100644 --- a/target/bootdisk/x86/build.sh +++ b/target/bootdisk/x86/build.sh @@ -10,6 +10,11 @@ cd $disksdir echo_header "Creating lilo config and cleaning boot directory:" cp $base/target/$target/x86/lilo-* boot/ +for x in boot/*; do + [ -L $x -a -f $x ] || continue + cp -L $x $x.data; mv $x.data $x + echo "dereferenced \`$x'" +done rm -rfv boot/*-rock boot/grub boot/System.map boot/kconfig boot/*.24** echo_header "Creating floppy disk images:"