Package Details: archiso-git 79.r0.gfa3aba3-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: 119
Popularity: 0.000053
First Submitted: 2009-04-28 03:43 (UTC)
Last Updated: 2024-07-27 06:33 (UTC)

Dependencies (17)

Required by (5)

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 .. 10 Next › Last »

aciddo commented on 2021-01-16 13:34 (UTC) (edited on 2021-01-16 13:37 (UTC) by aciddo)

Thank you, that worked. I had specified -w /archiso/work but it looks like that was not enough. Retried with mkarchiso -v -w /archiso/work -o /archiso/out /archiso which was successful.

nl6720 commented on 2021-01-16 12:48 (UTC)

The -w option requires a path, e.g.:

mkarchiso -v -w /tmp/archiso-tmp /path/to/profile/

aciddo commented on 2021-01-16 12:33 (UTC)

[mkarchiso] ERROR: Failed to set permissions on 'work/x86_64/airootfs/home/liveuser'. Outside of valid path.

I'm having this issue as well, specifying -w option does not seem to help either. I'm on "ROOT on ZFS" if that plays a role...

Yanni

nl6720 commented on 2020-12-03 08:03 (UTC)

Try to set the working directory explicitly with the -w option.

abumasood commented on 2020-12-03 00:52 (UTC) (edited on 2020-12-03 00:59 (UTC) by abumasood)

There seems to be an issue with 50.1-1 that did not exist in 49-1. Whenever I build the iso, it throws this error and stops the build process:

.
.
.
[mkarchiso] INFO: Done! Packages installed successfully.
[mkarchiso] INFO: Copying /etc/skel/* to user homes...
[mkarchiso] ERROR: Failed to set permissions on 'work/x86_64/airootfs/home/liveuser'. Outside of valid path.

liveuser exists in passwd and shadow. The process builds fine with 49-1. If I remove the liveuser entries from passwd and shadow, the build completes.

Is this a bug or am I missing anything?

Thank you

amoka commented on 2020-11-30 21:00 (UTC)

Thanks for the quick fix @dvzrv. Just tested, works great!

dvzrv commented on 2020-11-30 20:59 (UTC)

@amoka: Yes, you are right. I just fixed it though.

amoka commented on 2020-11-30 20:43 (UTC)

Regarding file permissions, it does not seem to respect my options in profiledef.sh:

I have this:

file_permissions=( ["/etc/shadow"]="0:0:400" ["/etc/sudoers.d"]="0:0:750" ["/etc/sudoers.d/01_editor"]="0:0:440" ["/etc/sudoers.d/02_wheel"]="0:0:440" ["/root"]="0:0:750" ["/usr/local/bin/choose-mirror"]="0:0:755" )

But for example, sudoers.d directory is 755 instead what set above, same for files are not created with 440 as set above!

dvzrv commented on 2020-11-30 18:31 (UTC)

@amoka: We have introduced file permissions in profiledef.sh.

Currently, I modify img_name="${iso_name}-${iso_version}-${arch}.iso" line in mkarchiso to achieve that.

Hm, that is currently not supported (but setting the individual parts is).

amoka commented on 2020-11-30 18:21 (UTC)

I started to get this warning with latest git build:

warning: directory permissions differ on /tmp/work/x86_64/airootfs/root/ filesystem: 755 package: 750