-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Tested on: Debian 9
I have tried to build the image multiple times using build.sh but it fails at the end. I have followed the instructions as per those mentioned in the readme file. The installation and compilation part is successful but when it comes to exporting the image, the build fails.
The build log is as follows:
[13:19:11] Begin /builds/user/pi-gen/export-image/prerun.sh
Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xe86e87dd.
Command (m for help): Created a new DOS disklabel with disk identifier 0x76b65104.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):
Using default response p.
Partition number (1-4, default 1): First sector (2048-3514367, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (8192-3514367, default 3514367):
Created a new partition 1 of type 'Linux' and of size 43.1 MiB.
Command (m for help): Disk /builds/user/pi-gen/work/2018-06-08-exos/export-image/2018-06-08-exos-lite.img: 1.7 GiB, 1799356416 bytes, 3514368 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x76b65104
Device Boot Start End Sectors Size Id Type
/builds/user/pi-gen/work/2018-06-08-exos/export-image/2018-06-08-exos-lite.img1 8192 96484 88293 43.1M 83 Linux
Command (m for help): Selected partition 1
Partition type (type L to list all types): Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.
Command (m for help): Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p):
Using default response p.
Partition number (2-4, default 2): First sector (2048-3514367, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (98304-3514367, default 3514367):
Created a new partition 2 of type 'Linux' and of size 1.6 GiB.
Command (m for help):
Command (m for help):
Disk /builds/user/pi-gen/work/2018-06-08-exos/export-image/2018-06-08-exos-lite.img: 1.7 GiB, 1799356416 bytes, 3514368 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x76b65104
Device Boot Start End Sectors Size Id Type
/builds/user/pi-gen/work/2018-06-08-exos/export-image/2018-06-08-exos-lite.img1 8192 96484 88293 43.1M c W95 FAT32 (LBA)
/builds/user/pi-gen/work/2018-06-08-exos/export-image/2018-06-08-exos-lite.img2 98304 3514367 3416064 1.6G 83 Linux
Command (m for help):
The partition table has been altered.
Syncing disks.
Disk /builds/user/pi-gen/work/2018-06-08-exos/export-image/2018-06-08-exos-lite.img: 1799356416B
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 4194304B 49400319B 45206016B primary lba
2 50331648B 1799356415B 1749024768B primary
losetup: /builds/user/pi-gen/work/2018-06-08-exos/export-image/2018-06-08-exos-lite.img: failed to set up loop device: No such file or directory
[13:19:14] End /builds/user/pi-gen/export-image/prerun.sh
[13:19:14] Begin /builds/user/pi-gen/export-image/00-allow-rerun
[13:19:14] Begin /builds/user/pi-gen/export-image/00-allow-rerun/00-run.sh
cp: cannot create regular file '/builds/user/pi-gen/work/2018-06-08-exos/export-image/rootfs/usr/bin/': No such file or directory
[13:19:14] End /builds/user/pi-gen/export-image/00-allow-rerun/00-run.sh
[13:19:14] End /builds/user/pi-gen/export-image/00-allow-rerun
[13:19:14] Begin /builds/user/pi-gen/export-image/01-set-sources
[13:19:14] Begin /builds/user/pi-gen/export-image/01-set-sources/00-patches
Converting meta-data to version 2
Applying patch /builds/user/pi-gen/export-image/01-set-sources/00-patches/0-sources.diff
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: export-jessie/rootfs/etc/apt/sources.list.d/raspi.list
|===================================================================
|--- export-jessie.orig/rootfs/etc/apt/sources.list.d/raspi.list
|+++ export-jessie/rootfs/etc/apt/sources.list.d/raspi.list
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch /builds/user/pi-gen/export-image/01-set-sources/00-patches/0-sources.diff does not apply (enforce with -f)
[13:19:14] End /builds/user/pi-gen/export-image/01-set-sources/00-patches
[13:19:14] Begin /builds/user/pi-gen/export-image/01-set-sources/01-run.sh
mount: mount point /builds/user/pi-gen/work/2018-06-08-exos/export-image/rootfs/proc does not exist
[13:19:14] End /builds/user/pi-gen/export-image/01-set-sources/01-run.sh
[13:19:14] End /builds/user/pi-gen/export-image/01-set-sources
[13:19:14] Begin /builds/user/pi-gen/export-image/02-network
[13:19:14] Begin /builds/user/pi-gen/export-image/02-network/01-run.sh
install: target '/builds/user/pi-gen/work/2018-06-08-exos/export-image/rootfs/etc/' is not a directory: No such file or directory
[13:19:14] End /builds/user/pi-gen/export-image/02-network/01-run.sh
[13:19:14] End /builds/user/pi-gen/export-image/02-network
[13:19:14] Begin /builds/user/pi-gen/export-image/03-set-partuuid
[13:19:14] Begin /builds/user/pi-gen/export-image/03-set-partuuid/00-run.sh
sed: can't read /builds/user/pi-gen/work/2018-06-08-exos/export-image/rootfs/etc/fstab: No such file or directory
[13:19:14] End /builds/user/pi-gen/export-image/03-set-partuuid/00-run.sh
[13:19:14] End /builds/user/pi-gen/export-image/03-set-partuuid
[13:19:14] Begin /builds/user/pi-gen/export-image/04-finalise
[13:19:14] Begin /builds/user/pi-gen/export-image/04-finalise/01-run.sh
mount: mount point /builds/user/pi-gen/work/2018-06-08-exos/export-image/rootfs/proc does not exist
[13:19:14] End /builds/user/pi-gen/export-image/04-finalise/01-run.sh
[13:19:14] End /builds/user/pi-gen/export-image/04-finalise
[13:19:14] End /builds/user/pi-gen/export-image
[13:19:14] Begin /builds/user/pi-gen/export-noobs
[13:19:14] Begin /builds/user/pi-gen/export-noobs/prerun.sh
losetup: /builds/user/pi-gen/work/2018-06-08-exos/export-noobs/2018-06-08-exos-lite.img: failed to set up loop device: No such file or directory
[13:19:16] End /builds/user/pi-gen/export-noobs/prerun.sh
[13:19:16] Begin /builds/user/pi-gen/export-noobs/00-release
[13:19:16] Begin /builds/user/pi-gen/export-noobs/00-release/00-run.sh
install: target '/builds/user/pi-gen/work/2018-06-08-exos/export-noobs/2018-06-08-exos-lite/' is not a directory: No such file or directory
[13:19:16] End /builds/user/pi-gen/export-noobs/00-release/00-run.sh
[13:19:16] End /builds/user/pi-gen/export-noobs/00-release
[13:19:16] End /builds/user/pi-gen/export-noobs
[13:19:16] End /builds/user/pi-gen
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels