Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Convert all of pkg/* to linuxkit pkg build
Browse files Browse the repository at this point in the history
This was done with the following "script":

    git rm pkg/{auditd,binfmt,init}/Makefile
    sed -e 's/IMAGE=/image: /g' -i pkg/*/Makefile
    sed -e 's/NETWORK=1/network: true/g' -i pkg/*/Makefile
    sed -e 's/ARCHES=x86_64/arches:\n  - amd64/g' -i pkg/*/Makefile
    sed -e '/DEPS:\?=/d' -i pkg/*/Makefile
    sed -e '/ARCHES=SKIP/d' -i pkg/node_exporter/Makefile
    sed -e 's/include \.\.\/package.mk//g' -i pkg/*/Makefile
    sed -e '/^$/d' -i pkg/*/Makefile
    git mv pkg/node_exporter/Makefile pkg/node_exporter/build.yml-skip
    for i in pkg/*/Makefile ; do git mv $i ${i%Makefile}build.yml ; done

and manual update of pkg/Makefile.

Signed-off-by: Ian Campbell <[email protected]>
  • Loading branch information
Ian Campbell committed Oct 9, 2017
1 parent c8e0a3f commit d9310d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/init-lcow/Makefile

This file was deleted.

4 changes: 4 additions & 0 deletions pkg/init-lcow/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
image: init-lcow
network: true
arches:
- amd64

0 comments on commit d9310d8

Please sign in to comment.