From 64b0dc730f1c0610fc2271424ae3103044b72824 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Tue, 28 May 2024 14:39:09 -0400 Subject: [PATCH] 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. --- recipes-core/base-files/base-files_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1