Commit Graph

104 Commits

Author SHA1 Message Date
David Abdurachmanov 88dfe1d0a9
Add watchdog package
For SiFive HiFive Unmatched DA9063 PMIC WDT (only shutdown, not reset).

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-07-25 22:23:55 +02:00
David Abdurachmanov 2dd483e125
Replace libguestfs-tools-c with guestfs-tools
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-07-25 22:22:41 +02:00
David Abdurachmanov 01b4824e57
Add realtime-tests
Add a new package for testing the system.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-07-05 09:43:24 +03:00
David Abdurachmanov 6ad1611aff
Add more Koji plugins for future use
The main plugins used by upstream Fedora Koji infra right now
(F36 timeframe):

roles/koji_builder/templates/kojid.conf:{{ plugins.append("runroot") }}
roles/koji_builder/templates/kojid.conf:{{ plugins.append("save_failed_tree") }}
roles/koji_builder/templates/kojid.conf:{{ plugins.append("builder_containerbuild") }}
roles/koji_builder/templates/kojid.conf:{{ plugins.append("rpmautospec_builder") }}

Taken from https://pagure.io/fedora-infra/ansible.git

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2021-11-07 13:10:13 +02:00
David Abdurachmanov 9c61408688
Adjust boot fragments
SiFive FSBL is no more. Replaced by U-Boot SPL.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2021-01-07 18:23:50 +02:00
David Abdurachmanov 150c372a59
Add flashrom package
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2021-01-06 13:37:25 +02:00
David Abdurachmanov d2f70450a4
Add bloaty
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-12-29 08:37:04 +02:00
David Abdurachmanov a895c4eb0e
Add more packages
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-12-15 14:40:04 +02:00
David Abdurachmanov 6397993beb
Add packages suggested by GCC Farm (Baptiste Jonglez)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-12-08 07:16:09 +02:00
David Abdurachmanov 3c6cc68762
Disable SELinux (rpmdb)
setfiles: Could not set context for /usr/bin/rpmdb:  Invalid argument

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-12-07 08:50:43 +02:00
David Abdurachmanov aa1bb39d7a
Expand default package list
Based on feedback on what developers want.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-12-05 12:04:08 +02:00
David Abdurachmanov c2eb58eff5
Enable libguestfs-tools-c again
QEMU, libvirt and libguestfs is now rebuilt.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-12-05 11:35:00 +02:00
David Abdurachmanov 8c09aa312f
Remove libguestfs-tools-c for now
We cannot rebuild the package as it depends on QEMU/libvirt KVM suppoort
which we don't have. We are discussing how to resolve it.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-12-04 07:38:44 +02:00
David Abdurachmanov 5ee87e9705
Replace dejavu-fonts-common with dejavu-fonts-all
DEBUG util.py:596:  Unable to create appliance : Failed to find package 'dejavu-fonts-common' : No match for argument: dejavu-fonts-common

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-11-30 21:02:18 +02:00
David Abdurachmanov 0dba905b97
Add new tools (I2C, SPI, GPIO and NBD)
Add tools to access SOC features such as I2C, SPI and GPIO.

Add nbd as requested by rwmjones.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-03-23 14:16:10 +02:00
David Abdurachmanov 2f888e7761
Add ddrescure, glances and python3-psutil
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-12-23 18:22:17 +02:00
David Abdurachmanov 3642552f6c
Disable libvirtd
This does not need to be running at boot. This also causes issues
with guest networking in some cases. This should stop libvirtd
from brining up the networking.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-12-23 18:19:14 +02:00
David Abdurachmanov 28664726f4
Import some changes from Minimal
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-23 12:44:08 +02:00
David Abdurachmanov d3aadc6d27
Set SELinux to enforcing
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-22 10:09:00 +02:00
David Abdurachmanov 46120c4555
Add NetworkManager-tui and cheat
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-16 11:40:52 +02:00
David Abdurachmanov 6f90f2710e
Add xz
All disk images from virt-builder are provided with xz compression.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-16 07:40:12 +02:00
David Abdurachmanov 834f2952b1
Add zstd
Fedora/RISCV disk images are compressed with zstd thus ensure we have
the tool to uncompress them.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-16 07:38:36 +02:00
David Abdurachmanov e436638ac6
Add nbdkit
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-15 07:39:17 +02:00
David Abdurachmanov 9287d0b546
Add fuse-sshfs
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-13 13:44:21 +02:00
David Abdurachmanov 944d5cbabf
Add BRs for a number of packages (kernel, gcc, glibc, etc.)
This adds another 950M to rootfs (mostly by two packages: glibc language
packages and texlive). BRs for:

- bash
- binutils
- coreutils
- gcc
- gdb
- glibc
- kernel
- rpm
- util-linux

are added.

This ensures we can rebuild critical packages even if repositories
go away.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-08 17:04:29 +02:00
David Abdurachmanov 684e2c9e11
Add iperf3, sysstat, fio, memtester
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-08 16:21:31 +02:00
David Abdurachmanov 5676cf11f5
Add cloud-utils-growpart
This allows an easy way to resize partitions.

See: https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi#Resize_after_initial-setup

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-08 15:27:11 +02:00
David Abdurachmanov 0ffe095969
Add dnscrypt-proxy and meson
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-08 09:18:56 +02:00
David Abdurachmanov 8389944248
Change password and add livesys script
Change password to fedora_rocks! and add livesys script (based on
fedora-live-base.ks)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-10-30 18:42:05 +02:00
David Abdurachmanov 792fbaa6d4
Remove BBL
We are only using OpenSBI now.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-10-23 15:04:14 +03:00
David Abdurachmanov 9d008b4028
Fix creation of riscv user
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-10-23 14:32:06 +03:00
David Abdurachmanov 155b2117b5
Disable SELinux
Problems continue, but this time a different file:

[..]
31k
32ksetfiles: Could not set context for /usr/lib/systemd/user/dbus-broker.service:  Invalid argument
DEBUG util.py:556:
/ 100.0%
[..]

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-10-03 11:27:08 +03:00
David Abdurachmanov 5f97fbb0d3
SELinux should be --enforcing
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-10-03 09:17:54 +03:00
David Abdurachmanov 5711f1e160
Enable SELinux
Let's see if SELinux labeling works now.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-10-02 20:41:18 +03:00
David Abdurachmanov cf6f7285c6
Change password to 'fedora_riscv'
For some reason passwd is now strict on checking password for root account.
Change all passwords to fedora_riscv, which seems to work fine.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-09-30 17:05:10 +03:00
David Abdurachmanov 77a5c2411f
Add riscv user in wheel group
Keep the password simple -- riscv.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-09-30 12:24:59 +03:00
David Abdurachmanov c3a97060ef
Replace domain with a new one: fedora.riscv.rocks
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-09-27 00:42:26 +02:00
David Abdurachmanov a50f1b6663
Install ZSBL and FSBL firmware blobs for SiFive FU540
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-08-25 12:58:58 -07:00
David Abdurachmanov 89f09da48e
Disable SELinux until we can fix issues
Disks images are failing with:

setfiles: Could not set context for /usr/sbin/timedatex:  Invalid argument

This needs to be tested once disk image is available.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-08-23 12:11:50 -07:00
David Abdurachmanov d3ac85b9cc
Add haveged
This ensures we have enough entropy after booting on the board otherwise
we might not be able to SSH immediately.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-08-22 16:19:13 -07:00
David Abdurachmanov abdd7879d7
Remove python2 packages
We are no Python 3 by default.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-08-21 12:14:51 -07:00
David Abdurachmanov 93f7bb3d1f
Add usbutils
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-08-15 19:59:37 -07:00
David Abdurachmanov ff289ee9ae
Disable lm_sensors service
In QEMU setup we have no sensors available thus disable the server
to the service failing at boot time.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-06-26 09:36:39 +03:00
David Abdurachmanov fc58e4ba3a
Add inxi
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-06-25 08:38:28 +03:00
David Abdurachmanov 9f31a374fc
Add tools from kernel-tools package
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-04-13 16:23:01 +02:00
David Abdurachmanov 1c7ebef588
Ensure that non-SMP (single core) boots have time to detect devices
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-04-05 17:28:16 +02:00
David Abdurachmanov 8250c9dc8e
Set SELinux to --enforcing
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-04-02 16:25:57 +02:00
David Abdurachmanov e976377ddb
Add OpenSBI + U-Boot (S mode) firmware
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-03-30 23:04:24 +01:00
David Abdurachmanov c3e057c1c9
Add uboot-tools and riscv64 images
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-03-27 00:42:19 +01:00
David Abdurachmanov 1d8666f5f5
Attempt to use extlinux-bootloader
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-03-26 16:39:21 +01:00