SHARE
TWEET

Untitled

a guest Jan 7th, 2013 181 Never
  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:
RAW Paste Data
Top