Adding TARGET_DEVICE pickup for use within the debos image creation recipe
This commit is contained in:
parent
435ea2adb7
commit
9359fba54f
1 changed files with 4 additions and 0 deletions
4
debian/postinst
vendored
4
debian/postinst
vendored
|
|
@ -29,6 +29,10 @@ then
|
|||
target_checksum="4478ce425e593fb708b86234a8ea83e6fcdaaeec"
|
||||
fi
|
||||
|
||||
if [ "$device" == unknown ]; then
|
||||
device=$TARGET_DEVICE
|
||||
fi
|
||||
|
||||
[ -e /lib/udev/rules.d/80-keyboard.rules ] || \
|
||||
cp /usr/lib/gemian/udev-rules/80-keyboard-$device.rules /lib/udev/rules.d/80-keyboard.rules
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue