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

Fetch bootstrap and packages for Linux/el7 #20

Open
Ottaviocr opened this issue Jul 31, 2020 · 0 comments
Open

Fetch bootstrap and packages for Linux/el7 #20

Ottaviocr opened this issue Jul 31, 2020 · 0 comments

Comments

@Ottaviocr
Copy link

Ottaviocr commented Jul 31, 2020

In Fetch bootstrap and packages, there are missing instructions for Linux/el6 and Linux/el7. I have tried this:

# mkdir -p /data/packages/Linux/el7/bootstrap-pbulk
# cd   /data/packages/Linux/el7/bootstrap-pbulk
# for bs in tools x86_64; do curl -O https://pkgsrc.joyent.com/packages/Linux/el7/bootstrap-pbulk/bootstrap-el7-trunk-${bs}.tar.gz; done

It does work, but with some errors:

# run-sandbox el7-trunk-x86_64 
Creating /data/chroot/dev-el7-trunk-x86_64...rsync: link_stat "/root/.ssh" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]
done.
Unpacking bootstrap-el7-trunk-x86_64 into /data/chroot/dev-el7-trunk-x86_64...done.
Setting up environment...done.
Installing additional tools packages...done.
Logging in.  WARNING: On logout the sandbox will be destroyed.
bash: cannot set terminal process group (17815): Inappropriate ioctl for device
bash: no job control in this shell
---(/data/chroot/dev-el7-trunk-x86_64)-<~>--
-> 

I have tried this on a Debian host. I didn't have the time to test it in a Centos VM.

I also wanted to add that, when in the chroot, I don't have /data/pkgsrc:

---(/data/chroot/dev-el7-trunk-x86_64)-<~>--
-> ls /data/
bulklog  distfiles  jenkins  manta  packages  pkgsrc-eng
---(/data/chroot/dev-el7-trunk-x86_64)-<~>--
-> ls /data/pkgsrc-eng/
---(/data/chroot/dev-el7-trunk-x86_64)-<~>--
-> ls -al /data/pkgsrc-eng/
total 8
drwxr-xr-x 2 root root 4096 Jul 31 14:28 .
drwxr-xr-x 8 root root 4096 Jul 31 14:28 ..
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

1 participant