Unverified Commit ee3e5a9c authored by Neil Hanlon's avatar Neil Hanlon
Browse files

finish architecture integration

parent 9e81c883
......@@ -3,8 +3,9 @@
version=${VERSION:-"8"}
mirror=${MIRROR:-https://dl.rockylinux.org/stg}
type="${TYPE:-Base}"
arch="$(ARCH:-$(uname -m))"
output_type=tar
output_file="Rocky-${version}-Container-${type}.tar.xz"
output_file="Rocky-${version}-Container-${arch}-${type}.tar.xz"
case $type in
Base)
......@@ -16,7 +17,7 @@ case $type in
esac
mkosi -d rocky -r ${version} -m ${mirror} -t ${output_type} -o ${output_file} \
--architecture $(uname -m) \
--architecture $arch \
--compress xz \
--package="$(echo $packages | tr ' ' ',')" \
--base-packages 0 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment