1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-26 00:53:09 +00:00

Add zram package and enable initial support

As part of the ZRAM on ARM feature add support and enable zram service.

https://fedoraproject.org/wiki/Changes/ZRAMforARMimages

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
This commit is contained in:
Peter Robinson 2018-07-19 11:54:38 +01:00
parent 00d745bd6c
commit 66d587dc54
6 changed files with 11 additions and 10 deletions

View File

@ -8,13 +8,12 @@ bootloader --location=mbr
part /boot/fw --size=30 --fstype vfat --asprimary part /boot/fw --size=30 --fstype vfat --asprimary
part /boot --size=512 --fstype ext4 --asprimary part /boot --size=512 --fstype ext4 --asprimary
part swap --size=512 --fstype swap --asprimary
part / --size=2800 --fstype ext4 --asprimary part / --size=2800 --fstype ext4 --asprimary
# make sure that initial-setup runs and lets us do all the configuration bits # make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig firstboot --reconfig
services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup services --enabled=sshd,NetworkManager,avahi-daemon,chronyd,initial-setup,zram-swap
%include fedora-repo.ks %include fedora-repo.ks
@ -22,6 +21,7 @@ services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setu
@core @core
@standard @standard
@hardware-support @hardware-support
zram
kernel kernel
# remove this in %post # remove this in %post

View File

@ -14,7 +14,7 @@ timezone US/Eastern
auth --useshadow --passalgo=sha512 auth --useshadow --passalgo=sha512
selinux --enforcing selinux --enforcing
firewall --enabled --service=mdns firewall --enabled --service=mdns
services --enabled=sshd,NetworkManager,chronyd services --enabled=sshd,NetworkManager,chronyd,zram-swap
network --bootproto=dhcp --device=link --activate network --bootproto=dhcp --device=link --activate
rootpw --lock --iscrypted locked rootpw --lock --iscrypted locked
shutdown shutdown
@ -33,6 +33,7 @@ firstboot --reconfig
@core @core
@standard @standard
@hardware-support @hardware-support
zram
kernel kernel
# remove this in %post # remove this in %post

View File

@ -1,9 +1,9 @@
%include fedora-disk-base.ks %include fedora-disk-base.ks
%include fedora-minimal-common.ks %include fedora-minimal-common.ks
services --enabled=sshd,NetworkManager,chronyd,initial-setup services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
autopart --type=plain autopart --type=plain --noswap
%packages %packages
-xkeyboard-config -xkeyboard-config

View File

@ -1,8 +1,8 @@
%include fedora-disk-base.ks %include fedora-disk-base.ks
services --enabled=sshd,NetworkManager,chronyd,initial-setup services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
autopart autopart --noswap
%packages %packages
# install the default groups for the server environment since installing the environment is not working # install the default groups for the server environment since installing the environment is not working

View File

@ -4,9 +4,9 @@
bootloader --append="cma=256MB" bootloader --append="cma=256MB"
services --enabled=sshd,NetworkManager,chronyd services --enabled=sshd,NetworkManager,chronyd,zram-swap
autopart --type=plain autopart --type=plain --noswap
%packages %packages
-initial-setup -initial-setup

View File

@ -13,7 +13,7 @@ rootpw --lock --iscrypted locked
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8 console=ttyS1,115200n8 console=ttyAMA0,115200n8 net.ifnames=0 modprobe.blacklist=vc4" bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8 console=ttyS1,115200n8 console=ttyAMA0,115200n8 net.ifnames=0 modprobe.blacklist=vc4"
network --bootproto=dhcp --device=link --activate --onboot=on network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=NetworkManager,sshd,rngd,initial-setup services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
# tell Initial Setup to run in the reconfig mode # tell Initial Setup to run in the reconfig mode
firstboot --reconfig --enable firstboot --reconfig --enable