Skip to content

Commit

Permalink
Update gentoo dockerfile
Browse files Browse the repository at this point in the history
Install kpatch without modules
Use override on portage settings instead of append
Use testing kpatch and unstable pesign
  • Loading branch information
aliceinwire committed Mar 24, 2019
1 parent 672abad commit cd6e899
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gentoo.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ COPY --from=portage /usr/portage /usr/portage
MAINTAINER [email protected]

RUN mkdir /etc/portage/package.keywords
RUN echo "dev-lang/python sqlite" >> /etc/portage/package.use/python
RUN echo "sys-apps/elivepatch-server ~amd64" >> /etc/portage/package.keywords/elivepatch
RUN echo "dev-lang/python sqlite" > /etc/portage/package.use/python
RUN echo "sys-apps/elivepatch-server ~amd64\nsys-kernel/kpatch **\napp-crypt/pesign ~amd64" > /etc/portage/package.keywords/elivepatch

RUN ROOT=/destination emerge -qv sys-apps/elivepatch-server
RUN ROOT=/destination USE="-modules" emerge -qv sys-kernel/kpatch

0 comments on commit cd6e899

Please sign in to comment.