Skip to content

Commit

Permalink
move harware setup up
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewb1 committed Oct 23, 2023
1 parent 064590c commit a8e4fd0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile.agnos
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ RUN export PATH="/usr/local/pyenv/bin:/usr/local/pyenv/shims:$PATH" && \
MAKEFLAGS="-j40" poetry install --no-cache --no-root && \
pyenv rehash

# Hardware setup
RUN mkdir -p /tmp/agnos/debs
COPY ./userspace/debs /tmp/agnos/debs
COPY ./userspace/hardware_setup.sh /tmp/agnos
RUN /tmp/agnos/hardware_setup.sh
RUN mv /data/persist /system/ && rm -rf /data/*

# Install nice to haves
COPY ./userspace/install_extras.sh /tmp/agnos/
RUN /tmp/agnos/install_extras.sh
Expand Down Expand Up @@ -207,13 +214,6 @@ RUN /tmptmp/readonly_setup.sh && rm -rf /tmptmp
# copy at the end, after all apt usage
COPY ./userspace/files/apt.conf /etc/apt/apt.conf

# Hardware setup
RUN mkdir -p /tmp/agnos/debs
COPY ./userspace/debs /tmp/agnos/debs
COPY ./userspace/hardware_setup.sh /tmp/agnos
RUN /tmp/agnos/hardware_setup.sh
RUN mv /data/persist /system/ && rm -rf /data/*

# Write version file
RUN echo -n "8.2" > /VERSION

Expand Down

0 comments on commit a8e4fd0

Please sign in to comment.