Skip to content

Commit

Permalink
Remove mkinitcpio modules changing
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtpep committed Mar 26, 2015
1 parent bb52146 commit 7255fd3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions root.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ do-configure-locale() {
}

do-make-initramfs() {
mkinitcpio_modules=(
ahci
)
mkinitcpio_hooks=(
base
udev
Expand All @@ -123,7 +120,6 @@ do-make-initramfs() {
keyboard
fsck
)
sudo sed -i "s/^\(MODULES\)=.*/\1=\"`echo ${mkinitcpio_modules[@]}`\"/" $mnt_dir/etc/mkinitcpio.conf
sudo sed -i "s/^\(HOOKS\)=.*/\1=\"`echo ${mkinitcpio_hooks[@]}`\"/" $mnt_dir/etc/mkinitcpio.conf

chroot-cmd mkinitcpio -p linux
Expand Down

0 comments on commit 7255fd3

Please sign in to comment.