You are not logged in.
I am looking forward to build a custom archiso and am starting off of releng version.
I have been following the wiki to create the initial image, by:
Installing the archiso suite with:
pacman -S archiso
Copy the profile with:
cp -r /usr/share/archiso/configs/profile ~/archiso-releng
Now, with no modifications in place, I am running ./build.sh.
And this is where I occasionally stumble upon the prepare-copy step errors:
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: init
[mkarchiso] INFO: Architecture: i686
[mkarchiso] INFO: Working directory: work/i686
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Pacman config file: work/pacman.conf
[mkarchiso] INFO: Installing packages to 'work/i686/airootfs/'...
[mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: install
[mkarchiso] INFO: Architecture: i686
[mkarchiso] INFO: Working directory: work/i686
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Pacman config file: work/pacman.conf
[mkarchiso] INFO: Packages: haveged intel-ucode memtest86+ mkinitcpio-nfs-utils nbd zsh
[mkarchiso] INFO: Installing packages to 'work/i686/airootfs/'...
[mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: install
[mkarchiso] INFO: Architecture: i686
[mkarchiso] INFO: Working directory: work/i686
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Pacman config file: work/pacman.conf
[mkarchiso] INFO: Packages: arch-install-scripts b43-fwcutter btrfs-progs clonezilla crda darkhttpd ddrescue dhclient dialog dmraid dnsmasq dnsutils dosfstools elinks ethtool f2fs-tools fsarchiver gnu-netcat gpm gptfdisk grml-zsh-config grub hdparm ipw2100-fw ipw2200-fw irssi lftp linux-atm mc mtools nfs-utils nilfs-utils nmap ntfs-3g ntp openconnect openssh openvpn partclone parted partimage ppp pptpclient refind-efi rfkill rp-pppoe rsync smartmontools speedtouch sudo tcpdump testdisk usb_modeswitch vim-minimal vpnc wget wireless_tools wpa_actiond wvdial xl2tpd zd1211-firmware
[mkarchiso] INFO: Installing packages to 'work/i686/airootfs/'...
[mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: init
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work/x86_64
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Pacman config file: work/pacman.conf
[mkarchiso] INFO: Installing packages to 'work/x86_64/airootfs/'...
[mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: install
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work/x86_64
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Pacman config file: work/pacman.conf
[mkarchiso] INFO: Packages: haveged intel-ucode memtest86+ mkinitcpio-nfs-utils nbd zsh
[mkarchiso] INFO: Installing packages to 'work/x86_64/airootfs/'...
[mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: install
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work/x86_64
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Pacman config file: work/pacman.conf
[mkarchiso] INFO: Packages: arch-install-scripts b43-fwcutter btrfs-progs clonezilla crda darkhttpd ddrescue dhclient dialog dmraid dnsmasq dnsutils dosfstools elinks ethtool f2fs-tools fsarchiver gnu-netcat gpm gptfdisk grml-zsh-config grub hdparm ipw2100-fw ipw2200-fw irssi lftp linux-atm mc mtools nfs-utils nilfs-utils nmap ntfs-3g ntp openconnect openssh openvpn partclone parted partimage ppp pptpclient refind-efi rfkill rp-pppoe rsync smartmontools speedtouch sudo tcpdump testdisk usb_modeswitch vim-minimal vpnc wget wireless_tools wpa_actiond wvdial xl2tpd zd1211-firmware
[mkarchiso] INFO: Installing packages to 'work/x86_64/airootfs/'...
[mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: install
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work/x86_64
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Pacman config file: work/pacman.conf
[mkarchiso] INFO: Packages: prebootloader
[mkarchiso] INFO: Installing packages to 'work/x86_64/airootfs/'...
[mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: run
[mkarchiso] INFO: Architecture: i686
[mkarchiso] INFO: Working directory: work/i686
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Run command: mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img
==> Starting build: 4.1.4-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [memdisk]
-> Running build hook: [archiso_shutdown]
-> Running build hook: [archiso]
-> Running build hook: [archiso_loop_mnt]
-> Running build hook: [archiso_pxe_common]
-> Running build hook: [archiso_pxe_nbd]
-> Running build hook: [archiso_pxe_http]
-> Running build hook: [archiso_pxe_nfs]
-> Running build hook: [archiso_kms]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [pcmcia]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating xz-compressed initcpio image: /boot/archiso.img
==> Image generation successful
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 19364 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 19364 100 19364 0 0 11198 0 0:00:01 0:00:01 --:--:-- 11193
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: run
[mkarchiso] INFO: Architecture: i686
[mkarchiso] INFO: Working directory: work/i686
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Run command: /root/customize_airootfs.sh
Generating locales...
en_US.UTF-8... done
Generation complete.
Created symlink from /etc/systemd/system/multi-user.target.wants/pacman-init.service to /etc/systemd/system/pacman-init.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/choose-mirror.service to /etc/systemd/system/choose-mirror.service.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/multi-user.target.
[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
==> Starting build: 4.1.4-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [memdisk]
-> Running build hook: [archiso_shutdown]
-> Running build hook: [archiso]
-> Running build hook: [archiso_loop_mnt]
-> Running build hook: [archiso_pxe_common]
-> Running build hook: [archiso_pxe_nbd]
-> Running build hook: [archiso_pxe_http]
-> Running build hook: [archiso_pxe_nfs]
-> Running build hook: [archiso_kms]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [pcmcia]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating xz-compressed initcpio image: /boot/archiso.img
==> Image generation successful
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 19364 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
40 19364 40 7873 0 0 3733 0 0:00:05 0:00:02 0:00:03 3734
100 19364 100 19364 0 0 9176 0 0:00:02 0:00:02 --:--:-- 9177
[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: /root/customize_airootfs.sh
Generating locales...
en_US.UTF-8... done
Generation complete.
Created symlink from /etc/systemd/system/multi-user.target.wants/pacman-init.service to /etc/systemd/system/pacman-init.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/choose-mirror.service to /etc/systemd/system/choose-mirror.service.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/multi-user.target.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
18 876k 18 159k 0 0 80998 0 0:00:11 0:00:02 0:00:09 80998
78 876k 78 687k 0 0 224k 0 0:00:03 0:00:03 --:--:-- 224k
100 876k 100 876k 0 0 264k 0 0:00:03 0:00:03 --:--:-- 264k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
21 753k 21 159k 0 0 60228 0 0:00:12 0:00:02 0:00:10 60225
46 753k 46 351k 0 0 97543 0 0:00:07 0:00:03 0:00:04 97538
100 753k 100 753k 0 0 171k 0 0:00:04 0:00:04 --:--:-- 171k
mkfs.fat 3.0.28 (2015-05-16)
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: pkglist
[mkarchiso] INFO: Architecture: i686
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Creating a list of installed packages on live-enviroment...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: prepare
[mkarchiso] INFO: Architecture: i686
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Cleaning up what we can on airootfs...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Creating ext4 image of 32GiB...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Mounting 'work/airootfs.img' on 'work/mnt/airootfs'
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Copying 'work/airootfs/' to 'work/mnt/airootfs/'...
cp: cannot create regular file 'work/mnt/airootfs/usr/lib/modules/4.1.4-1-ARCH/kernel/drivers/watchdog/it87_wdt.ko.gz': Not a directory
[mkarchiso] INFO: Unmounting 'work/mnt/airootfs'
[mkarchiso] INFO: Done!
The relevant part being at the end of the log (copied):
[mkarchiso] INFO: Mounting 'work/airootfs.img' on 'work/mnt/airootfs'
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Copying 'work/airootfs/' to 'work/mnt/airootfs/'...
cp: cannot create regular file 'work/mnt/airootfs/usr/lib/modules/4.1.4-1-ARCH/kernel/drivers/watchdog/it87_wdt.ko.gz': Not a directory
[mkarchiso] INFO: Unmounting 'work/mnt/airootfs'
[mkarchiso] INFO: Done!
And even more specifically, this line here:
cp: cannot create regular file 'work/mnt/airootfs/usr/lib/modules/4.1.4-1-ARCH/kernel/drivers/watchdog/it87_wdt.ko.gz': Not a directory
And no, it's not the same error always - sometimes that's another file; sometimes multiple files; sometimes no files, hence no errors and it goes on to create the ISO.
If I get this error, I have tried re-running the ./build.sh, but same behavior continues - maybe a new list of errors; maybe none and it completes successfully. Sometimes it takes multiple re-runs of ./build.sh to get the ISO out.
I have also tried to remove the work directory and start from scratch, but yeah - same stuff, sometimes it's completing, sometimes erroring out.
What could be the cause of it?
Last edited by psycketom (2015-08-06 07:00:47)
Offline
Some time and updates later (now), the problem still continues. No clues? This time, though, I haven't got my ISO out after about 30 reruns of ./build.sh - haven't deleted work/ either.
Offline