147 |
|
|
148 |
system "sudo debootstrap --arch i386 lenny $debootstrap $debian_mirror"; |
system "sudo debootstrap --arch i386 lenny $debootstrap $debian_mirror"; |
149 |
|
|
150 |
file::append "$debootstrap/etc/kernel-img.conf", "do_initrd = Yes\n" && |
file::append "$debootstrap/etc/apt/sources.list.d/non-free.list", "deb $debian_mirror lenny non-free\n"; |
151 |
in_chroot $debootstrap => 'apt-get install -y --force-yes atl2-modules-2.6-686'; |
in_chroot $debootstrap => 'apt-get update'; |
152 |
|
|
153 |
|
file::append "$debootstrap/etc/kernel-img.conf", "do_initrd = Yes\n"; |
154 |
|
in_chroot $debootstrap => 'apt-get install -y --force-yes atl2-modules-2.6-686 firmware-bnx2'; |
155 |
in_chroot $debootstrap => 'apt-get -f install -y --force-yes locales'; # linux-image-2.6-686 |
in_chroot $debootstrap => 'apt-get -f install -y --force-yes locales'; # linux-image-2.6-686 |
156 |
|
|
157 |
file::append "$debootstrap/etc/initramfs-tools/modules", "atl2\n"; |
file::append "$debootstrap/etc/initramfs-tools/modules", "atl2\n"; |