From: Hugo Villeneuve Date: Tue, 28 May 2024 18:39:09 +0000 (-0400) Subject: Make DATA_PART_ID more generic X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=64b0dc730f1c0610fc2271424ae3103044b72824;p=yocto%2Fmeta-hvmpd.git Make DATA_PART_ID more generic So that they can be set to anything, like: DATA_PART_ID = "UUID=12345..." This makes it possible to mount an external USB disk as a data partition for example. --- diff --git a/recipes-core/base-files/base-files_%.bbappend b/recipes-core/base-files/base-files_%.bbappend index b9f8906..b3545cf 100644 --- a/recipes-core/base-files/base-files_%.bbappend +++ b/recipes-core/base-files/base-files_%.bbappend @@ -29,7 +29,7 @@ do_install:append () { fi if [ x"${DATA_PART_ID}" != x"" ]; then - echo "${ROOT_PARENT_DEV}${ROOT_PART_PREFIX}${DATA_PART_ID} /mnt/data auto defaults 0 0" >> \ + echo "${DATA_PART_ID} /mnt/data auto defaults 0 0" >> \ ${D}${sysconfdir}/fstab fi