Fix packages installed on KDE Mobile Live
Fix boot after install for all Live builds Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
parent
64e7bc2e03
commit
a0134369eb
@ -26,10 +26,7 @@
|
|||||||
</packages>
|
</packages>
|
||||||
<packages type="image" patternType="plusRecommended" profiles="KDE-Mobile">
|
<packages type="image" patternType="plusRecommended" profiles="KDE-Mobile">
|
||||||
<!-- install env-group to resolve RhBug:1891500 -->
|
<!-- install env-group to resolve RhBug:1891500 -->
|
||||||
<namedCollection name="core"/>
|
<namedCollection name="kde-mobile-environment"/>
|
||||||
<namedCollection name="kde-mobile"/>
|
|
||||||
<namedCollection name="kde-mobile-apps"/>
|
|
||||||
<namedCollection name="kde-spin-initial-setup"/>
|
|
||||||
<namedCollection name="firefox"/>
|
<namedCollection name="firefox"/>
|
||||||
<package name="fuse"/>
|
<package name="fuse"/>
|
||||||
<package name="kde-l10n"/>
|
<package name="kde-l10n"/>
|
||||||
|
14
config.sh
14
config.sh
@ -93,6 +93,20 @@ 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…
x
Reference in New Issue
Block a user