Skip to content

Instantly share code, notes, and snippets.

@catvec
Created January 13, 2019 03:50
Show Gist options
  • Save catvec/70ab7329b77895ae309c27807aec6100 to your computer and use it in GitHub Desktop.
Save catvec/70ab7329b77895ae309c27807aec6100 to your computer and use it in GitHub Desktop.
Void xbps-uchroot (Invalid argument) bug
# Output of running script
# ...
TEST BEFORE
ERROR: Failed to move /var/tmp/void_mklive/void-mklive-master/tmp.WH8p117ovx/void-host as rootfs (Invalid argument)
TEST AFTER
# ...
# In void-linux/void-mklive/mklive.sh
generate_grub_efi_boot() {
# ...
echo "TEST BEFORE"
xbps-uchroot "$VOIDHOSTDIR" ls -- /usr/lib/grub/i386-efi
echo "TEST AFTER"
xbps-uchroot "$VOIDHOSTDIR" grub-mkstandalone -- \
--directory="/usr/lib/grub/i386-efi" \
--format="i386-efi" \
--output="/tmp/bootia32.efi" \
"boot/grub/grub.cfg"
# ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment