Package Details: archiso-git 47.1.r1.g45a5d22-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
Licenses: GPL3
Conflicts: archiso
Provides: archiso=47.1.r1.g45a5d22
Submitter: Svenstaro
Maintainer: dvzrv (nl6720)
Last Packager: nl6720
Votes: 118
Popularity: 0.082360
First Submitted: 2009-04-28 03:43
Last Updated: 2020-09-05 08:06

Latest Comments

1 2 3 4 5 6 ... Next › Last »

aciddo commented on 2021-01-16 13:34

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

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

[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

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

abumasood commented on 2020-12-03 00:52

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

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

dvzrv commented on 2020-11-30 20:59

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

amoka commented on 2020-11-30 20:43

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

@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

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