Skip to content

Commit 6f3eefd

Browse files
committed
Revert "Merge pull request #483 from rocket-pool/dev_v2"
This reverts commit c9b391e, reversing changes made to d1e38af.
1 parent c9b391e commit 6f3eefd

File tree

625 files changed

+12
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

625 files changed

+12
-12
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ pkg
3333
.vscode-ctags
3434

3535
# Binaries
36-
v2/rocketpool-cli/rocketpool-cli
37-
v2/rocketpool-daemon/rocketpool-daemon
36+
src/rocketpool-cli/rocketpool-cli
37+
src/rocketpool-daemon/rocketpool-daemon

docker/cli.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM golang:1.21-bookworm AS builder
33
COPY . /rocketpool
44
ENV CGO_ENABLED=0
5-
WORKDIR /rocketpool/v2/rocketpool-cli
5+
WORKDIR /rocketpool/src/rocketpool-cli
66

77
# Build x64 version
88
RUN GOOS=linux GOARCH=amd64 go build -o /build/rocketpool-cli-linux-amd64

docker/daemon-build.dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ COPY . /rocketpool
55
ENV CGO_ENABLED=1
66
ENV CGO_CFLAGS="-O -D__BLST_PORTABLE__"
77
RUN if [ "$BUILDPLATFORM" = "linux/amd64" -a "$TARGETARCH" = "arm64" ]; then \
8-
# Install the GCC cross compiler
9-
apt update && apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu && \
10-
export CC=aarch64-linux-gnu-gcc && export CC_FOR_TARGET=gcc-aarch64-linux-gnu; \
8+
# Install the GCC cross compiler
9+
apt update && apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu && \
10+
export CC=aarch64-linux-gnu-gcc && export CC_FOR_TARGET=gcc-aarch64-linux-gnu; \
1111
elif [ "$BUILDPLATFORM" = "linux/arm64" -a "$TARGETARCH" = "amd64" ]; then \
12-
apt update && apt install -y gcc-x86-64-linux-gnu g++-x86-64-linux-gnu && \
13-
export CC=x86_64-linux-gnu-gcc && export CC_FOR_TARGET=gcc-x86-64-linux-gnu; \
12+
apt update && apt install -y gcc-x86-64-linux-gnu g++-x86-64-linux-gnu && \
13+
export CC=x86_64-linux-gnu-gcc && export CC_FOR_TARGET=gcc-x86-64-linux-gnu; \
1414
fi && \
15-
cd /rocketpool/v2/rocketpool-daemon && \
15+
cd /rocketpool/src/rocketpool-daemon && \
1616
GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /build/rocketpool-daemon
1717

1818
# Copy the output

install/packages/debian/package.dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ ARG BUILDPLATFORM
55
# Debian packages need a very particular folder structure, so we're basically converting the repo structure into what it wants here
66
COPY ./install/packages/debian/debian /rocketpool/debian/debian
77
COPY ./install/deploy /rocketpool/debian/deploy
8-
COPY ./v2/ /rocketpool/debian/
8+
COPY ./src/ /rocketpool/debian/
99
WORKDIR /rocketpool/debian
1010

1111
# Build the native arch package and source package
1212
RUN DEB_BUILD_OPTIONS=noautodbgsym debuild -us -uc
1313

1414
# Build the other package (binary only since we already made the source)
1515
RUN if [ "$BUILDPLATFORM" = "linux/arm64" ]; then \
16-
REMOTE_ARCH=amd64; \
16+
REMOTE_ARCH=amd64; \
1717
else \
18-
REMOTE_ARCH=arm64; \
18+
REMOTE_ARCH=arm64; \
1919
fi && \
2020
DEB_BUILD_OPTIONS=noautodbgsym debuild -us -uc -b -a${REMOTE_ARCH} --no-check-builddeps
2121

File renamed without changes.

0 commit comments

Comments
 (0)