projects
/
yocto
/
meta-hvmpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b84fe58
)
Make DATA_PART_ID more generic
author
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 28 May 2024 18:39:09 +0000
(14:39 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 24 Sep 2024 19:22:15 +0000
(15:22 -0400)
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
patch
|
blob
|
history
diff --git
a/recipes-core/base-files/base-files_%.bbappend
b/recipes-core/base-files/base-files_%.bbappend
index
b9f8906
..
b3545cf
100644
(file)
--- 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