Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump fedora #203

Merged
merged 2 commits into from
Aug 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions boards/default/distros/fedora/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
RAWURL=http://fedora.riscv.rocks/kojifiles/work/tasks/944/320944/Fedora-Developer-Rawhide-20200108.n.0-sda.raw.xz
RAWURL=https://dl.fedoraproject.org/pub/alt/risc-v/repo/virt-builder-images/images/Fedora-Minimal-Rawhide-20191123.n.1-sda.raw.xz
COMPIMG=rootfs.img.xz
NEWIMG=rootfs.img

# Extract root partition without partition table
# NOTE: Offset must be adjusted for different base image
$(NEWIMG): $(COMPIMG)
xzcat -k $(COMPIMG) | dd of=$(NEWIMG) bs=512 skip=1007616
xzcat -k $(COMPIMG) | dd of=$(NEWIMG) bs=512 skip=1249280

$(COMPIMG):
curl $(RAWURL) -o $(COMPIMG)
Expand Down
1 change: 1 addition & 0 deletions boards/firechip/base-workloads/fedora-base.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name" : "fedora-base",
"guest-init": "initRepos.sh",
"distro" : {
"name" : "fedora",
"opts" : {}
Expand Down
3 changes: 3 additions & 0 deletions boards/firechip/base-workloads/fedora-base/initRepos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
dnf makecache
poweroff