Open LouDnl opened 3 years ago
I logged in through SSH and restarted everything and this is the point it crashes: `[ o.k. ] Calling image customization script [ customize-image.sh ] qemu: uncaught target signal 11 (Segmentation fault) - core dumped /tmp/customize-image.sh: line 26: 31990 Segmentation fault (core dumped) sudo -s <<'EOF'
useradd bitcoin -m -s /bin/bash --groups sudo echo "bitcoin:bitcoin" | chpasswd echo "bitcoin ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/bitcoin EOF
qemu: uncaught target signal 11 (Segmentation fault) - core dumped /tmp/customize-image.sh: line 38: 31994 Segmentation fault (core dumped) sudo -s <<'EOF' git clone https://github.com/bitcoin/bitcoin.git /usr/local/src/bitcoin cd /usr/local/src/bitcoin git checkout v0.17.0
git clone https://github.com/bitcoin-core/packaging.git /usr/local/src/packaging EOF
qemu: uncaught target signal 11 (Segmentation fault) - core dumped /tmp/customize-image.sh: line 40: 31998 Segmentation fault (core dumped) sudo cp /tmp/overlay/bin/bitcoin* /usr/local/bin qemu: uncaught target signal 11 (Segmentation fault) - core dumped /tmp/customize-image.sh: line 43: 32002 Segmentation fault (core dumped) sudo cp /tmp/overlay/bin/bitcoin-qt /usr/local/bin qemu: uncaught target signal 11 (Segmentation fault) - core dumped /tmp/customize-image.sh: line 63: 32006 Segmentation fault (core dumped) sudo -s <<'EOF' mkdir /home/bitcoin/.bitcoin mkdir /home/bitcoin/.bitcoin/wallets cp /tmp/overlay/bitcoin/bitcoin.conf /home/bitcoin/.bitcoin
cp -r /tmp/overlay/bitcoin/chainstate /home/bitcoin/.bitcoin cp -r /tmp/overlay/bitcoin/blocks /home/bitcoin/.bitcoin
chown -R bitcoin:bitcoin /home/bitcoin/.bitcoin EOF
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
/tmp/customize-image.sh: line 86: 32010 Segmentation fault (core dumped) sudo -s <<'EOF'
if ! su - bitcoin -c "gpg --keyserver pgp.surfnet.nl --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89" ; then
if ! su - bitcoin -c "gpg --keyserver pgp.mit.edu --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89" ; then
exit 1
fi
fi
su - bitcoin -c "gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89" | apt-key add -
cat <
Created symlink /etc/systemd/system/multi-user.target.wants/first_boot.service → /etc/systemd/system/first_boot.service. qemu: uncaught target signal 11 (Segmentation fault) - core dumped /tmp/customize-image.sh: line 114: 32020 Segmentation fault (core dumped) sudo -s <<'EOF' apt remove -y nodm apt-get install -y lightdm lightdm-gtk-greeter xfce4 onboard
cp /tmp/overlay/rocket.jpg /usr/share/backgrounds/xfce/rocket.jpg
mkdir -p /home/bitcoin/.config/xfce4/xfconf/xfce-perchannel-xml
cp /tmp/overlay/xfce4-desktop.xml /home/bitcoin/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
cp /tmp/overlay/lightdm-gtk-greeter.conf /etc/lightdm/lightdm-gtk-greeter.conf
mkdir -p /home/bitcoin/Desktop
mkdir -p /home/bitcoin/.config/autostart
cp /usr/local/src/packaging/debian/bitcoin-qt.desktop /home/bitcoin/Desktop
chmod +x /home/bitcoin/Desktop/bitcoin-qt.desktop
cp /tmp/overlay/keyboard.desktop /home/bitcoin/.config/autostart
chown -R bitcoin:bitcoin /home/bitcoin/Desktop
chown -R bitcoin:bitcoin /home/bitcoin/.config
cp /usr/local/src/bitcoin/share/pixmaps/bitcoin128.png /usr/share/pixmaps
cp /usr/local/src/bitcoin/share/pixmaps/bitcoin256.png /usr/share/pixmaps
cp /tmp/overlay/scripts/first_boot_desktop.service /etc/systemd/system
systemctl enable first_boot_desktop.service
systemctl set-default graphical.target
EOF
[ error ] ERROR in function customize_image [ image-helpers.sh:119 ] [ error ] customize-image.sh exited with error (rc: 139) [ o.k. ] Process terminated [ o.k. ] Unmounting [ /home/armbrian/build/.tmp/rootfs-current-orangepipc-bionic-yes-no/ ] [ error ] ERROR in function unmount_on_exit [ image-helpers.sh:66 ] [ error ] debootstrap-ng was interrupted [ o.k. ] Process terminated `
Hi @LouDnl sorry for pinging you 3 years later, but I would like to know if you figured it out.
Orange pi is much easier to access where I live, compared to raspberry, that's why I'm interested in this setup.
Oh wow, I cant even remember trying to build this 3 years ago. I gave away my OrangePi in favor of RPi.
Have been trying to compile this for my OrangePi PC using your guide on medium.com. Unfortunatly the creation of the image keeps failing (I think near the end) on the VirtualBox installation. Have tried several things but no success. Is this repo still working? My command line: ./armbian-bitcoin-core/prepare-build.sh -g j4 -b 32 v0.20.1
I have tried with the '-l c' option but then it fails too. latest error messages are: [ error ] ERROR in function customize_image [ image_helpers.sh:119 ] [ error ] customize-image.sh exited with error (rc:139) [ error ] ERROR in function unmount_on_exit [ image-helpers.sh:66 ] [ error ] debootstrap-ng was interrupted
I know for sure there are errors above that but I cannot seem to scroll up in the virtualbox installation.