File: uml

package info (click to toggle)
rootstrap 0.3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 116 kB
  • ctags: 37
  • sloc: python: 126; makefile: 68; sh: 59
file content (12 lines) | stat: -rw-r--r-- 310 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Make bootable without DevFS
mknod $TARGET/dev/ubd0 b 98 0

chroot $TARGET /bin/sh -c 'cd /dev && ./MAKEDEV ubd'

echo "/dev/ubd0 / $fstype defaults 0 1" > $TARGET/etc/fstab

if [ "$install_modules" = "yes" -a -d /usr/lib/uml/modules ]; then
    cp -R /usr/lib/uml/modules/* $TARGET/lib/modules
fi