Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix and document cowbuild-create-chroots #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ Misc scripts used in building specific vulkan packages for LunarG
- It assumes default pbuilder/cowbuilder chroot location: i.e. /var/cache/pbuilder
- It depends on the ~.pbuilderrc config file in this repository

- <b>cowbuild-create-chroots</b>
Simple script to create the 4 chroots mentioned above. This should be run after copying the .pbuilderrc file to your home directory. The debian-archive-keyring package is required to create the debian chroots.

- <b>cowbuild-update-chroots</b>

Simple script to update the 4 chroots mentioned above. This should be run before the first build of the day.
Simple script to update the 4 chroots mentioned above. This should be run before the first build of the day.

- <b>reprepro-add-lunarg</b>

Expand Down
18 changes: 14 additions & 4 deletions cowbuild-create-chroots
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
#!/bin/sh
sudo DIST=xenial ARCH=amd64 cowbuilder create
sudo DIST=xenial ARCH=i386 cowbuilder create
sudo DIST=stable ARCH=amd64 cowbuilder create
sudo DIST=stable ARCH=i386 cowbuilder create

# Make directories as needed; no error if they already exist.
sudo mkdir -p /var/cache/pbuilder/xenial-amd64
sudo mkdir -p /var/cache/pbuilder/xenial-i386
sudo mkdir -p /var/cache/pbuilder/stretch-amd64
sudo mkdir -p /var/cache/pbuilder/stretch-i386

# Create copy-on-write chroots.
# The debian-archive-keyring package is required to create the debian chroots. e.g.
# $ sudo apt-get install debian-archive-keyring
sudo DIST=xenial ARCH=amd64 cowbuilder --create
sudo DIST=xenial ARCH=i386 cowbuilder --create
sudo DIST=stable ARCH=amd64 cowbuilder --create
sudo DIST=stable ARCH=i386 cowbuilder --create