Skip to content

Instantly share code, notes, and snippets.

@RobertCNelson
Created April 15, 2015 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobertCNelson/46021c3385861b2086ba to your computer and use it in GitHub Desktop.
Save RobertCNelson/46021c3385861b2086ba to your computer and use it in GitHub Desktop.
#!/bin/sh -e
# Copy the compatibility symlinks until initramfs-tools will be converted
# to use the kmod program.
if [ "$1" = "prereqs" ]; then exit 0; fi
. /usr/share/initramfs-tools/hook-functions
mkdir -p $DESTDIR/lib/firmware/
cp -a /lib/firmware/*.dtbo $DESTDIR/lib/firmware/
@jadonk
Copy link

jadonk commented Apr 15, 2015

!/bin/sh -e

Copy the compatibility symlinks until initramfs-tools will be converted

to use the kmod program.

if [ "$1" = "prereqs" ]; then exit 0; fi

. /usr/share/initramfs-tools/hook-functions

mkdir -p $DESTDIR/lib/firmware/
cp -a /lib/firmware/* $DESTDIR/lib/firmware/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment