Open orgua opened 1 year ago
script fails on WSL with ubuntu 20.04:
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting util-linux...
I: Extracting zlib1g...
I: Extracting libgcc1...
Log: Size of: [/home/hans/omap-image-builder/ignore/tmp.DAkTcYjvnc]: 320M
Log: /bin/bash -e "${OIB_DIR}/scripts/chroot.sh"
sudo cp -v /usr/bin/qemu-arm-static "/home/hans/omap-image-builder/ignore/tmp.DAkTcYjvnc/usr/bin/"
'/usr/bin/qemu-arm-static' -> '/home/hans/omap-image-builder/ignore/tmp.DAkTcYjvnc/usr/bin/qemu-arm-static'
Log: Running: debootstrap second-stage in [/home/hans/omap-image-builder/ignore/tmp.DAkTcYjvnc]
Log: [sudo chroot /home/hans/omap-image-builder/ignore/tmp.DAkTcYjvnc debootstrap/debootstrap --second-stage]
chroot: failed to run command ‘debootstrap/debootstrap’: Exec format error
Log: umount: [/home/hans/omap-image-builder/ignore/tmp.DAkTcYjvnc/run]
also, prereqs are - via apt:
For debian 11.6 more prereqs were installed (mostly reading through threads in the web):
try to build ubuntu, following the readme
>> ./RootStock-NG.sh -c rcn-ee.net-console-ubuntu-focal-v5.10-ti-armhf
- init
- retrieve & validate many packages
- still fails at same error as above
each execution will add a subfolder in ./ignore/
sudo du -hc --max-depth=1 ./
bootstrap-config broken? /usr/share/debootstrap/scripts/focal nano /usr/share/debootstrap/scripts/gutsy
there seems to come no update to ubuntu 22.04. but at least it was updated to 20.04.05 recently
alternate method, try buildroot, semi-official beagle or alternatively here.
WSL1 might be the problem on W10, so check current status
PS> wsl --list --verbose
NAME STATE VERSION
* Ubuntu-22.04 Stopped 1
Debian Stopped 1
Ubuntu Stopped 1
Update internals
PS> wsl --update
PS> wsl --set-default-version 2
change nothing at first, maybe only for new distros? So force one distro to V2
PS> wsl --set-version Debian 2
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
Conversion in progress, this may take a few minutes.
The operation completed successfully.
PS> wsl --list --verbose
NAME STATE VERSION
* Ubuntu-22.04 Stopped 1
Debian Stopped 2
Ubuntu Stopped 1
update seems instantly!
@ubuntu :~$ uname -a
Linux Host 4.4.0-19041-Microsoft #2311-Microsoft Tue Nov 08 17:09:00 PST 2022 x86_64 x86_64 x86_64 GNU/Linux
@debian :~$ uname -a
Linux Hoellenmaschine2020 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 GNU/Linux
Omap builder still fails though :( but a Linux-VM is getting past the critical point!
current state:
new approach: