blob: dce3b0965230cb5c3130b23137949c9e1d3d8017 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
#
# need to tweak some config options so "podman build" can run inside a container
#
# storage: can't use overlay (can't be stacked).
sed -i.orig -e '/^driver/s/overlay/vfs/' /etc/containers/storage.conf
diff -u /etc/containers/storage.conf.orig /etc/containers/storage.conf
# cgroups: no systemd, so use cgroupfs directly
cp /usr/share/containers/libpod.conf /etc/containers
sed -i.orig -e '/^cgroup_manager/s/systemd/cgroupfs/' /etc/containers/libpod.conf
diff -u /etc/containers/libpod.conf.orig /etc/containers/libpod.conf
exit 0
|