Compare commits
No commits in common. "6c0c1cdde5a775cabc0b7611d6055fea1f202b8b" and "ca65be1bdbdd613e58baf35d518893945c3dfade" have entirely different histories.
6c0c1cdde5
...
ca65be1bdb
|
@ -13,7 +13,7 @@ rootpw --plaintext fedora_rocks!
|
|||
firewall --enabled --ssh
|
||||
timezone --utc US/Eastern
|
||||
selinux --enforcing
|
||||
services --disabled=lm_sensors,libvirtd
|
||||
services --enabled=sshd,NetworkManager,chronyd,haveged --disabled=lm_sensors,libvirtd
|
||||
|
||||
zerombr
|
||||
clearpart --all --initlabel --disklabel=gpt
|
||||
|
@ -38,14 +38,15 @@ poweroff
|
|||
@development-tools
|
||||
@anaconda-tools
|
||||
|
||||
# GRUB2
|
||||
# This is needed for appliance-tools, as it cannot see what packages are incl.
|
||||
# in the @anaconda-tools.
|
||||
grub2-efi-riscv64
|
||||
grub2-efi-riscv64-modules
|
||||
efibootmgr
|
||||
|
||||
# Add for sd-boot
|
||||
#systemd-boot-unsigned
|
||||
#edk2-ext4
|
||||
# systemd-boot-unsigned
|
||||
# edk2-ext4
|
||||
|
||||
kernel
|
||||
kernel-core
|
||||
|
@ -60,17 +61,14 @@ uboot-images-riscv64
|
|||
dracut-config-generic
|
||||
-dracut-config-rescue
|
||||
|
||||
# For user creation and manipulation
|
||||
shadow-utils
|
||||
passwd
|
||||
|
||||
# Adding kiwi for disk image generation
|
||||
kiwi-cli
|
||||
|
||||
# Install the English locale, but not all the other ones
|
||||
openssh
|
||||
openssh-server
|
||||
glibc-langpack-en
|
||||
-glibc-all-langpacks
|
||||
|
||||
glibc-static
|
||||
lsof
|
||||
nano
|
||||
|
@ -254,6 +252,10 @@ haveged
|
|||
# end of gcc packages
|
||||
watchdog
|
||||
|
||||
# No longer in @core since 2018-10, but needed for livesys script
|
||||
initscripts
|
||||
chkconfig
|
||||
|
||||
# Lets resize / on first boot
|
||||
#dracut-modules-growroot
|
||||
|
||||
|
@ -421,11 +423,32 @@ dnf -y remove dracut-config-generic
|
|||
# and mounting processes. This should help on systems where boot takes longer.
|
||||
sed -i 's|noatime|noatime,x-systemd.device-timeout=300s,x-systemd.mount-timeout=300s|g' /etc/fstab
|
||||
|
||||
# Create regular user
|
||||
/usr/sbin/useradd -c "Fedora RISCV User" riscv
|
||||
echo fedora_rocks! | passwd --stdin riscv
|
||||
/usr/sbin/usermod -aG wheel riscv
|
||||
/usr/sbin/usermod -aG mock riscv
|
||||
# Fedora 31
|
||||
# https://fedoraproject.org/wiki/Changes/DisableRootPasswordLoginInSshd
|
||||
cat > /etc/rc.d/init.d/livesys << EOF
|
||||
#!/bin/bash
|
||||
#
|
||||
# live: Init script for live image
|
||||
#
|
||||
# chkconfig: 345 00 99
|
||||
# description: Init script for live image.
|
||||
### BEGIN INIT INFO
|
||||
# X-Start-Before: display-manager chronyd
|
||||
### END INIT INFO
|
||||
|
||||
. /etc/rc.d/init.d/functions
|
||||
|
||||
useradd -c "Fedora RISCV User" riscv
|
||||
echo fedora_rocks! | passwd --stdin riscv > /dev/null
|
||||
usermod -aG wheel riscv > /dev/null
|
||||
usermod -aG mock riscv > /dev/null
|
||||
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
chmod 755 /etc/rc.d/init.d/livesys
|
||||
/sbin/restorecon /etc/rc.d/init.d/livesys
|
||||
/sbin/chkconfig --add livesys
|
||||
|
||||
# Create Fedora RISC-V repo
|
||||
cat << EOF > /etc/yum.repos.d/fedora-riscv.repo
|
||||
|
@ -512,9 +535,6 @@ 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*
|
||||
|
||||
# Start with a clean dnf history
|
||||
rm -rf /var/lib/dnf/history.*
|
||||
|
||||
# go ahead and pre-make the man -k cache (#455968)
|
||||
/usr/bin/mandb
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ rootpw --plaintext fedora_rocks!
|
|||
firewall --enabled --ssh
|
||||
timezone --utc US/Eastern
|
||||
selinux --enforcing
|
||||
services --disabled=lm_sensors,libvirtd
|
||||
services --enabled=sshd,NetworkManager,chronyd,haveged
|
||||
|
||||
zerombr
|
||||
ignoredisk --only-use=vda
|
||||
|
@ -33,8 +33,10 @@ poweroff
|
|||
%packages
|
||||
@core
|
||||
@hardware-support
|
||||
#@anaconda-tools
|
||||
|
||||
# GRUB2
|
||||
# This is needed for appliance-tools, as it cannot see what packages are incl.
|
||||
# in the @anaconda-tools.
|
||||
-grub2-efi-riscv64
|
||||
-grub2-efi-riscv64-modules
|
||||
-grub2-tools-minimal
|
||||
|
@ -42,6 +44,7 @@ poweroff
|
|||
-grub2-tools
|
||||
-grub2-efi-riscv64-cdboot
|
||||
-grub2-common
|
||||
|
||||
efibootmgr
|
||||
|
||||
# Add for sd-boot
|
||||
|
@ -60,19 +63,20 @@ uboot-images-riscv64
|
|||
dracut-config-generic
|
||||
-dracut-config-rescue
|
||||
|
||||
# For user creation and manipulation
|
||||
shadow-utils
|
||||
passwd
|
||||
|
||||
# Install the English locale, but not all the other ones
|
||||
openssh
|
||||
openssh-server
|
||||
glibc-langpack-en
|
||||
-glibc-all-langpacks
|
||||
|
||||
nano
|
||||
chrony
|
||||
haveged
|
||||
watchdog
|
||||
|
||||
# No longer in @core since 2018-10, but needed for livesys script
|
||||
initscripts
|
||||
chkconfig
|
||||
|
||||
# Lets resize / on first boot
|
||||
#dracut-modules-growroot
|
||||
|
||||
|
@ -99,11 +103,32 @@ dnf -y remove dracut-config-generic
|
|||
# and mounting processes. This should help on systems where boot takes longer.
|
||||
sed -i 's|noatime|noatime,x-systemd.device-timeout=300s,x-systemd.mount-timeout=300s|g' /etc/fstab
|
||||
|
||||
# Create regular user
|
||||
/usr/sbin/useradd -c "Fedora RISCV User" riscv
|
||||
echo fedora_rocks! | passwd --stdin riscv
|
||||
/usr/sbin/usermod -aG wheel riscv
|
||||
/usr/sbin/usermod -aG mock riscv
|
||||
# Fedora 31
|
||||
# https://fedoraproject.org/wiki/Changes/DisableRootPasswordLoginInSshd
|
||||
cat > /etc/rc.d/init.d/livesys << EOF
|
||||
#!/bin/bash
|
||||
#
|
||||
# live: Init script for live image
|
||||
#
|
||||
# chkconfig: 345 00 99
|
||||
# description: Init script for live image.
|
||||
### BEGIN INIT INFO
|
||||
# X-Start-Before: display-manager chronyd
|
||||
### END INIT INFO
|
||||
|
||||
. /etc/rc.d/init.d/functions
|
||||
|
||||
useradd -c "Fedora RISCV User" riscv
|
||||
echo fedora_rocks! | passwd --stdin riscv > /dev/null
|
||||
usermod -aG wheel riscv > /dev/null
|
||||
usermod -aG mock riscv > /dev/null
|
||||
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
chmod 755 /etc/rc.d/init.d/livesys
|
||||
/sbin/restorecon /etc/rc.d/init.d/livesys
|
||||
/sbin/chkconfig --add livesys
|
||||
|
||||
# Create Fedora RISC-V repo
|
||||
cat << EOF > /etc/yum.repos.d/fedora-riscv.repo
|
||||
|
@ -190,9 +215,6 @@ 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*
|
||||
|
||||
# Start with a clean dnf history
|
||||
rm -rf /var/lib/dnf/history.*
|
||||
|
||||
# go ahead and pre-make the man -k cache (#455968)
|
||||
/usr/bin/mandb
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ rootpw --plaintext fedora_rocks!
|
|||
firewall --enabled --ssh
|
||||
timezone --utc US/Eastern
|
||||
selinux --enforcing
|
||||
services --disabled=lm_sensors,libvirtd
|
||||
services --enabled=sshd,NetworkManager,chronyd,haveged
|
||||
|
||||
zerombr
|
||||
clearpart --all --initlabel --disklabel=gpt
|
||||
|
@ -32,15 +32,17 @@ poweroff
|
|||
%packages
|
||||
@core
|
||||
@hardware-support
|
||||
@anaconda-tools
|
||||
|
||||
# GRUB2
|
||||
# This is needed for appliance-tools, as it cannot see what packages are incl.
|
||||
# in the @anaconda-tools.
|
||||
grub2-efi-riscv64
|
||||
grub2-efi-riscv64-modules
|
||||
efibootmgr
|
||||
# efibootmgr
|
||||
|
||||
# Add for sd-boot
|
||||
#systemd-boot-unsigned
|
||||
#edk2-ext4
|
||||
systemd-boot-unsigned
|
||||
# edk2-ext4
|
||||
|
||||
# python3-virt-firmware
|
||||
|
||||
|
@ -57,19 +59,20 @@ uboot-images-riscv64
|
|||
dracut-config-generic
|
||||
-dracut-config-rescue
|
||||
|
||||
# For user creation and manipulation
|
||||
shadow-utils
|
||||
passwd
|
||||
|
||||
# Install the English locale, but not all the other ones
|
||||
openssh
|
||||
openssh-server
|
||||
glibc-langpack-en
|
||||
-glibc-all-langpacks
|
||||
|
||||
nano
|
||||
chrony
|
||||
haveged
|
||||
watchdog
|
||||
|
||||
# No longer in @core since 2018-10, but needed for livesys script
|
||||
initscripts
|
||||
chkconfig
|
||||
|
||||
# Lets resize / on first boot
|
||||
#dracut-modules-growroot
|
||||
|
||||
|
@ -96,11 +99,32 @@ dnf -y remove dracut-config-generic
|
|||
# and mounting processes. This should help on systems where boot takes longer.
|
||||
sed -i 's|noatime|noatime,x-systemd.device-timeout=300s,x-systemd.mount-timeout=300s|g' /etc/fstab
|
||||
|
||||
# Create regular user
|
||||
/usr/sbin/useradd -c "Fedora RISCV User" riscv
|
||||
echo fedora_rocks! | passwd --stdin riscv
|
||||
/usr/sbin/usermod -aG wheel riscv
|
||||
/usr/sbin/usermod -aG mock riscv
|
||||
# Fedora 31
|
||||
# https://fedoraproject.org/wiki/Changes/DisableRootPasswordLoginInSshd
|
||||
cat > /etc/rc.d/init.d/livesys << EOF
|
||||
#!/bin/bash
|
||||
#
|
||||
# live: Init script for live image
|
||||
#
|
||||
# chkconfig: 345 00 99
|
||||
# description: Init script for live image.
|
||||
### BEGIN INIT INFO
|
||||
# X-Start-Before: display-manager chronyd
|
||||
### END INIT INFO
|
||||
|
||||
. /etc/rc.d/init.d/functions
|
||||
|
||||
useradd -c "Fedora RISCV User" riscv
|
||||
echo fedora_rocks! | passwd --stdin riscv > /dev/null
|
||||
usermod -aG wheel riscv > /dev/null
|
||||
usermod -aG mock riscv > /dev/null
|
||||
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
chmod 755 /etc/rc.d/init.d/livesys
|
||||
/sbin/restorecon /etc/rc.d/init.d/livesys
|
||||
/sbin/chkconfig --add livesys
|
||||
|
||||
# Create Fedora RISC-V repo
|
||||
cat << EOF > /etc/yum.repos.d/fedora-riscv.repo
|
||||
|
@ -187,9 +211,6 @@ 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*
|
||||
|
||||
# Start with a clean dnf history
|
||||
rm -rf /var/lib/dnf/history.*
|
||||
|
||||
# go ahead and pre-make the man -k cache (#455968)
|
||||
/usr/bin/mandb
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ rootpw --plaintext fedora_rocks!
|
|||
firewall --enabled --ssh
|
||||
timezone --utc US/Eastern
|
||||
selinux --enforcing
|
||||
services --disabled=lm_sensors,libvirtd
|
||||
services --enabled=sshd,NetworkManager,chronyd,haveged
|
||||
|
||||
zerombr
|
||||
clearpart --all --initlabel --disklabel=gpt
|
||||
|
@ -32,15 +32,15 @@ poweroff
|
|||
%packages
|
||||
@core
|
||||
@hardware-support
|
||||
@anaconda-tools
|
||||
|
||||
# GRUB2
|
||||
# This is needed for appliance-tools, as it cannot see what packages are incl.
|
||||
# in the @anaconda-tools.
|
||||
grub2-efi-riscv64
|
||||
grub2-efi-riscv64-modules
|
||||
efibootmgr
|
||||
|
||||
# Add for sd-boot
|
||||
#systemd-boot-unsigned
|
||||
#edk2-ext4
|
||||
systemd-boot-unsigned
|
||||
|
||||
kernel
|
||||
kernel-core
|
||||
|
@ -53,19 +53,20 @@ uboot-images-riscv64
|
|||
dracut-config-generic
|
||||
-dracut-config-rescue
|
||||
|
||||
# For user creation and manipulation
|
||||
shadow-utils
|
||||
passwd
|
||||
|
||||
# Install the English locale, but not all the other ones
|
||||
openssh
|
||||
openssh-server
|
||||
glibc-langpack-en
|
||||
-glibc-all-langpacks
|
||||
|
||||
nano
|
||||
chrony
|
||||
haveged
|
||||
watchdog
|
||||
|
||||
# No longer in @core since 2018-10, but needed for livesys script
|
||||
initscripts
|
||||
chkconfig
|
||||
|
||||
# Lets resize / on first boot
|
||||
#dracut-modules-growroot
|
||||
|
||||
|
@ -92,11 +93,32 @@ dnf -y remove dracut-config-generic
|
|||
# and mounting processes. This should help on systems where boot takes longer.
|
||||
sed -i 's|noatime|noatime,x-systemd.device-timeout=300s,x-systemd.mount-timeout=300s|g' /etc/fstab
|
||||
|
||||
# Create regular user
|
||||
/usr/sbin/useradd -c "Fedora RISCV User" riscv
|
||||
echo fedora_rocks! | passwd --stdin riscv
|
||||
/usr/sbin/usermod -aG wheel riscv
|
||||
/usr/sbin/usermod -aG mock riscv
|
||||
# Fedora 31
|
||||
# https://fedoraproject.org/wiki/Changes/DisableRootPasswordLoginInSshd
|
||||
cat > /etc/rc.d/init.d/livesys << EOF
|
||||
#!/bin/bash
|
||||
#
|
||||
# live: Init script for live image
|
||||
#
|
||||
# chkconfig: 345 00 99
|
||||
# description: Init script for live image.
|
||||
### BEGIN INIT INFO
|
||||
# X-Start-Before: display-manager chronyd
|
||||
### END INIT INFO
|
||||
|
||||
. /etc/rc.d/init.d/functions
|
||||
|
||||
useradd -c "Fedora RISCV User" riscv
|
||||
echo fedora_rocks! | passwd --stdin riscv > /dev/null
|
||||
usermod -aG wheel riscv > /dev/null
|
||||
usermod -aG mock riscv > /dev/null
|
||||
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
chmod 755 /etc/rc.d/init.d/livesys
|
||||
/sbin/restorecon /etc/rc.d/init.d/livesys
|
||||
/sbin/chkconfig --add livesys
|
||||
|
||||
# Create Fedora RISC-V repo
|
||||
cat << EOF > /etc/yum.repos.d/fedora-riscv.repo
|
||||
|
@ -183,9 +205,6 @@ 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*
|
||||
|
||||
# Start with a clean dnf history
|
||||
rm -rf /var/lib/dnf/history.*
|
||||
|
||||
# go ahead and pre-make the man -k cache (#455968)
|
||||
/usr/bin/mandb
|
||||
|
||||
|
|
Loading…
Reference in New Issue