summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2021-02-24 19:19:48 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2021-03-23 17:34:45 +0100
commit691489bbe45b79310c2016ba7c4e6bf5a07547c8 (patch)
tree528d026e6c9b43f7d3545c9f4892126af8fcad50 /classes
parent6e7481b6373c18915abec98f1d56f684268e221b (diff)
udev: mount.sh: create a symlink to the partition with the bootfiles
Add to the mount.sh script code which creates a symlink to partition with the bootfiles if that can be guessed from the rootfs partition. Scan the /proc/cmdline for the rootfs partition. If this is the second partition of a block device and a first partition exists it creates the symlink /dev/boot-part. /etc/fstab consumes the symlink to mount that at /boot. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit c8651feae915eeac23510565dde0f64557696de7)
Diffstat (limited to 'classes')
0 files changed, 0 insertions, 0 deletions