config.sh: Drop fixboot Anaconda scriptlet
We should no longer need this because kiwi has been adjusted to delete this file before finalizing the image.
This commit is contained in:
parent
3a2e2397f3
commit
9cc3ccd1d9
14
config.sh
14
config.sh
@ -93,20 +93,6 @@ if [[ "$kiwi_profiles" == *"Live"* ]]; then
|
|||||||
if [[ "$kiwi_profiles" == *"Xfce"* ]]; then
|
if [[ "$kiwi_profiles" == *"Xfce"* ]]; then
|
||||||
echo 'livesys_session="xfce"' > /etc/sysconfig/livesys
|
echo 'livesys_session="xfce"' > /etc/sysconfig/livesys
|
||||||
fi
|
fi
|
||||||
# We are having problems with dracut not working on Live installs
|
|
||||||
# Put in a anaconda post-script to fix it
|
|
||||||
cat > /usr/share/anaconda/post-scripts/85-fixboot.ks << FIXBOOT_EOF
|
|
||||||
%post
|
|
||||||
|
|
||||||
echo "Fixing, and re-running dracut"
|
|
||||||
|
|
||||||
/usr/bin/sed -i "s/dmsquash-live livenet //" /etc/dracut.conf.d/02-livecd.conf
|
|
||||||
/usr/bin/dracut -v --regenerate-all --force
|
|
||||||
|
|
||||||
echo "initramfs now installed"
|
|
||||||
|
|
||||||
%end
|
|
||||||
FIXBOOT_EOF
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#======================================
|
#======================================
|
||||||
|
Loading…
Reference in New Issue
Block a user