This website requires JavaScript.
Explore
Help
Register
Sign In
sig_cloud
/
diskimage-builder
Watch
2
Star
0
Fork
0
You've already forked diskimage-builder
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
4dced6e90d
diskimage-builder
/
elements
/
gentoo
/
environment.d
/
00-gentoo-distro-name.bash
3 lines
94 B
Bash
Raw
Normal View
History
Unescape
Escape
Fix Gentoo hardened support This checks the profile, if it has hardened in it's name it needs xattr support unfortunately xattr support cannot yet be relied on everywhere, so it needs to be disabled for hardened profile builds to correctly pax-mark. Change-Id: I7fb855249a9e6c9b6497ab5061b4ea3c014f5081 Closes-Bug: 1537177
2016-01-28 22:24:12 +00:00
export
DISTRO_NAME
=
gentoo
Fix building on gentoo hosts This patch fixes the profile autodetect. If the profile was passed at install time, it would overridden by the environment.d script. This was fixed by accepting the value passed by the user, if one was passed. The enviroment.d file is run outside of chroot, because of this eselect will not be available on non-gentoo systems. We change the behavior to work elsewhere, it was not working on non-gentoo systems and giving bad results on gentoo systems (returing values from the host, not the guest being built). This patch also fixes shm detection by checking if it is mounted already. Change-Id: Ie58d8e19529a731bfbc9eeb4bb246988d1aaa772
2016-02-19 06:06:38 +00:00
export
GENTOO_PROFILE
=
${
GENTOO_PROFILE
:-
'default/linux/amd64/13.0'
}
Reference in New Issue
Copy Permalink