1
0
Fork 0

Assign device names by part-UUID

This commit is contained in:
Braiden Vasco 2017-07-10 00:28:06 +00:00
parent 1fb49d34b5
commit 09aa02f67c
2 changed files with 3 additions and 4 deletions

View File

@ -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.

View File

@ -0,0 +1 @@
ENV{ID_PART_ENTRY_UUID}=="?*", SYMLINK+="disk/by-partuuid/$env{ID_PART_ENTRY_UUID}"