Add riscv64 support
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
0fa02ec972
commit
59579becae
|
@ -0,0 +1,423 @@
|
|||
From 8a6690614f8d6c26e1de65bbab0654704ba649d3 Mon Sep 17 00:00:00 2001
|
||||
From: David Abdurachmanov <davidlt@rivosinc.com>
|
||||
Date: Fri, 22 Mar 2024 15:50:29 +0000
|
||||
Subject: [PATCH] Add riscv64
|
||||
|
||||
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
|
||||
|
||||
diff --git a/share/templates.d/99-generic/config_files/riscv64/boot.msg b/share/templates.d/99-generic/config_files/riscv64/boot.msg
|
||||
new file mode 100644
|
||||
index 0000000..ff54899
|
||||
--- /dev/null
|
||||
+++ b/share/templates.d/99-generic/config_files/riscv64/boot.msg
|
||||
@@ -0,0 +1,5 @@
|
||||
+
|
||||
+splash.lss
|
||||
+
|
||||
+ - Press the 01<ENTER>07 key to begin the installation process.
|
||||
+
|
||||
diff --git a/share/templates.d/99-generic/config_files/riscv64/grub2-efi.cfg b/share/templates.d/99-generic/config_files/riscv64/grub2-efi.cfg
|
||||
new file mode 100644
|
||||
index 0000000..1ce5d33
|
||||
--- /dev/null
|
||||
+++ b/share/templates.d/99-generic/config_files/riscv64/grub2-efi.cfg
|
||||
@@ -0,0 +1,46 @@
|
||||
+set default="1"
|
||||
+
|
||||
+function load_video {
|
||||
+ if [ x$feature_all_video_module = xy ]; then
|
||||
+ insmod all_video
|
||||
+ else
|
||||
+ insmod efi_gop
|
||||
+ insmod efi_uga
|
||||
+ insmod ieee1275_fb
|
||||
+ insmod vbe
|
||||
+ insmod vga
|
||||
+ insmod video_bochs
|
||||
+ insmod video_cirrus
|
||||
+ fi
|
||||
+}
|
||||
+
|
||||
+load_video
|
||||
+set gfxpayload=keep
|
||||
+insmod gzio
|
||||
+insmod part_gpt
|
||||
+insmod ext2
|
||||
+
|
||||
+set timeout=60
|
||||
+### END /etc/grub.d/00_header ###
|
||||
+
|
||||
+search --no-floppy --set=root -l '@ISOLABEL@'
|
||||
+
|
||||
+### BEGIN /etc/grub.d/10_linux ###
|
||||
+menuentry 'Install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
|
||||
+ linux @KERNELPATH@ @ROOT@ ro
|
||||
+ initrd @INITRDPATH@
|
||||
+}
|
||||
+menuentry 'Test this media & install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
|
||||
+ linux @KERNELPATH@ @ROOT@ rd.live.check
|
||||
+ initrd @INITRDPATH@
|
||||
+}
|
||||
+submenu 'Troubleshooting -->' {
|
||||
+ menuentry 'Install @PRODUCT@ @VERSION@ in basic graphics mode' --class red --class gnu-linux --class gnu --class os {
|
||||
+ linux @KERNELPATH@ @ROOT@ nomodeset
|
||||
+ initrd @INITRDPATH@
|
||||
+ }
|
||||
+ menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
|
||||
+ linux @KERNELPATH@ @ROOT@ inst.rescue
|
||||
+ initrd @INITRDPATH@
|
||||
+ }
|
||||
+}
|
||||
diff --git a/share/templates.d/99-generic/efi.tmpl b/share/templates.d/99-generic/efi.tmpl
|
||||
index 80600d2..4bf890f 100644
|
||||
--- a/share/templates.d/99-generic/efi.tmpl
|
||||
+++ b/share/templates.d/99-generic/efi.tmpl
|
||||
@@ -8,8 +8,7 @@ APPLE_EFI_DISKNAME=inroot+"/usr/share/pixmaps/bootloader/fedora-media.vol"
|
||||
mkdir ${EFIBOOTDIR}
|
||||
mkdir ${EFIBOOTDIR}/fonts/
|
||||
%if efiarch64:
|
||||
-install boot/efi/EFI/*/shim${efiarch64|lower}.efi ${EFIBOOTDIR}/BOOT${efiarch64}.EFI
|
||||
-install boot/efi/EFI/*/mm${efiarch64|lower}.efi ${EFIBOOTDIR}/
|
||||
+install boot/efi/EFI/*/gcd${efiarch64|lower}.efi ${EFIBOOTDIR}/BOOT${efiarch64}.EFI
|
||||
install boot/efi/EFI/*/gcd${efiarch64|lower}.efi ${EFIBOOTDIR}/grub${efiarch64|lower}.efi
|
||||
%endif
|
||||
%if efiarch32:
|
||||
diff --git a/share/templates.d/99-generic/live/config_files/riscv64/grub2-efi.cfg b/share/templates.d/99-generic/live/config_files/riscv64/grub2-efi.cfg
|
||||
new file mode 100644
|
||||
index 0000000..c874547
|
||||
--- /dev/null
|
||||
+++ b/share/templates.d/99-generic/live/config_files/riscv64/grub2-efi.cfg
|
||||
@@ -0,0 +1,42 @@
|
||||
+set default="1"
|
||||
+
|
||||
+function load_video {
|
||||
+ if [ x$feature_all_video_module = xy ]; then
|
||||
+ insmod all_video
|
||||
+ else
|
||||
+ insmod efi_gop
|
||||
+ insmod efi_uga
|
||||
+ insmod ieee1275_fb
|
||||
+ insmod vbe
|
||||
+ insmod vga
|
||||
+ insmod video_bochs
|
||||
+ insmod video_cirrus
|
||||
+ fi
|
||||
+}
|
||||
+
|
||||
+load_video
|
||||
+set gfxpayload=keep
|
||||
+insmod gzio
|
||||
+insmod part_gpt
|
||||
+insmod ext2
|
||||
+
|
||||
+set timeout=60
|
||||
+### END /etc/grub.d/00_header ###
|
||||
+
|
||||
+search --no-floppy --set=root -l '@ISOLABEL@'
|
||||
+
|
||||
+### BEGIN /etc/grub.d/10_linux ###
|
||||
+menuentry 'Start @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
|
||||
+ linux @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image quiet rhgb
|
||||
+ initrd @INITRDPATH@
|
||||
+}
|
||||
+menuentry 'Test this media & start @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
|
||||
+ linux @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image rd.live.check quiet
|
||||
+ initrd @INITRDPATH@
|
||||
+}
|
||||
+submenu 'Troubleshooting -->' {
|
||||
+ menuentry 'Install @PRODUCT@ @VERSION@ in basic graphics mode' --class red --class gnu-linux --class gnu --class os {
|
||||
+ linux @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image nomodeset quiet rhgb
|
||||
+ initrd @INITRDPATH@
|
||||
+ }
|
||||
+}
|
||||
diff --git a/share/templates.d/99-generic/live/efi.tmpl b/share/templates.d/99-generic/live/efi.tmpl
|
||||
index 813f91e..8870c55 100644
|
||||
--- a/share/templates.d/99-generic/live/efi.tmpl
|
||||
+++ b/share/templates.d/99-generic/live/efi.tmpl
|
||||
@@ -8,8 +8,7 @@ APPLE_EFI_DISKNAME=inroot+"/usr/share/pixmaps/bootloader/fedora-media.vol"
|
||||
mkdir ${EFIBOOTDIR}
|
||||
mkdir ${EFIBOOTDIR}/fonts/
|
||||
%if efiarch64:
|
||||
-install boot/efi/EFI/*/shim${efiarch64|lower}.efi ${EFIBOOTDIR}/BOOT${efiarch64}.EFI
|
||||
-install boot/efi/EFI/*/mm${efiarch64|lower}.efi ${EFIBOOTDIR}/
|
||||
+install boot/efi/EFI/*/gcd${efiarch64|lower}.efi ${EFIBOOTDIR}/BOOT${efiarch64}.EFI
|
||||
install boot/efi/EFI/*/gcd${efiarch64|lower}.efi ${EFIBOOTDIR}/grub${efiarch64|lower}.efi
|
||||
%endif
|
||||
%if efiarch32:
|
||||
diff --git a/share/templates.d/99-generic/live/live-install.tmpl b/share/templates.d/99-generic/live/live-install.tmpl
|
||||
index ef514ee..2367d1d 100644
|
||||
--- a/share/templates.d/99-generic/live/live-install.tmpl
|
||||
+++ b/share/templates.d/99-generic/live/live-install.tmpl
|
||||
@@ -6,6 +6,10 @@
|
||||
installpkg efibootmgr
|
||||
installpkg grub2-efi-aa64-cdboot shim-aa64
|
||||
%endif
|
||||
+%if basearch == "riscv64":
|
||||
+ installpkg efibootmgr
|
||||
+ installpkg grub2-efi-riscv64-cdboot
|
||||
+%endif
|
||||
%if basearch == "x86_64":
|
||||
installpkg grub2-tools-efi
|
||||
installpkg efibootmgr
|
||||
diff --git a/share/templates.d/99-generic/live/riscv64.tmpl b/share/templates.d/99-generic/live/riscv64.tmpl
|
||||
new file mode 100644
|
||||
index 0000000..6d8784d
|
||||
--- /dev/null
|
||||
+++ b/share/templates.d/99-generic/live/riscv64.tmpl
|
||||
@@ -0,0 +1,84 @@
|
||||
+<%page args="kernels, runtime_img, basearch, inroot, outroot, product, isolabel, extra_boot_args"/>
|
||||
+<%
|
||||
+configdir="tmp/config_files/riscv64"
|
||||
+PXEBOOTDIR="images/pxeboot"
|
||||
+KERNELDIR=PXEBOOTDIR
|
||||
+LIVEDIR="LiveOS"
|
||||
+LORAXDIR="usr/share/lorax/"
|
||||
+
|
||||
+## Don't allow spaces or escape characters in the iso label
|
||||
+def valid_label(ch):
|
||||
+ return ch.isalnum() or ch == '_'
|
||||
+
|
||||
+isolabel = ''.join(ch if valid_label(ch) else '-' for ch in isolabel)
|
||||
+
|
||||
+import os
|
||||
+from os.path import basename
|
||||
+from pylorax.sysutils import joinpaths
|
||||
+
|
||||
+# Test the runtime_img, if it is > 4GiB we need to set -iso-level to 3
|
||||
+if os.stat(joinpaths(inroot, runtime_img)).st_size >= 4*1024**3:
|
||||
+ isoargs = "-iso-level 3"
|
||||
+else:
|
||||
+ isoargs = ""
|
||||
+%>
|
||||
+
|
||||
+mkdir ${LIVEDIR}
|
||||
+install ${runtime_img} ${LIVEDIR}/squashfs.img
|
||||
+treeinfo stage2 mainimage ${LIVEDIR}/squashfs.img
|
||||
+
|
||||
+## install kernels
|
||||
+mkdir ${KERNELDIR}
|
||||
+%for kernel in kernels:
|
||||
+ ## normal aarch64
|
||||
+ installkernel images-${basearch} ${kernel.path} ${KERNELDIR}/vmlinuz
|
||||
+ installinitrd images-${basearch} ${kernel.initrd.path} ${KERNELDIR}/initrd.img
|
||||
+%endfor
|
||||
+
|
||||
+#FIXME: this will need adjusted when we have a real bootloader.
|
||||
+## WHeeeeeeee, EFI.
|
||||
+## We could remove the basearch restriction someday..
|
||||
+<% efiargs=""; efigraft="" %>
|
||||
+%if exists("boot/efi/EFI/*/gcdriscv64.efi"):
|
||||
+ <%
|
||||
+ efiarch32 = None
|
||||
+ efiarch64 = 'riscv64'
|
||||
+ efigraft="EFI/BOOT={0}/EFI/BOOT".format(outroot)
|
||||
+ images = ["images/efiboot.img"]
|
||||
+ %>
|
||||
+ %for img in images:
|
||||
+ <%
|
||||
+ efiargs += " -eltorito-alt-boot -e {0} -no-emul-boot".format(img)
|
||||
+ efigraft += " {0}={1}/{0}".format(img,outroot)
|
||||
+ %>
|
||||
+ treeinfo images-${basearch} ${img|basename} ${img}
|
||||
+ %endfor
|
||||
+ <%include file="efi.tmpl" args="configdir=configdir, KERNELDIR=KERNELDIR, efiarch32=efiarch32, efiarch64=efiarch64, isolabel=isolabel, extra_boot_args=extra_boot_args"/>
|
||||
+%endif
|
||||
+
|
||||
+# Create optional product.img and updates.img
|
||||
+<% filegraft=""; images=["product", "updates"] %>
|
||||
+%for img in images:
|
||||
+ %if exists("%s/%s/" % (LORAXDIR, img)):
|
||||
+ installimg ${LORAXDIR}/${img}/ images/${img}.img
|
||||
+ treeinfo images-${basearch} ${img}.img images/${img}.img
|
||||
+ <% filegraft += " images/{0}.img={1}/images/{0}.img".format(img, outroot) %>
|
||||
+ %endif
|
||||
+%endfor
|
||||
+
|
||||
+# Add the license files
|
||||
+%for f in glob("usr/share/licenses/*-release-common/*"):
|
||||
+ install ${f} ${f|basename}
|
||||
+ <% filegraft += " {0}={1}/{0}".format(basename(f), outroot) %>
|
||||
+%endfor
|
||||
+
|
||||
+%if exists("boot/efi/EFI/*/gcdriscv64.efi"):
|
||||
+## make boot.iso
|
||||
+runcmd xorrisofs ${isoargs} -o ${outroot}/images/boot.iso \
|
||||
+ ${efiargs} -R -J -V '${isolabel}' \
|
||||
+ -graft-points \
|
||||
+ ${KERNELDIR}=${outroot}/${KERNELDIR} \
|
||||
+ ${LIVEDIR}=${outroot}/${LIVEDIR} \
|
||||
+ ${efigraft} ${filegraft}
|
||||
+treeinfo images-${basearch} boot.iso images/boot.iso
|
||||
+%endif
|
||||
diff --git a/share/templates.d/99-generic/riscv64.tmpl b/share/templates.d/99-generic/riscv64.tmpl
|
||||
new file mode 100644
|
||||
index 0000000..62dd763
|
||||
--- /dev/null
|
||||
+++ b/share/templates.d/99-generic/riscv64.tmpl
|
||||
@@ -0,0 +1,92 @@
|
||||
+<%page args="kernels, runtime_img, basearch, inroot, outroot, product, isolabel"/>
|
||||
+<%
|
||||
+configdir="tmp/config_files/riscv64"
|
||||
+PXEBOOTDIR="images/pxeboot"
|
||||
+KERNELDIR=PXEBOOTDIR
|
||||
+STAGE2IMG="images/install.img"
|
||||
+LORAXDIR="usr/share/lorax/"
|
||||
+
|
||||
+## Don't allow spaces or escape characters in the iso label
|
||||
+def valid_label(ch):
|
||||
+ return ch.isalnum() or ch == '_'
|
||||
+
|
||||
+isolabel = ''.join(ch if valid_label(ch) else '-' for ch in isolabel)
|
||||
+
|
||||
+import os
|
||||
+from os.path import basename
|
||||
+from pylorax.sysutils import joinpaths
|
||||
+
|
||||
+# Test the runtime_img, if it is > 4GiB we need to set -iso-level to 3
|
||||
+if os.stat(joinpaths(inroot, runtime_img)).st_size >= 4*1024**3:
|
||||
+ isoargs = "-iso-level 3"
|
||||
+else:
|
||||
+ isoargs = ""
|
||||
+%>
|
||||
+
|
||||
+mkdir images
|
||||
+install ${runtime_img} ${STAGE2IMG}
|
||||
+treeinfo stage2 mainimage ${STAGE2IMG}
|
||||
+
|
||||
+## install kernels
|
||||
+mkdir ${KERNELDIR}
|
||||
+%for kernel in kernels:
|
||||
+ ## normal aarch64
|
||||
+ installkernel images-${basearch} ${kernel.path} ${KERNELDIR}/vmlinuz
|
||||
+ installinitrd images-${basearch} ${kernel.initrd.path} ${KERNELDIR}/initrd.img
|
||||
+%endfor
|
||||
+
|
||||
+#FIXME: this will need adjusted when we have a real bootloader.
|
||||
+## WHeeeeeeee, EFI.
|
||||
+## We could remove the basearch restriction someday..
|
||||
+<% efiargs=""; efigraft="" %>
|
||||
+%if exists("boot/efi/EFI/*/gcdriscv64.efi"):
|
||||
+ <%
|
||||
+ efiarch32 = None
|
||||
+ efiarch64 = 'riscv64'
|
||||
+ efigraft="EFI/BOOT={0}/EFI/BOOT".format(outroot)
|
||||
+ images = ["images/efiboot.img"]
|
||||
+ %>
|
||||
+ %for img in images:
|
||||
+ <%
|
||||
+ efiargs += " -eltorito-alt-boot -e {0} -no-emul-boot".format(img)
|
||||
+ efigraft += " {0}={1}/{0}".format(img,outroot)
|
||||
+ %>
|
||||
+ treeinfo images-${basearch} ${img|basename} ${img}
|
||||
+ %endfor
|
||||
+ <%include file="efi.tmpl" args="configdir=configdir, KERNELDIR=KERNELDIR, efiarch32=efiarch32, efiarch64=efiarch64, isolabel=isolabel"/>
|
||||
+%endif
|
||||
+
|
||||
+# Create optional product.img and updates.img
|
||||
+<% filegraft=""; images=["product", "updates"] %>
|
||||
+%for img in images:
|
||||
+ %if exists("%s/%s/" % (LORAXDIR, img)):
|
||||
+ installimg ${LORAXDIR}/${img}/ images/${img}.img
|
||||
+ treeinfo images-${basearch} ${img}.img images/${img}.img
|
||||
+ <% filegraft += " images/{0}.img={1}/images/{0}.img".format(img, outroot) %>
|
||||
+ %endif
|
||||
+%endfor
|
||||
+
|
||||
+# Inherit iso-graft/ if it exists from external templates
|
||||
+<%
|
||||
+ import os
|
||||
+ if os.path.exists(workdir + "/iso-graft"):
|
||||
+ filegraft += " " + workdir + "/iso-graft"
|
||||
+%>
|
||||
+
|
||||
+# Add the license files
|
||||
+%for f in glob("usr/share/licenses/*-release-common/*"):
|
||||
+ install ${f} ${f|basename}
|
||||
+ <% filegraft += " {0}={1}/{0}".format(basename(f), outroot) %>
|
||||
+%endfor
|
||||
+
|
||||
+%if exists("boot/efi/EFI/*/gcdriscv64.efi"):
|
||||
+## make boot.iso
|
||||
+runcmd xorrisofs ${isoargs} -o ${outroot}/images/boot.iso \
|
||||
+ ${efiargs} -R -J -V '${isolabel}' \
|
||||
+ -graft-points \
|
||||
+ .discinfo=${outroot}/.discinfo \
|
||||
+ ${KERNELDIR}=${outroot}/${KERNELDIR} \
|
||||
+ ${STAGE2IMG}=${outroot}/${STAGE2IMG} \
|
||||
+ ${efigraft} ${filegraft}
|
||||
+treeinfo images-${basearch} boot.iso images/boot.iso
|
||||
+%endif
|
||||
diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl
|
||||
index 236a4d7..3f97c5f 100644
|
||||
--- a/share/templates.d/99-generic/runtime-cleanup.tmpl
|
||||
+++ b/share/templates.d/99-generic/runtime-cleanup.tmpl
|
||||
@@ -351,7 +351,7 @@ runcmd chroot ${root} find /boot \! -name "vmlinuz*" \
|
||||
## (broken systemd service links lead to confusing noise at boot)
|
||||
## NOTE: not checking /var because we want to keep /var/run
|
||||
## NOTE: Excluding /etc/mtab which links to /proc/self/mounts for systemd
|
||||
-runcmd chroot ${root} find -L /etc /usr -xdev -type l -and \! -name "mtab" \
|
||||
+runcmd chroot ${root} find -L /etc -xdev -type l -and \! -name "mtab" \
|
||||
-printf "removing broken symbolic link %p -> %l\n" -delete
|
||||
|
||||
## Remove compiled python files, they are recreated as needed anyway
|
||||
diff --git a/share/templates.d/99-generic/runtime-install.tmpl b/share/templates.d/99-generic/runtime-install.tmpl
|
||||
index 5ab3ca1..1fd6918 100644
|
||||
--- a/share/templates.d/99-generic/runtime-install.tmpl
|
||||
+++ b/share/templates.d/99-generic/runtime-install.tmpl
|
||||
@@ -74,6 +74,13 @@ installpkg glibc-all-langpacks
|
||||
installpkg uboot-tools
|
||||
installpkg qcom-firmware
|
||||
%endif
|
||||
+%if basearch == "riscv64":
|
||||
+ installpkg efibootmgr
|
||||
+ installpkg grub2-efi-riscv64-cdboot>=${GRUB2VER}
|
||||
+ installpkg grub2-tools>=${GRUB2VER}
|
||||
+ installpkg uboot-tools
|
||||
+%endif
|
||||
+
|
||||
%if basearch == "x86_64":
|
||||
installpkg grub2-tools-efi>=${GRUB2VER}
|
||||
installpkg efibootmgr
|
||||
@@ -143,7 +150,7 @@ installpkg mt-st smartmontools
|
||||
installpkg hdparm
|
||||
installpkg rdma-core
|
||||
installpkg rng-tools
|
||||
-%if basearch in ("x86_64", "aarch64"):
|
||||
+%if basearch in ("x86_64", "aarch64", "riscv64"):
|
||||
installpkg dmidecode
|
||||
%endif
|
||||
installpkg nvme-cli
|
||||
diff --git a/src/pylorax/installer.py b/src/pylorax/installer.py
|
||||
index f730be5..ec8f788 100644
|
||||
--- a/src/pylorax/installer.py
|
||||
+++ b/src/pylorax/installer.py
|
||||
@@ -162,6 +162,14 @@ class QEMUInstall(object):
|
||||
"uefi_machine": "virt",
|
||||
"uefi_args": ["-global", "driver=cfi.pflash01,property=secure,value=off"],
|
||||
},
|
||||
+ "riscv64": {
|
||||
+ "cmd": "qemu-system-riscv64",
|
||||
+ "arches": ["riscv64"],
|
||||
+ "machine": "virt",
|
||||
+ "uefi": ["riscv/RISCV_VIRT_CODE.qcow2", "riscv/RISCV_VIRT_VARS.qcow2"],
|
||||
+ "uefi_machine": "virt",
|
||||
+ },
|
||||
+
|
||||
"ppc64le": {
|
||||
"cmd": "qemu-system-ppc64",
|
||||
"arches": ["ppc64le"],
|
||||
diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py
|
||||
index 5c04527..f1c5e2a 100644
|
||||
--- a/src/pylorax/treebuilder.py
|
||||
+++ b/src/pylorax/treebuilder.py
|
||||
@@ -41,6 +41,7 @@ templatemap = {
|
||||
'ppc64le': 'ppc64le.tmpl',
|
||||
's390x': 's390.tmpl',
|
||||
'aarch64': 'aarch64.tmpl',
|
||||
+ 'riscv64': 'riscv64.tmpl',
|
||||
}
|
||||
|
||||
def generate_module_info(moddir, outfile=None):
|
||||
--
|
||||
2.44.0
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
Name: lorax
|
||||
Version: 40.6
|
||||
Release: 1%{?dist}
|
||||
Release: 1.0.riscv64%{?dist}
|
||||
Summary: Tool for creating the anaconda install images
|
||||
|
||||
License: GPL-2.0-or-later
|
||||
|
@ -15,6 +15,8 @@ URL: https://github.com/weldr/lorax
|
|||
# tito build --tgz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: 0001-Add-riscv64.patch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: make
|
||||
|
@ -171,6 +173,9 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
|
|||
%{_datadir}/lorax/templates.d/*
|
||||
|
||||
%changelog
|
||||
* Fri Mar 22 2024 David Abdurachmanov <davidlt@rivosinc.com> 40.5-1.0.riscv64
|
||||
- Add riscv64 support
|
||||
|
||||
* Mon Feb 19 2024 Brian C. Lane <bcl@redhat.com>
|
||||
- Add example use of lmc in github actions. (cjshowalter@alaska.edu)
|
||||
- Require lorax-templates-rhel when building for ELN, CentOS Stream and RHEL (sgallagh@redhat.com)
|
||||
|
|
Loading…
Reference in New Issue