File tree Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -109,14 +109,14 @@ deb: $(addsuffix -deb, $(BUILD_ARCHS))
109109
110110tmp-env :
111111 mkdir -p " tmp/$( VERSION) "
112- cd " tmp/$( VERSION) " && ../../versions/$(VERSION ) /clone.bash
112+ cd " tmp/$( VERSION) " && ../../versions/$(VERSION ) /git/ clone.bash
113113 cd " tmp/$( VERSION) " && ../../scripts/apply-patches.bash ../../versions/$(VERSION ) /server/* .patch
114114 cd " tmp/$( VERSION) " && ../../scripts/strip-cargo.bash
115115 cd " tmp/$( VERSION) " && ../../scripts/resolve-dependencies.bash
116116
117117tmp-env-client :
118118 mkdir -p " tmp/$( VERSION) -client"
119- cd " tmp/$( VERSION) -client" && ../../versions/$(VERSION ) /clone.bash
119+ cd " tmp/$( VERSION) -client" && ../../versions/$(VERSION ) /git/ clone.bash
120120 cd " tmp/$( VERSION) -client" && ../../scripts/apply-patches.bash ../../versions/$(VERSION ) /server/* .patch ./../versions/$(VERSION ) /client* /* .patch
121121 cd " tmp/$( VERSION) -client" && ../../scripts/strip-cargo.bash
122122 cd " tmp/$( VERSION) -client" && ../../scripts/resolve-dependencies.bash
@@ -152,7 +152,7 @@ endif
152152
153153 rm -rf "versions/v$(NEW_VERSION).tmp"
154154 cp -rv "versions/$(VERSION)" "versions/v$(NEW_VERSION).tmp"
155- "versions/v$(NEW_VERSION).tmp/clone.bash" show-sha $(firstword $(NEW_SHA) $(NEW_VERSION)) > "versions/v$(NEW_VERSION).tmp/versions.tmp"
155+ "versions/v$(NEW_VERSION).tmp/git/ clone.bash" show-sha $(firstword $(NEW_SHA) $(NEW_VERSION)) > "versions/v$(NEW_VERSION).tmp/versions.tmp"
156156 mv "versions/v$(NEW_VERSION).tmp/versions.tmp" "versions/v$(NEW_VERSION).tmp/versions"
157157 mv "versions/v$(NEW_VERSION).tmp" "versions/v$(NEW_VERSION)"
158158
Original file line number Diff line number Diff line change @@ -28,12 +28,13 @@ FROM toolchain as builder
2828
2929# Clone all sources
3030ARG VERSION=master
31- ADD /versions/${VERSION}/ /patches/
31+ ADD /versions/${VERSION}/git /patches/
3232RUN /patches/clone.bash
3333
3434# Apply all patches
3535ADD /scripts/ /scripts/
36- RUN /scripts/apply-patches.bash /patches/server/*.patch
36+ ADD /versions/${VERSION}/server /patches/
37+ RUN /scripts/apply-patches.bash /patches/*.patch
3738RUN /scripts/strip-cargo.bash
3839RUN /scripts/resolve-dependencies.bash
3940
@@ -47,8 +48,8 @@ RUN cd perlmod/perlmod-bin && dpkg-buildpackage -us -uc -b && dpkg -i ../perlmod
4748
4849# A pve-common required deps
4950RUN apt-get -y build-dep $PWD/proxmox-perl-rs/pve-rs
51+ RUN make -C proxmox-perl-rs/common/pkg deb install
5052RUN make -C proxmox-perl-rs/pve-rs deb
51- RUN make -C proxmox-perl-rs/common/pkg deb
5253RUN dpkg -i proxmox-perl-rs/common/pkg/*.deb proxmox-perl-rs/pve-rs/*.deb
5354RUN apt-get -y build-dep $PWD/pve-common
5455RUN make -C pve-common dinstall || apt-get -f -y install && make -C pve-common dinstall
Original file line number Diff line number Diff line change 2020
2121# Clone all sources
2222ARG VERSION=master
23- ADD /versions/${VERSION}/ /patches/
23+ ADD /versions/${VERSION}/git /patches/git
2424RUN /patches/clone.bash
2525
2626# Install valid rust toolchain
3535
3636# Apply all patches
3737ADD /scripts/ /scripts/
38- RUN /scripts/apply-patches.bash /patches/server/*.patch /patches/client/*.patch /patches/client-${DOCKER_ARCH}/*.patch
38+ ADD /versions/${VERSION}/server /patches/
39+ RUN /scripts/apply-patches.bash /patches/*.patch
3940RUN /scripts/strip-cargo.bash
4041RUN /scripts/experimental-cargo.bash
4142RUN /scripts/resolve-dependencies.bash
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments