mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-23 23:53:08 +00:00
Compare commits
3 Commits
1a41824efe
...
6f645b8388
Author | SHA1 | Date | |
---|---|---|---|
|
6f645b8388 | ||
|
fde0309298 | ||
|
883f4efa8e |
5
fedora-disk-phosh.ks
Normal file
5
fedora-disk-phosh.ks
Normal file
@ -0,0 +1,5 @@
|
||||
%include fedora-disk-base.ks
|
||||
%include fedora-disk-xbase.ks
|
||||
%include fedora-phosh-common.ks
|
||||
|
||||
autopart --type=btrfs --noswap
|
13
fedora-phosh-common.ks
Normal file
13
fedora-phosh-common.ks
Normal file
@ -0,0 +1,13 @@
|
||||
# fedora-phosh-common.ks
|
||||
#
|
||||
# Description:
|
||||
# - Fedora Disk image Spin with the phosh window manager
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Kevin Fenzi <kevin@scrye.com>
|
||||
|
||||
%packages
|
||||
# install env-group to resolve RhBug:1891500
|
||||
@^phosh-desktop-environment
|
||||
|
||||
%end
|
@ -78,7 +78,8 @@ cat /etc/fedora-release >> /boot/olpc_build
|
||||
# Rebuild initrd for Sugar boot screen
|
||||
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||
/usr/sbin/plymouth-set-default-theme sugar
|
||||
dracut -N -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
sed -i -r 's/(omit_dracutmodules\+\=.*) plymouth (.*)/\1 \2/' /etc/dracut.conf.d/99-liveos.conf
|
||||
dracut --force-add plymouth -N -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
@ -109,3 +110,14 @@ EOF
|
||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
%end
|
||||
|
||||
%post --nochroot
|
||||
|
||||
for n in initramfs initrd; do
|
||||
for img in "$LIVE_ROOT/images/pxeboot/$n"* ; do
|
||||
[ -e "$img" ] && cp -a "$INSTALL_ROOT"/boot/initramfs-*.img "$img"
|
||||
done
|
||||
done
|
||||
|
||||
%end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user