Skip to content

Commit

Permalink
blacklist was not in initrd
Browse files Browse the repository at this point in the history
  • Loading branch information
psy0rz committed Jun 15, 2024
1 parent 95246b5 commit da9dabc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions install/5-install-alpine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,15 @@ mount --rbind /dev /mnt/newroot/dev
mount --rbind /sys /mnt/newroot/sys
mount --rbind /proc /mnt/newroot/proc


# Blacklist GPUs (issue #3)
cp files/blacklist-gpu.conf $ROOT/etc/modprobe.d

# zfs stuff
echo "/etc/hostid" >> /mnt/newroot/etc/mkinitfs/features.d/zfshost.files
echo 'features="ata base keymap kms mmc nvme scsi usb virtio zfs zfshost"' > /mnt/newroot/etc/mkinitfs/mkinitfs.conf

# rebuild initfs for above two things
chroot /mnt/newroot mkinitfs $(ls /mnt/newroot/lib/modules)

# services
Expand Down
3 changes: 0 additions & 3 deletions install/6-install-extras.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,3 @@ chown -R root:root $ROOT/root/alpinebox
mkdir $ROOT/root/.ssh
touch $ROOT/root/.ssh/authorized_keys

########## Blacklist GPUs (issue #3)
cp files/blacklist-gpu.conf $ROOT/etc/modprobe.d

0 comments on commit da9dabc

Please sign in to comment.