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.
Search Criteria
Package Details: archiso-git 79.r0.gfa3aba3-1
Package Actions
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)
- arch-install-scripts
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR)
- dosfstools (dosfstools-gitAUR)
- e2fsprogs (busybox-coreutilsAUR, e2fsprogs-gitAUR)
- erofs-utils (erofs-utils-gitAUR)
- libarchive (libarchive-gitAUR)
- libisoburn (libisoburn-gitAUR)
- mtools (mtools-svnAUR)
- squashfs-tools (squashfs-tools-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- python-docutils (make)
- shellcheck (shellcheck-binAUR, shellcheck-gitAUR) (check)
- edk2-ovmf (optional) – for emulating UEFI with run_archiso
- gnupg (gnupg-gitAUR, gnupg-largekeysAUR) (optional) – for PGP signature verification of rootfs over PXE
- grub (grub-linux-defaultAUR, grub-coreosAUR, grub-blscfgAUR, grub-xen-gitAUR, grub-luks-keyfileAUR, grub-silentAUR, grub-gitAUR, grub-improved-luks2-gitAUR, grub-grubenv-btrfsAUR, grub-libzfsAUR) (optional) – for grub support in the ISO
- openssl (openssl-gitAUR, openssl-staticAUR) (optional) – for CMS signature verification of PXE artifacts and rootfs over PXE
- qemu-desktop (optional) – for run_archiso
Required by (5)
- archsysback (requires archiso)
- arcolinux-app-glade-git (requires archiso)
- koffe (requires archiso)
- oh (requires archiso)
- talkingarch-git
Sources (1)
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)
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
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 ofmkinitcpio-archiso
:mkinitcpio-archiso-git
to it. Alternatively use an AUR helper that uses a custom local repo.configs/*/pacman.conf
. There's an example at the end of the file.mkinitcpio-archiso
withmkinitcpio-archiso-git
inconfigs/*/packages.x86_64
.