~registry/jasper-initramfs/trunk

« back to all changes in this revision

Viewing changes to hooks/jasper

  • Committer: Brian Murray
  • Date: 2022-11-14 19:17:15 UTC
  • Revision ID: brian@canonical.com-20221114191715-m5bhxl5zusjisyw3
Move to https://code.launchpad.net/~ubuntu-dev/jasper-initramfs/+git/main

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
2
 
# initramfs hook for jasper
3
 
 
4
 
PREREQ=""
5
 
 
6
 
# Output pre-requisites
7
 
prereqs()
8
 
{
9
 
        echo "$PREREQ"
10
 
}
11
 
 
12
 
case "$1" in
13
 
    prereqs)
14
 
        prereqs
15
 
        exit 0
16
 
        ;;
17
 
esac
18
 
 
19
 
. /usr/share/initramfs-tools/hook-functions
20
 
 
21
 
copy_exec /sbin/resize2fs /sbin
22
 
copy_exec /sbin/e2fsck /sbin
23
 
copy_exec /sbin/tune2fs /sbin
24
 
copy_exec /sbin/sfdisk /sbin
25
 
copy_exec /sbin/fdisk /sbin
26
 
copy_exec /usr/bin/uuidgen /bin
27
 
copy_exec /bin/sync /bin
28
 
copy_exec /sbin/dosfslabel /sbin
29
 
copy_exec /sbin/mkswap /sbin
30
 
copy_exec /usr/bin/bc /bin