~mwhudson/livecd-rootfs/live-server-kernel-futzing

« back to all changes in this revision

Viewing changes to live-build/ubuntu-server/hooks/033-kernel-bits.binary

  • Committer: Michael Hudson-Doyle
  • Date: 2018-12-06 01:27:32 UTC
  • Revision ID: michael.hudson@canonical.com-20181206012732-ezje91ugfb30ekky
i h8te shell

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
        mv "$KERNEL_BITS_ROOT"/boot/vmlinu?-* ${PWD}/livecd.${PROJECT}.$kernel_f
85
85
 
86
86
        # Create squashfs containing all the modules
 
87
        modules_squashfs_path="${PWD}/livecd.${PROJECT}.$modules_squashfs_f"
87
88
        (cd "$KERNEL_BITS_ROOT/lib/modules" &&
88
 
              mksquashfs . "${PWD}/livecd.${PROJECT}.$modules_squashfs_f" \
 
89
              mksquashfs . $modules_squashfs_path \
89
90
                -no-progress -xattrs -comp xz )
90
91
 
91
92
        # And clean up