Skip to content

Instantly share code, notes, and snippets.

@kraj
Created August 29, 2018 23:08
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 kraj/5f7fe890384c63ca24ed577b9982fc92 to your computer and use it in GitHub Desktop.
Save kraj/5f7fe890384c63ca24ed577b9982fc92 to your computer and use it in GitHub Desktop.
set -e
if test -n "$D"; then
if true; then
PSEUDO_UNLOAD=1 qemu-riscv64 -r 4.15 -L $D -E LD_LIBRARY_PATH=$D/usr/lib:$D/lib $D/bin/udevadm hwdb --update \
--root $D
chown root:root $D/etc/udev/hwdb.bin
else
$INTERCEPT_DIR/postinst_intercept delay_to_first_boot udev-hwdb mlprefix=
fi
else
udevadm hwdb --update
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment