[Fai-commit] r3432 - trunk/examples/simple/hooks
fai-repository at svn.debian.org
fai-repository at svn.debian.org
Wed Apr 19 10:22:07 UTC 2006
Author: lange
Date: 2006-04-19 10:22:06 +0000 (Wed, 19 Apr 2006)
New Revision: 3432
Modified:
trunk/examples/simple/hooks/instsoft.FAIBASE
Log:
use fcopy for kernel-img.conf
Modified: trunk/examples/simple/hooks/instsoft.FAIBASE
===================================================================
--- trunk/examples/simple/hooks/instsoft.FAIBASE 2006-04-19 10:13:31 UTC (rev 3431)
+++ trunk/examples/simple/hooks/instsoft.FAIBASE 2006-04-19 10:22:06 UTC (rev 3432)
@@ -1,10 +1,3 @@
#! /bin/sh
-#HG: work around buggy kernel postinst
-if [ ! -s $target/etc/kernel-img.conf ] ; then
- cat > $target/etc/kernel-img.conf <<-EOF
- do_boot_enable = no
- do_initrd = Yes
- silent_modules = Yes
-EOF
-fi
+[ -s $target/etc/kernel-img.conf ] || fcopy -Bi /etc/kernel-img.conf
More information about the Fai-commit
mailing list