Update F37 Developer disk image
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
8ff595bfcc
commit
566d7bad7a
|
@ -8,11 +8,11 @@ text
|
|||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
# short hostname still allows DHCP to assign domain name
|
||||
network --bootproto dhcp --device=link --hostname=fedora-riscv
|
||||
network --bootproto dhcp --device=link --hostname=fedora-riscv --activate
|
||||
rootpw --plaintext fedora_rocks!
|
||||
firewall --enabled --ssh
|
||||
timezone --utc America/New_York
|
||||
selinux --disabled
|
||||
timezone --utc US/Eastern
|
||||
selinux --enforcing
|
||||
services --enabled=sshd,NetworkManager,chronyd,haveged --disabled=lm_sensors,libvirtd
|
||||
|
||||
bootloader --location=none --extlinux
|
||||
|
@ -202,7 +202,6 @@ libgpiod-devel
|
|||
libgpiod-utils
|
||||
python3-libgpiod
|
||||
i2c-tools
|
||||
i2c-tools-eepromer
|
||||
i2c-tools-perl
|
||||
libi2c
|
||||
libi2c-devel
|
||||
|
@ -500,6 +499,17 @@ touch /etc/machine-id
|
|||
# remove random seed, the newly installed instance should make it's own
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# The enp1s0 interface is a left over from the imagefactory install, clean this up
|
||||
rm -f /etc/NetworkManager/system-connections/*.nmconnection
|
||||
|
||||
releasever=$(rpm --eval '%{fedora}')
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
||||
echo "Packages within this disk image"
|
||||
rpm -qa --qf '%{size}\t%{name}-%{version}-%{release}.%{arch}\n' |sort -rn
|
||||
|
||||
%end
|
||||
|
||||
# EOF
|
||||
|
|
Loading…
Reference in New Issue