From ac39374f9e466a6e367400ea5b9219a79eda208c Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 3 Jun 2007 13:32:31 +0000 Subject: [PATCH] Clifford Wolf: Remove initrd image before recreating it (makes live much easier for rebuilds) [2007053010541950650] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8527 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/linux/linux.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base/linux/linux.conf b/package/base/linux/linux.conf index 38712621f..090b115ed 100644 --- a/package/base/linux/linux.conf +++ b/package/base/linux/linux.conf @@ -486,6 +486,7 @@ main_lx() { # just create a symlink to the default initrd image here; the file # pointed to will be created by the rockinitrd postinstall script if [ "$default" ] ; then + rm -f /boot/initrd.img ln -s initrd-${lx_kernelrelease}.img /boot/initrd.img fi }