--- a/lxc.SlackBuild 2021-11-12 18:35:31.854827652 +0000 +++ b/lxc.SlackBuild 2021-11-13 09:50:28.782172241 +0000 @@ -58,6 +58,12 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "riscv64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -124,6 +130,8 @@ # Add the template file: cat $CWD/lxc-slackware.in > $PKG/usr/share/lxc/templates/lxc-slackware chmod 755 $PKG/usr/share/lxc/templates/lxc-slackware +cat $CWD/lxc-slarm64.in > $PKG/usr/share/lxc/templates/lxc-slarm64 +chmod 755 $PKG/usr/share/lxc/templates/lxc-slarm64 # Make the default configuration directories and an empty rootfs folder: mkdir -p $PKG/var/lib/lxc $PKG/etc/lxc $PKG/var/lib/rootfs-lxc $PKG/var/lib/misc