From: David K. <da...@ke...> - 2020-02-24 18:43:51
|
Thanks Michael. I will take another try at this once 20.04 comes out. I wonder wither ZFS will be default for that or still experimental given 20.04 will be a LTS release. David On Mon, Feb 24, 2020 at 6:09 AM Michael Keuter <li...@mk...> wrote: > > > > Am 06.11.2019 um 03:54 schrieb David Kerr <da...@ke...>: > > > > As usual I'm an early adopter and installed Ubuntu 19.10. Only two > issues of note the first I had reported to this list for 19.04 and is that > crosstools configure does a version check for Bash version >3.1. It checks > for 3, 4 and no more. Ubuntu is on v5 so it failed that check. This time > I went to the trouble of creating a patch which you can find in this commit > (plus update to the readme)... > https://github.com/dkerr64/astlinux/commit/a09900124220dd8f4c5cfe6f7d8a71e58bbeeaab > > > > Now the second problem I have not bothered to troubleshoot. Being > totally crazy I first installed Ubuntu 19.10 with the ZFS file system. > Which is clearly flagged as experimental. But you know, how bad could it > be? lets try it. Well don't bother. I ran into a problem towards end of > initrd.img build. I don't know what the issue is but it just smelled like > maybe something to do with the file system. So I fired up another VM and > installed again with regular old ext4 and everything is happy. Astlinux > builds and runs. > > > > Here's the part that fails on ZFS for those enquiring minds... oh, and > googling finds... > http://lists.busybox.net/pipermail/buildroot/2016-March/157508.html > > > > >>> host-makedevs buildroot-astlinux-1.x Extracting > > >>> host-makedevs buildroot-astlinux-1.x Patching package/makedevs > > >>> host-makedevs buildroot-astlinux-1.x Configuring > > >>> host-makedevs buildroot-astlinux-1.x Building > > /usr/bin/gcc -O2 -I/home/david/github/astlinux/output/host/usr/include > -L/home/david/github/astlinux/output/host/lib > -L/home/david/github/astlinux/output/host/usr/lib > -Wl,-rpath,/home/david/github/astlinux/output/host/usr/lib > package/makedevs/makedevs.c -o > /home/david/github/astlinux/output/build/host-makedevs-buildroot-astlinux-1.x/makedevs > > >>> host-makedevs buildroot-astlinux-1.x Installing to host directory > > /usr/bin/install -D -m 755 > /home/david/github/astlinux/output/build/host-makedevs-buildroot-astlinux-1.x/makedevs > /home/david/github/astlinux/output/host/usr/bin/makedevs > > >>> Generating root filesystem image rootfs.ext2 > > rm -f /home/david/github/astlinux/output/images/rootfs.ext2 > > rm -f /home/david/github/astlinux/output/build/_fakeroot.fs > > echo '#!/bin/sh' > /home/david/github/astlinux/output/build/_fakeroot.fs > > echo 'set -e' >> /home/david/github/astlinux/output/build/_fakeroot.fs > > echo "chown -R 0:0 /home/david/github/astlinux/output/target" >> > /home/david/github/astlinux/output/build/_fakeroot.fs > > cat project/initrd/device_table.txt project/initrd/device_table_dev.txt > > /home/david/github/astlinux/output/build/_device_table.txt > > echo "/home/david/github/astlinux/output/host/usr/bin/makedevs -d > /home/david/github/astlinux/output/build/_device_table.txt > /home/david/github/astlinux/output/target" >> > /home/david/github/astlinux/output/build/_fakeroot.fs > > echo " > PATH="/home/david/github/astlinux/output/host/bin:/home/david/github/astlinux/output/host/usr/bin:/home/david/github/astlinux/output/host/usr/sbin/:/sbin:/usr/sbin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" > fs/ext2/genext2fs.sh -d /home/david/github/astlinux/output/target > /home/david/github/astlinux/output/images/rootfs.ext2" >> > /home/david/github/astlinux/output/build/_fakeroot.fs > > chmod a+x /home/david/github/astlinux/output/build/_fakeroot.fs > > /home/david/github/astlinux/output/host/usr/bin/fakeroot -- > /home/david/github/astlinux/output/build/_fakeroot.fs > > rootdir=/home/david/github/astlinux/output/target > > table='/home/david/github/astlinux/output/build/_device_table.txt' > > genext2fs: couldn't allocate a block (no free space) > > make: *** [fs/ext2/ext2.mk:38: > /home/david/github/astlinux/output/images/rootfs.ext2] Error 1 > > > > real 3m52.915s > > user 2m47.901s > > sys 1m4.448s > > Initrd build failed. > > mkdir -p /home/david/github/astlinux/output/build/buildroot-config > > # > > # configuration written to /home/david/github/astlinux/.config > > # > > Hi David, > > sorry being so late, I just stumbled upon this post again. > For the second ZFS part: I am running the AstLinux build engine on Proxmox > in an old Debian 8 container on ZFS. > > I do sometimes see the same genext2fs error you described. > For me it helps just to start the build process again (only creating the > image, no clean build). > > Michael > > http://www.mksolutions.info > > > > > > _______________________________________________ > Astlinux-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-devel > |