Skip to content

Commit

Permalink
fix kernel-prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
dsseng committed Feb 4, 2025
1 parent 51722da commit e6abd96
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions kernel/prepare/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,20 @@ steps:
sha512: "{{ .linux_sha512 }}"
env:
ARCH: {{ if eq .ARCH "aarch64"}}arm64{{ else if eq .ARCH "x86_64" }}x86_64{{ else }}unsupported{{ end }}
- network: default
prepare:
- |
tar -xJf linux.tar.xz --strip-components=1
rm linux.tar.xz
make mrproper
- |
cd /toolchain && git clone https://github.com/a13xp0p0v/kernel-hardening-checker.git
# TODO: remove
mkdir /toolchain && cd /toolchain && git clone https://github.com/a13xp0p0v/kernel-hardening-checker.git
install:
- |
mkdir -p /src
cp -a . /src/
finalize:
- from: /src
to: /src
- from: /toolchain
to: /toolchain
- from: /usr
to: /usr
- from: /bin
to: /bin
- from: /lib
to: /lib
- from: /
to: /

0 comments on commit e6abd96

Please sign in to comment.