Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 4/4] profiles: Add an amd64 no-lib-symlink profile
Date: Sat, 09 Jul 2016 21:04:01
Message-Id: 20160709210128.25449-5-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/4] New no-lib-symlink profile for developers by "Michał Górny"
1 Add an amd64 no-symlink profile that removes 'lib' symlink from
2 the (current) default amd64 profile. Please note that this is not really
3 a standard configuration (unlike the lib+lib64 model) but a profile
4 intended to help developers find mispackaged software.
5
6 It provides a clean split where lib64 contains 64-bit libraries, lib32
7 -- 32-bit libraries, and lib -- any other software packages (i.e.
8 the new-style libexec use).
9 ---
10 profiles/arch/amd64/no-lib-symlink/make.defaults | 2 ++
11 profiles/arch/amd64/no-lib-symlink/parent | 1 +
12 profiles/default/linux/amd64/13.0/no-lib-symlink/parent | 2 ++
13 profiles/profiles.desc | 1 +
14 4 files changed, 6 insertions(+)
15 create mode 100644 profiles/arch/amd64/no-lib-symlink/make.defaults
16 create mode 100644 profiles/arch/amd64/no-lib-symlink/parent
17 create mode 100644 profiles/default/linux/amd64/13.0/no-lib-symlink/parent
18
19 diff --git a/profiles/arch/amd64/no-lib-symlink/make.defaults b/profiles/arch/amd64/no-lib-symlink/make.defaults
20 new file mode 100644
21 index 0000000..a715cf1
22 --- /dev/null
23 +++ b/profiles/arch/amd64/no-lib-symlink/make.defaults
24 @@ -0,0 +1,2 @@
25 +# do not want lib -> lib64 symlink, let lib be a directory on its own!
26 +SYMLINK_LIB="no"
27 diff --git a/profiles/arch/amd64/no-lib-symlink/parent b/profiles/arch/amd64/no-lib-symlink/parent
28 new file mode 100644
29 index 0000000..f3229c5
30 --- /dev/null
31 +++ b/profiles/arch/amd64/no-lib-symlink/parent
32 @@ -0,0 +1 @@
33 +..
34 diff --git a/profiles/default/linux/amd64/13.0/no-lib-symlink/parent b/profiles/default/linux/amd64/13.0/no-lib-symlink/parent
35 new file mode 100644
36 index 0000000..2a54eb8
37 --- /dev/null
38 +++ b/profiles/default/linux/amd64/13.0/no-lib-symlink/parent
39 @@ -0,0 +1,2 @@
40 +../../../../../arch/amd64/no-lib-symlink
41 +..
42 diff --git a/profiles/profiles.desc b/profiles/profiles.desc
43 index 2634742..9c4160f 100644
44 --- a/profiles/profiles.desc
45 +++ b/profiles/profiles.desc
46 @@ -26,6 +26,7 @@ amd64 default/linux/amd64/13.0/desktop/kde/systemd stable
47 amd64 default/linux/amd64/13.0/desktop/plasma stable
48 amd64 default/linux/amd64/13.0/desktop/plasma/systemd stable
49 amd64 default/linux/amd64/13.0/developer stable
50 +amd64 default/linux/amd64/13.0/no-lib-symlink dev
51 amd64 default/linux/amd64/13.0/no-multilib dev
52 amd64 default/linux/amd64/13.0/systemd stable
53 amd64 default/linux/amd64/13.0/x32 dev
54 --
55 2.9.0

Replies