You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noted your message in the README that you were working on fixing something. Is it fixed? This was the result of the script process:
user@ubuntu:~/rock4se-image-builder$ sudo ./build.sh
----------------------
cleaning build area...
----------------------
rm: cannot remove '.rootfs.img': No such file or directory
rm: cannot remove '.rootfs.tar': No such file or directory
rm: cannot remove 'config/rootfs_size.txt': No such file or directory
Building Docker image...
Error response from daemon: cannot kill container: debiancontainer: No such container: debiancontainer
Error response from daemon: No such container: debiancontainer
Error response from daemon: No such image: debian:finest
[+] Building 959.8s (29/55) docker:default
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 5.29kB 0.0s
=> WARN: InvalidDefaultArgInFrom: Default value for ARG arm64v8/debian:${SUITE} results in empty or invalid base 0.1s
=> WARN: FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "aarch64" (line 2) 0.1s
=> [internal] load metadata for docker.io/arm64v8/debian:bookworm 1.3s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [internal] load build context 0.2s
=> => transferring context: 38.77kB 0.1s
=> [ 1/51] FROM docker.io/arm64v8/debian:bookworm@sha256:4466c6813e1d9a85fbac707afe419e13ce9a823f7041316bab860d 16.0s
=> => resolve docker.io/arm64v8/debian:bookworm@sha256:4466c6813e1d9a85fbac707afe419e13ce9a823f7041316bab860d8c0 0.0s
=> => sha256:6d11c181ebb38ef30f2681a42f02030bc6fdcfbe9d5248270ee065eb7302b500 49.58MB / 49.58MB 5.3s
=> => sha256:4466c6813e1d9a85fbac707afe419e13ce9a823f7041316bab860d8c0a50f91d 529B / 529B 0.0s
=> => sha256:a2a098df56357469e7f1cc91a4e686bf71c4f65973acac8648db34c53ccea0d8 1.48kB / 1.48kB 0.0s
=> => extracting sha256:6d11c181ebb38ef30f2681a42f02030bc6fdcfbe9d5248270ee065eb7302b500 10.2s
=> [ 2/51] RUN sed -i '/^Components:/ s/$/ contrib non-free non-free-firmware/' /etc/apt/sources.list.d/debian.s 5.1s
=> [ 3/51] RUN apt update -y && apt upgrade -y && apt install -y apt-utils dialog aptitude 47.6s
=> [ 4/51] RUN aptitude install -y '?priority(required)' '?priority(important)' '?priority(standard)' 367.9s
=> [ 5/51] RUN apt install -y nano wget curl sudo gpg gpg-agent network-manager zip unzip e2fsprogs git zsh zs 455.1s
=> [ 6/51] COPY config/apt-packages.txt /root 0.3s
=> [ 7/51] RUN xargs apt install -y < /root/apt-packages.txt 37.6s
=> [ 8/51] RUN rm /root/apt-packages.txt 0.5s
=> [ 9/51] COPY config/autoinstaller.sh /usr/local/bin 0.1s
=> [10/51] RUN chmod +x /usr/local/bin/autoinstaller.sh 0.6s
=> [11/51] RUN if [[ CLI == "xfce4" ]]; then apt install -y xfce4 lightdm xorg firefox-esr network-manager-g 0.6s
=> [12/51] RUN if [[ CLI == "gnome" ]]; then apt install -y gdm* gnome-shell ; fi 0.6s
=> [13/51] RUN if [[ CLI == "mate" ]]; then apt install -y mate-desktop-environment-core lightdm xorg firefo 0.7s
=> [14/51] RUN if [[ CLI == "cinnamon" ]]; then apt install -y cinnamon-common cinnamon-desktop-environment 1.0s
=> [15/51] RUN if [[ CLI == "lxqt" ]]; then apt install -y lightdm xorg lxqt-core ; fi 0.6s
=> [16/51] RUN if [[ CLI == "lxde" ]]; then apt install -y lxde* lightdm xorg firefox-esr mintstick gimp tra 0.6s
=> [17/51] RUN if [[ CLI == "unity" ]]; then wget -qO - https://hub.unity3d.com/linux/keys/public | gpg --de 0.7s
=> [18/51] RUN if [[ CLI == "budgie" ]]; then apt install -y budgie-desktop ; fi 0.8s
=> [19/51] RUN if [[ CLI == "kde" ]]; then apt install -y sddm kde-plasma-desktop xorg ; fi 1.9s
=> [20/51] RUN bash -c 'curl -L --output deb.deb "https://github.com/radxa-pkg/radxa-archive-keyring/releases/la 5.5s
=> [21/51] RUN dpkg -i deb.deb 1.6s
=> [22/51] RUN rm -f deb.deb 0.9s
=> [23/51] RUN bash -c 'source /etc/os-release' 0.7s
=> [24/51] RUN bash -c 'tee /etc/apt/sources.list.d/radxa.list <<< "deb [signed-by=/usr/share/keyrings/radxa-arc 0.6s
=> ERROR [25/51] RUN apt update -y && apt install -y radxa-firmware rsetup 9.5s
------
> [25/51] RUN apt update -y && apt install -y radxa-firmware rsetup:
0.510
0.511 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0.511
1.032 Hit:1 http://deb.debian.org/debian bookworm InRelease
1.033 Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
1.033 Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
1.457 Get:4 https://radxa-repo.github.io/bookworm bookworm InRelease [11.4 kB]
1.854 Err:1 http://deb.debian.org/debian bookworm InRelease
1.854 At least one invalid signature was encountered.
2.676 Err:2 http://deb.debian.org/debian bookworm-updates InRelease
2.676 At least one invalid signature was encountered.
3.444 Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
3.444 At least one invalid signature was encountered.
4.251 Err:4 https://radxa-repo.github.io/bookworm bookworm InRelease
4.251 At least one invalid signature was encountered.
4.325 Reading package lists...
9.162 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian bookworm InRelease: At least one invalid signature was encountered.
9.162 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian bookworm-updates InRelease: At least one invalid signature was encountered.
9.162 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian-security bookworm-security InRelease: At least one invalid signature was encountered.
9.162 W: GPG error: https://radxa-repo.github.io/bookworm bookworm InRelease: At least one invalid signature was encountered.
9.162 E: The repository 'https://radxa-repo.github.io/bookworm bookworm InRelease' is not signed.
------
Dockerfile:71
--------------------
69 | RUN bash -c 'source /etc/os-release'
70 | RUN bash -c 'tee /etc/apt/sources.list.d/radxa.list <<< "deb [signed-by=/usr/share/keyrings/radxa-archive-keyring.gpg] https://radxa-repo.github.io/bookworm/ bookworm main"'
71 | >>> RUN apt update -y && apt install -y radxa-firmware rsetup
72 |
73 | ## Copy the overlay files into the boot folder
--------------------
ERROR: failed to solve: process "/bin/bash -c apt update -y && apt install -y radxa-firmware rsetup" did not complete successfully: exit code: 100
Unable to find image 'debian:finest' locally
docker: Error response from daemon: manifest for debian:finest not found: manifest unknown: manifest unknown.
See 'docker run --help'.
Error response from daemon: No such container: debiancontainer
Error response from daemon: No such container: debiancontainer
cat: config/rootfs_size.txt: No such file or directory
Creating an empty rootfs image...
676331520 bytes (676 MB, 645 MiB) copied, 1 s, 655 MB/s
750+0 records in
750+0 records out
786432000 bytes (786 MB, 750 MiB) copied, 1.64583 s, 478 MB/s
rm: cannot remove 'config/rootfs_size.txt': No such file or directory
mke2fs 1.47.0 (5-Feb-2023)
Discarding device blocks: done
Creating filesystem with 192000 4k blocks and 48000 inodes
Filesystem UUID: 54c63e3f-4782-4d98-8a1b-4f897a53639d
Superblock backups stored on blocks:
32768, 98304, 163840
Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
mke2fs 1.47.0 (5-Feb-2023)
.rootfs.img contains a ext4 file system labelled 'rootfs'
created on Fri Oct 4 01:38:13 2024
Discarding device blocks: done
Creating filesystem with 192000 4k blocks and 48000 inodes
Filesystem UUID: 6ec083af-21d2-4b43-aa04-043010d1c88e
Superblock backups stored on blocks:
32768, 98304, 163840
Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
Error response from daemon: No such container: debiancontainer
tar: .rootfs.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
rm: cannot remove '.loop/root/.dockerenv': No such file or directory
Error response from daemon: cannot kill container: debiancontainer: No such container: debiancontainer
cp: cannot stat '.loop/root/boot/vmlinuz*': No such file or directory
cp: cannot stat '.loop/root/boot/initrd*': No such file or directory
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
rootfs: 11/48000 files (0.0% non-contiguous), 7494/192000 blocks
--------------------------------
SORRY, BUILD WAS NOT SUCCESSFULL
--------------------------------
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Super nice job you have done so far. Got a few questions and feedback.
Any chance this nice tool could support building Ubuntu Server?
I would add
whiptool
to your list ofinstalled dependencies in install.sh. And change the install command in the README to justsudo sh install.sh
.Offer a one line command without the need of Git.
I noted your message in the README that you were working on fixing something. Is it fixed? This was the result of the script process:
Beta Was this translation helpful? Give feedback.
All reactions