You are not logged in.
Pages: 1
I've installed archiso (27-1) and attempted to follow the instructions at the wiki here.
The modifications I made were to add a custom repo and a single package and attempted to build which failed when trying to create the ramdisk in the mkinitcpio step as below:
~/archlive ./build.sh -v
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: run
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work/x86_64
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Run command: mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img
mktemp: failed to create directory via template '/root/tmp/mkinitcpio.XXXXXX': No such file or directory
==> ERROR: Failed to create temporary working directory in /root/tmpI've looked at the permissions of /root/tmp/ inside both ~/archlive/work/i686/ and ~/archlive/work/x86_64/ folders and my local system(s) and everything looks normal.
I even have tried with absolutely no modifications on the releng and baseline config, created the out folder and attempted to build with the same output as above.
It's worth mentioning that all of this is done as the root user too.
Have tired this on two completely different Arch machines so either I'm doing something completely wrong or perhaps there's something wrong with the package?
Any help is appreciated.
Last edited by nightah (2016-06-12 06:59:39)
Offline
Looks like the problem is if I actually try and run the build as root, however if I run build.sh under sudo it works successfully.
Going to close this off as solved, perhaps it's something to do with my env vars?
Offline
Pages: 1