Advertisement
Guest User

Untitled

a guest
Jan 7th, 2013
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.46 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. build() {
  4.     add_dir /mnt
  5.     add_module ext3
  6.     add_binary cpio
  7.     add_binary xz
  8.     add_binary gzip
  9.     add_binary lzop
  10.     add_binary fsck.ext4
  11.     add_symlink /usr/bin/fsck.ext2 fsck.ext4
  12.     add_symlink /usr/bin/fsck.ext3 fsck.ext4
  13.    
  14.     add_runscript
  15. }
  16.  
  17. help() {
  18.     cat <<HELPEOF
  19. This hook creates the tmpfs root, mounts the device that contains the
  20. rootfs and extracts it into the tmpfs root.
  21. HELPEOF
  22. }
  23.  
  24. # vim: set ft=sh ts=4 sw=4 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement