mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
Fixed building deb package for x86
pkg-config is needed in docker image. "laminar.conf" has to be copied from "usr/etc/laminar.conf" to "etc/laminar.conf" in installation directory.
This commit is contained in:
parent
f6fe08bf59
commit
4e01d147db
@ -8,7 +8,7 @@ VERSION=$(cd "$SOURCE_DIR" && git describe --tags --abbrev=8 --dirty)-1~upstream
|
|||||||
|
|
||||||
DOCKER_TAG=$(docker build -q - <<EOS
|
DOCKER_TAG=$(docker build -q - <<EOS
|
||||||
FROM debian:11-slim
|
FROM debian:11-slim
|
||||||
RUN apt-get update && apt-get install -y wget cmake g++ capnproto libcapnp-dev rapidjson-dev libsqlite3-dev libboost-dev zlib1g-dev
|
RUN apt-get update && apt-get install -y wget cmake g++ capnproto libcapnp-dev rapidjson-dev libsqlite3-dev libboost-dev zlib1g-dev pkg-config
|
||||||
EOS
|
EOS
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -34,6 +34,8 @@ Depends: libcapnp-0.7.0, libsqlite3-0, zlib1g
|
|||||||
Description: Lightweight Continuous Integration Service
|
Description: Lightweight Continuous Integration Service
|
||||||
EOF
|
EOF
|
||||||
echo /etc/laminar.conf > laminar/DEBIAN/conffiles
|
echo /etc/laminar.conf > laminar/DEBIAN/conffiles
|
||||||
|
mkdir -p laminar/etc
|
||||||
|
mv laminar/usr/etc/laminar.conf laminar/etc/laminar.conf
|
||||||
cat <<EOF > laminar/DEBIAN/postinst
|
cat <<EOF > laminar/DEBIAN/postinst
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo Creating laminar user with home in /var/lib/laminar
|
echo Creating laminar user with home in /var/lib/laminar
|
||||||
|
Loading…
Reference in New Issue
Block a user