nodejs patches
This commit is contained in:
+14
-8
@@ -41,15 +41,21 @@ echo "coping rootfs"
|
||||
cp rootfs/* $CHIBRAX_MOUNT_POINT -r
|
||||
echo "done"
|
||||
|
||||
echo "removing arch's grub hooks"
|
||||
rm rootfs/etc/grub.d/10_linux
|
||||
rm rootfs/etc/grub.d/20_linux_xen
|
||||
#celui sert a rien tant qu'on ne supporte pas l'uefi
|
||||
rm rootfs/etc/grub.d/30_uefi-firmware
|
||||
|
||||
echo "installing grub"
|
||||
arch-chroot $CHIBRAX_MOUNT_POINT grub-install --target=i386-pc ${LOOP_ROOT} --modules=part_msdos
|
||||
arch-chroot $CHIBRAX_MOUNT_POINT grub-mkconfig -o /boot/grub/grub.cfg
|
||||
mount --rbind /dev /mnt/mychroot/dev
|
||||
mount --make-rslave /mnt/mychroot/dev
|
||||
mount -t proc /proc /mnt/mychroot/proc
|
||||
mount --rbind /sys /mnt/mychroot/sys
|
||||
mount --make-rslave /mnt/mychroot/sys
|
||||
mount --rbind /tmp /mnt/mychroot/tmp
|
||||
|
||||
chroot $CHIBRAX_MOUNT_POINT grub-install --target=i386-pc ${LOOP_ROOT} --modules=part_msdos
|
||||
chroot $CHIBRAX_MOUNT_POINT grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
umount /mnt/mychroot/dev
|
||||
umount /mnt/mychroot/proc
|
||||
umount /mnt/mychroot/sys
|
||||
umount /mnt/mychroot/tmp
|
||||
|
||||
PARTUUID=$(lsblk $LOOP --fs | awk '{print $4}' | grep -v LABEL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user