Assign device names by part-UUID
This commit is contained in:
parent
1fb49d34b5
commit
09aa02f67c
6
build.sh
6
build.sh
|
@ -253,11 +253,9 @@ rm -fv '/etc/ssh/ssh_host_rsa_key'
|
|||
rm -fv '/etc/ssh/ssh_host_rsa_key.pub'
|
||||
|
||||
##
|
||||
# ?????
|
||||
# Assign device names by part-UUID
|
||||
#
|
||||
on_chroot << EOF
|
||||
apt-get install -y raspberrypi-sys-mods
|
||||
EOF
|
||||
apply_file 644 '/lib/udev/rules.d/61-partuuid.rules'
|
||||
|
||||
##
|
||||
# Configure network.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ENV{ID_PART_ENTRY_UUID}=="?*", SYMLINK+="disk/by-partuuid/$env{ID_PART_ENTRY_UUID}"
|
Reference in New Issue