Created
January 13, 2019 03:50
-
-
Save catvec/70ab7329b77895ae309c27807aec6100 to your computer and use it in GitHub Desktop.
Void xbps-uchroot (Invalid argument) bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
# ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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