]> git.siccegge.de Git - forks/vmdebootstrap.git/blobdiff - examples/cubietruck-customise.sh
Create useable fstab for kfreebsd systems
[forks/vmdebootstrap.git] / examples / cubietruck-customise.sh
index 74a0d5b209507cb4b4893a4a5b0c4ab1ab4d8de2..bef3bcc00741ff778e3d961ee9b9dbe178e9e311 100755 (executable)
@@ -4,9 +4,9 @@ set -e
 
 rootdir=$1
 
-# u-boot needs to be dd'd to the partition
-#cp /usr/lib/u-boot/Cubietruck/uboot.elf /boot/
-#cp /usr/lib/u-boot/Cubietruck/u-boot-sunxi-with-spl.bin /boot/
-
 mkdir -p $rootdir/boot/dtbs
 cp $rootdir/usr/lib/linux-image-*-armmp/* $rootdir/boot/dtbs
+
+for module in phy-sun4i-usb ohci-platform; do
+       echo ${module} >> ${rootdir}/etc/initramfs-tools/modules 
+done