Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to use a different lowerdir in overlay mount #20

Open
dagmoller opened this issue Sep 11, 2017 · 4 comments
Open

Option to use a different lowerdir in overlay mount #20

dagmoller opened this issue Sep 11, 2017 · 4 comments

Comments

@dagmoller
Copy link

Use a different lowerdir on overlay mount instead of '/'...

Sample:
Install all slackware packages on alternate root:
installpkg --root $LOWERDIR/ --terse /mnt/cdrom/slackware64/{a,ap,d,e,f,k,kde,l,n,t,tcl,x,xap}/*.t?z

With that the build tree is always clean...

(Sorry my English...)

@dagmoller
Copy link
Author

Thanks @idlemoor it's working... but if I specify -vv in slackrepo build command i got this:

env MAKEFLAGS='-j8 -l5' /usr/libexec/slackrepo/unbuffer nice -n 5 bash -x ./libupnp.SlackBuild

---->8-------->8-------->8-------->8-------->8-------->8-------->8-------->8----

env: '/usr/libexec/slackrepo/unbuffer': No such file or directory

Maybe /usr/libexec/slackrepo must be mounted inside chroot?

@idlemoor
Copy link
Owner

Hah!!

Thanks for a GREAT idea -- but I'm still experimenting with it and fixing bugs!
I was going to answer here when it works :)
Yes, I just found the same problem myself -- the chroot needs to have slackrepo installed in it, and also possibly fakeroot, and also possibly /etc/sudoers.d/slackrepo needs to be edited :)

I'll update you when I've finished fixing the bugs :)

Thanks again :)

@idlemoor
Copy link
Owner

Just a quick progress report: this is actually more difficult that I thought, because the chroot might be a different version of Slackware. It will take me a few more days to finish it :(

@dagmoller
Copy link
Author

apparently slackrepo is not creating users and groups inside chroot if these users/groups already exists outside chroot...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants