Merge pull request #10185 from bjornfor/build-fhs-env-with-usr-include
build-fhs-chrootenv: add missing /usr/include
This commit is contained in:
commit
4236131295
1 changed files with 7 additions and 0 deletions
|
@ -182,6 +182,12 @@ let
|
|||
setupLibDirs = if isTargetBuild then setupLibDirs_target
|
||||
else setupLibDirs_multi;
|
||||
|
||||
setupIncludeDir = ''
|
||||
if [ -x "${staticUsrProfileTarget}/include" ]
|
||||
then
|
||||
ln -s "${staticUsrProfileTarget}/include"
|
||||
fi
|
||||
'';
|
||||
|
||||
# the target profile is the actual profile that will be used for the chroot
|
||||
setupTargetProfile = ''
|
||||
|
@ -192,6 +198,7 @@ let
|
|||
cd usr
|
||||
${linkProfile staticUsrProfileTarget}
|
||||
${setupLibDirs}
|
||||
${setupIncludeDir}
|
||||
cd ..
|
||||
rm -rf usr/etc usr/var
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue