summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2024-05-07 17:35:04 +0200
committerKarol Lewandowski <k.lewandowsk@samsung.com>2024-05-20 13:29:28 +0200
commit74c5e96a4b3d435d01853c1511468bcb9ff7a829 (patch)
treefa07b6478ca805450fee3e6eae9b97b1979ac1b5
parentc39847ed65ebf557a682c502192be6b6756f7c69 (diff)
downloadlinux-tizen-modules-74c5e96a4b3d435d01853c1511468bcb9ff7a829.tar.gz
linux-tizen-modules-74c5e96a4b3d435d01853c1511468bcb9ff7a829.tar.bz2
linux-tizen-modules-74c5e96a4b3d435d01853c1511468bcb9ff7a829.zip
Move all files provied by baselibs-converted pacakges to unique directory to avoid conflicts with filesystem package (when both packages are installed to platform image using mic). Change-Id: I1eb73be9144209c8525877de8eeac72d84b076b9 Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
-rw-r--r--packaging/baselibs.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
index 880d769..b8a68f0 100644
--- a/packaging/baselibs.conf
+++ b/packaging/baselibs.conf
@@ -1,10 +1,18 @@
arch aarch64 targets armv7l:aarch64 armv7hl:aarch64
+# prefix macro seems to work globally not per package :(
+prefix /.linux-tizen-modules
+
linux-tizen-modules-rpi4
requires "bash"
requires "coreutils"
requires "findutils"
+ requires "kmod-compat"
+ requires "arm64-rpi4-linux-kernel-modules-aarch64"
autoreqprov off
+ post "cp -a /.linux-tizen-modules/lib/modules/* /lib/modules/"
+ post "cp -a /.linux-tizen-modules/usr/share/licenses/* /usr/share/licenses/"
+ post "rm -rf /.linux-tizen-modules"
post "/sbin/depmod -a $(basename $(dirname `find /lib/modules -name extra | head -1`))"
+/
@@ -13,6 +21,10 @@ linux-tizen-modules-rpi4-rt
requires "coreutils"
requires "findutils"
requires "kmod-compat"
+ requires "arm64-rpi4-rt-linux-kernel-modules-aarch64"
autoreqprov off
+ post "cp -a /.linux-tizen-modules/lib/modules/* /lib/modules/"
+ post "cp -a /.linux-tizen-modules/usr/share/licenses/* /usr/share/licenses/"
+ post "rm -rf /.linux-tizen-modules"
post "/sbin/depmod -a $(basename $(dirname `find /lib/modules -name extra | head -1`))"
+/