From 74c5e96a4b3d435d01853c1511468bcb9ff7a829 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Tue, 7 May 2024 17:35:04 +0200 Subject: tizen: Use unique directory prefix for baselibs packages 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 --- packaging/baselibs.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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`))" +/ -- cgit v1.2.3