http://bugzilla.suse.com/show_bug.cgi?id=1008648
http://bugzilla.suse.com/show_bug.cgi?id=1008648#c2
Olaf Hering changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|needinfo?(ohering@suse.com) |
--- Comment #2 from Olaf Hering ---
Thanks. This will probably help.
The local change I have done looks like that:
--- /sbin/installkernel 2017-02-26 17:08:43.000000000 +0100
+++ /sbin/installkernel~ 2016-11-15 13:35:50.712360443 +0100
@@ -64,8 +68,8 @@ if [ -f $INSTALL_PATH/System.map-$KERNEL
fi
-if [ -f $INSTALL_PATH/$CONFIGFILE ]; then
- mv $INSTALL_PATH/$CONFIGFILE \
+if [ -f .config ] && [ -f $INSTALL_PATH/$CONFIGFILE ]; then
+ mv -v $INSTALL_PATH/$CONFIGFILE \
$INSTALL_PATH/$CONFIGFILE.old;
fi
@@ -75,7 +79,7 @@ fi
cp -fp $BOOTIMAGE $INSTALL_PATH/$BOOTFILE-$KERNEL_VERSION
cp -fp $MAPFILE $INSTALL_PATH/System.map-$KERNEL_VERSION
-cp -fp .config $INSTALL_PATH/$CONFIGFILE
+[ -f .config] && cp -fp .config $INSTALL_PATH/$CONFIGFILE
# If the kernel has module support, recreate modules.dep using depmod
I modified the global file, and my changes are overwritten after dracut update.
So the above might be incomplete. Have not built a kernel since then.
One part is that config.old needs to be handled somehow.
--
You are receiving this mail because:
You are on the CC list for the bug.