Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openwrt arm64 make error #152

Open
LGinC opened this issue Apr 26, 2023 · 0 comments
Open

openwrt arm64 make error #152

LGinC opened this issue Apr 26, 2023 · 0 comments

Comments

@LGinC
Copy link

LGinC commented Apr 26, 2023

Dockerfile.openwrt content:

# docker build -t test -f Dockerfile.openwrt ..

FROM alpine:3.17

ARG NAME=openwrt-imagebuilder-22.03.3-armvirt-64.Linux-x86_64
ARG SDK_URL=https://mirrors.cloud.tencent.com/openwrt/releases/22.03.3/targets/armvirt/64/${NAME}.tar.xz
ARG SDK_PATH=/sdk/${NAME}

RUN sed -i 's|dl-cdn.alpinelinux.org|mirrors.cloud.tencent.com|g' /etc/apk/repositories

RUN apk add --no-cache curl
RUN mkdir /sdk

RUN curl -o /tmp/${NAME} ${SDK_URL} \
    && tar xf /tmp/${NAME} -C /sdk \
    && rm /tmp/${NAME}

RUN apk add --no-cache perl make git bash gawk gcc g++ ncurses-dev
WORKDIR ${SDK_PATH}
RUN ./scripts/feeds update base
RUN ./scripts/feeds install libpcap

RUN mkdir ./package/switch-lan-play
COPY ./docker/Makefile.openwrt ${SDK_PATH}/package/switch-lan-play/Makefile
COPY . ${SDK_PATH}/package/switch-lan-play/switch-lan-play

RUN make defconfig
# RUN make package/switch-lan-play/compile

and build error

STEP 11/16: RUN ./scripts/feeds update base
Unable to open feeds configuration at ./scripts/feeds line 91.
Error: error building at STEP "RUN ./scripts/feeds update base": error while running runtime: exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant