diff options
Diffstat (limited to 'stage2/01-sys-tweaks/01-run.sh')
-rwxr-xr-x | stage2/01-sys-tweaks/01-run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 9ac6542..8014d56 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -246,7 +246,8 @@ on_chroot <<EOF mv -f "/boot/initrd.img-\${KVERSION}" /boot/sys_${TARGET_ARCH}_000/initrd.img fi if [ -f "/boot/config-\${KVERSION}" ] ; then - mv -f "/boot/config-\${KVERSION}" /boot/sys_${TARGET_ARCH}_000/config + # keep copy in location as required by mkinitramfs (debian 12) + cp -a "/boot/config-\${KVERSION}" /boot/sys_${TARGET_ARCH}_000/config fi if [ -f "/boot/System.map-\${KVERSION}" ] ; then mv -f "/boot/System.map-\${KVERSION}" /boot/sys_${TARGET_ARCH}_000/System.map |