add build to .gitignore and add xbuilder group
continuous-integration/drone/push Build is passing Details

master
eater 5 years ago
parent f55cdd652e
commit 57f812f833
Signed by: eater
GPG Key ID: 656785D50BE51C0A

1
.gitignore vendored

@ -1 +1,2 @@
*.log
build

@ -60,9 +60,13 @@ build: ensure-toolbox
# Create build directory
mkdir $(BUILDDIR)
# Create keys database directory
mkdir -p $(BUILDDIR)/var/db/xbps
mkdir -p $(BUILDDIR)/var/db/xbps $(BUILDDIR)/etc
# Import known keys
cp -r keys $(BUILDDIR)/var/db/xbps
# Create passwd, shadow and group file
cp files/passwd $(BUILDDIR)/etc/passwd
cp files/group $(BUILDDIR)/etc/group
cp files/shadow $(BUILDDIR)/etc/shadow
# Install packages into build directory
XBPS_ARCH="$(ARCH)" xbps-install -y -r $(BUILDDIR) --repository=$(REPO) -S $(PACKAGES)
# Create symlinks expected by void
@ -92,10 +96,6 @@ endif
chmod +x $(BUILDDIR)/bin/xbps-remote
cp files/xbps-local $(BUILDDIR)/bin/xbps-local
chmod +x $(BUILDDIR)/bin/xbps-local
# Create passwd, shadow and group file
cp files/passwd $(BUILDDIR)/etc/passwd
cp files/group $(BUILDDIR)/etc/group
cp files/shadow $(BUILDDIR)/etc/shadow
install: build
# Import directory as tar (owned by root) into docker

@ -1,3 +1,4 @@
root:x:0:
nogroup:x:99:
users:x:100:
xbuilder:x:101:

Loading…
Cancel
Save