File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed
Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,18 @@ totpm-$(VERSION).tar.gz: $(SOURCES)
1717totpm-$(VERSION ) -1.fc$(FEDORA_RELEASE ) .src.rpm : totpm-$(VERSION ) .tar.gz
1818 fedpkg --release f$(FEDORA_RELEASE ) srpm
1919
20- totpm-$(VERSION ) -1.fc$(FEDORA_RELEASE ) .$(ARCH ) .rpm : totpm-$(VERSION ) -1.fc$(FEDORA_RELEASE ) .src.rpm
21- fedpkg --release f$(FEDORA_RELEASE ) mockbuild
20+ totpm-$(VERSION ) -1.fc$(FEDORA_RELEASE ) .$(ARCH ) .rpm : totpm-$(VERSION ) -1.fc$(FEDORA_RELEASE ) .src.rpm fedora-builder/Dockerfile fedora-builder/storage.conf
21+ podman build \
22+ -t totpm-builder:$(FEDORA_RELEASE ) \
23+ --build-arg FEDORA_RELEASE=$(FEDORA_RELEASE ) \
24+ fedora-builder
25+
26+ podman run \
27+ --privileged \
28+ -v .:/build:rw,z \
29+ totpm-builder:$(FEDORA_RELEASE) \
30+ fedpkg --release f$(FEDORA_RELEASE) mockbuild
31+
2232 cp -a results_totpm/$(VERSION)/1.fc$(FEDORA_RELEASE)/totpm-$(VERSION)-1.fc$(FEDORA_RELEASE).$(ARCH).rpm ./
2333
2434.PHONY : fedora-package
Original file line number Diff line number Diff line change 1+ ARG FEDORA_RELEASE=40
2+ FROM fedora:${FEDORA_RELEASE}
3+ VOLUME /build
4+ RUN dnf -y install jq cargo fedpkg
5+ RUN mkdir -p /run/containers/storage /var/lib/containers/storage
6+ COPY ./storage.conf /etc/containers/storage.conf
7+ WORKDIR /build
Original file line number Diff line number Diff line change 1+ [storage]
2+ driver = "vfs"
3+ runroot = "/run/containers/storage"
4+ graphroot = "/var/lib/containers/storage"
You can’t perform that action at this time.
0 commit comments