[artix-general] Headless, non-interactive install

Carlos Torres torr at artixlinux.org
Tue Jun 7 04:05:29 CEST 2022


On 2022-06-03, James Cloos wrote:
> i'm considering givig artix a try on a x86_64 sbc i have.
> are the any sources out there of an archive of a freshly
> installed artix?

I don't know of a full archive, but you could use the rootfs from the
Docker images, adding a kernel and a bootloader. Syslinux suits this
nicely.

This is the repo for the images:
	https://gitea.artixlinux.org/artix/artixlinux-docker

It's a bit outdated though, so apply the patch I'm attaching.

The rootfs can be generated through a make target with the same name,
whereby a tarball will be saved at <dockerfile/base/artixlinux.tar>.
-------------- next part --------------
diff --git a/Makefile b/Makefile
index 778d9e2..9022663 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,8 @@ rootfs:
 	env -i basestrap -C rootfs/etc/pacman.conf -c -G -M $(TMPDIR) $(shell cat packages)
 	cp --recursive --preserve=timestamps --backup --suffix=.pacnew rootfs/* $(TMPDIR)/
-	artools-chroot $(TMPDIR) locale-gen
-	artools-chroot $(TMPDIR) pacman-key --init
-	artools-chroot $(TMPDIR) pacman-key --populate artix
-	artools-chroot $(TMPDIR) pacman-key --populate archlinux
+	artix-chroot $(TMPDIR) locale-gen
+	artix-chroot $(TMPDIR) pacman-key --init
+	artix-chroot $(TMPDIR) pacman-key --populate artix
+	if test -n "${ARCH_KEYRING}"; then artix-chroot $(TMPDIR) pacman-key --populate archlinux; fi
 	tar --numeric-owner --xattrs --acls --exclude-from=exclude -C $(TMPDIR) -c . -f dockerfile/base/artixlinux.tar
 	rm -rf $(TMPDIR)
diff --git a/packages b/packages
index 269ec7c..22291e9 100644
--- a/packages
+++ b/packages
@@ -4,4 +4,4 @@ grep
 gzip
 pacman
-opensysusers
+esysusers
 util-linux


More information about the artix-general mailing list