Package Details: archiso-git 75.r2.g2932a9d-1

Git Clone URL: https://aur.archlinux.org/archiso-git.git (read-only, click to copy)
Package Base: archiso-git
Description: Tools for creating Arch Linux live and install iso images
Upstream URL: https://gitlab.archlinux.org/archlinux/archiso
Keywords: releng
Licenses: GPL-3.0-or-later
Conflicts: archiso
Provides: archiso
Submitter: svenstaro
Maintainer: dvzrv (nl6720)
Last Packager: nl6720
Votes: 121
Popularity: 0.002935
First Submitted: 2009-04-28 03:43 (UTC)
Last Updated: 2024-02-17 09:41 (UTC)

Dependencies (17)

Required by (6)

Sources (1)

Pinned Comments

nl6720 commented on 2020-07-30 17:02 (UTC) (edited on 2020-07-30 17:09 (UTC) by nl6720)

@amoka, that's a temporary issue. It will be solved when archiso 46 is released and lands in extra.

To use mkinitcpio-archiso-git instead of mkinitcpio-archiso:

  1. Setup a custom local repo and add mkinitcpio-archiso-git to it. Alternatively use an AUR helper that uses a custom local repo.
  2. Add the repo to configs/*/pacman.conf. There's an example at the end of the file.
  3. Replace mkinitcpio-archiso with mkinitcpio-archiso-git in configs/*/packages.x86_64.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

amoka commented on 2020-08-20 19:22 (UTC)

Could you please explain a bit more about the new bootmodes options?

I boot my systems in UEFI mode only, so I modified bootmodes in profiledef.sh to:

bootmodes=('uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito')

But the build fails with error related to "can't stat archiso.img"

dvzrv commented on 2020-07-30 20:58 (UTC)

The package is now updated to v46 (which should work with the version of mkinitcpio-archiso in [extra]).

If you want to test latest changes in mkinitcpio-archiso please follow the instructions as outlined by nl6720.

amoka commented on 2020-07-30 19:28 (UTC)

@nl6720 Thanks. Working fine with customrepo for now!

nl6720 commented on 2020-07-30 17:02 (UTC) (edited on 2020-07-30 17:09 (UTC) by nl6720)

@amoka, that's a temporary issue. It will be solved when archiso 46 is released and lands in extra.

To use mkinitcpio-archiso-git instead of mkinitcpio-archiso:

  1. Setup a custom local repo and add mkinitcpio-archiso-git to it. Alternatively use an AUR helper that uses a custom local repo.
  2. Add the repo to configs/*/pacman.conf. There's an example at the end of the file.
  3. Replace mkinitcpio-archiso with mkinitcpio-archiso-git in configs/*/packages.x86_64.

amoka commented on 2020-07-30 16:47 (UTC) (edited on 2020-07-30 16:48 (UTC) by amoka)

Failed to build with this:

error: target not found: mkinitcpio-archiso ==> ERROR: Failed to install packages to new root

amoka commented on 2020-07-20 18:53 (UTC)

@nl6720 Wow! Thanks, much appreciated!

I agree, it's a little more work than before with the script, but it works just as fine.

I also created /etc/sudoers.d/ with a custom file for sudo access.

You guys are the best :)

nl6720 commented on 2020-07-20 09:49 (UTC)

Yes customize_airootfs.sh is going away. After it's gone, creating additional users is going to be ugly. https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/44/diffs?commit_id=5b1d02414490246035694a4bc30be8e83f342152 should improve things regarding file permissions.

Basically you will need to manually edit /etc/passwd, /etc/shadow, /etc/group and /etc/gshadow. For example:

configs/releng/airootfs/etc/passwd:

root:x:0:0:root:/root:/usr/bin/zsh
testuser:x:1000:1000::/home/testuser:/usr/bin/zsh

Create a password with openssl passwd -6 and add it to configs/releng/airootfs/etc/shadow:

root::14871::::::
testuser:$6$testsalt$tJbUl1kXqW33QAR3uSZ526jhi2VR/8b5Oc.fgGcuj1amRP1gtYnGoqbDwnND9jnHaR.tZ1.Uag0nWYDafTUxX0:14871::::::

Add the user's group and the groups which they'll part of to configs/releng/airootfs/etc/group:

root:x:0:root
adm:x:4:testuser
wheel:x:10:testuser
testuser:x:1000:

Create configs/releng/airootfs/etc/gshadow:

root:::root
testuser:!::

amoka commented on 2020-07-19 19:30 (UTC)

Thanks @nl6720 for the awesome work!

Sorry if it's not related, but it looks like the customize_airootfs.sh script is being deprecated (soon): https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/44/diffs?commit_id=e94e1b1f4123a28b0535b9f15b2665ff32c386f9

In this case, what's the best way to add a non-root user (with proper permissions and home directory)?

dvzrv commented on 2020-05-31 17:02 (UTC)

The archiso upstream has moved to Arch Linux' gitlab instance: https://gitlab.archlinux.org/archlinux/archiso

Below you can find a patch for the current changes (e.g. edk2-shell is now a required dependency):

diff --git i/PKGBUILD w/PKGBUILD
index 1346115..445ddfe 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -1,30 +1,31 @@
 # Maintainer: Sebastian Lau <lauseb644@gmail.com>
+# Contributor: David Runge <dvzrv@archlinux.org>
 # Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>

-_pkgname=archiso
-pkgname="${_pkgname}-git"
-pkgver=33.1.g59c2573
+_name=archiso
+pkgname=archiso-git
+pkgver=43.10.gbffda98
 pkgrel=1
 pkgdesc="Arch Linux livecd/liveusb generation scripts"
 arch=('any')
-url="http://archlinux.org"
+url="https://gitlab.archlinux.org/archlinux/archiso"
 license=('GPL')
-depends=('libisoburn' 'squashfs-tools' 'btrfs-progs' 'dosfstools' 'lynx' 'arch-install-scripts')
-optdepends=('qemu: quickly test isos')
+depends=('arch-install-scripts' 'btrfs-progs' 'curl' 'dosfstools' 'edk2-shell'
+'libisoburn' 'lynx' 'squashfs-tools')
 makedepends=('git')
+optdepends=('qemu: quickly test isos')
 provides=('archiso')
 conflicts=('archiso')
-source=("git://projects.archlinux.org/${_pkgname}.git")
+source=("git+https://gitlab.archlinux.org/archlinux/${_name}.git#branch=issues/10")
 md5sums=('SKIP')

 pkgver() {
-  cd "${srcdir}/${_pkgname}"
+  cd "${_name}"
   git describe --long | sed 's/-/./g;s/v//'
 }

 package() {
-  cd "${srcdir}/${_pkgname}"
-
+  cd "${_name}"
   make DESTDIR="${pkgdir}/" install
 }