fix main
This commit is contained in:
parent
40fa3144c4
commit
3a479a45d8
2
.github/workflows/build-canaryv3.yml
vendored
2
.github/workflows/build-canaryv3.yml
vendored
@ -31,4 +31,4 @@ jobs:
|
|||||||
run: apt-get update -y
|
run: apt-get update -y
|
||||||
|
|
||||||
- name: Build Package
|
- name: Build Package
|
||||||
run: ./mainv3.sh
|
run: ./main.sh
|
||||||
|
2
.github/workflows/build-nestv3.yml
vendored
2
.github/workflows/build-nestv3.yml
vendored
@ -31,4 +31,4 @@ jobs:
|
|||||||
run: apt-get update -y
|
run: apt-get update -y
|
||||||
|
|
||||||
- name: Build Package
|
- name: Build Package
|
||||||
run: ./mainv3.sh
|
run: ./main.sh
|
||||||
|
2
.github/workflows/release-canaryv3.yml
vendored
2
.github/workflows/release-canaryv3.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
run: apt-get update -y
|
run: apt-get update -y
|
||||||
|
|
||||||
- name: Build Package
|
- name: Build Package
|
||||||
run: ./mainv3.sh
|
run: ./main.sh
|
||||||
|
|
||||||
- name: Release Package
|
- name: Release Package
|
||||||
run: ./release.sh
|
run: ./release.sh
|
||||||
|
2
.github/workflows/release-nestv3.yml
vendored
2
.github/workflows/release-nestv3.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
run: apt-get update -y
|
run: apt-get update -y
|
||||||
|
|
||||||
- name: Build Package
|
- name: Build Package
|
||||||
run: ./mainv3.sh
|
run: ./main.sh
|
||||||
|
|
||||||
- name: Release Package
|
- name: Release Package
|
||||||
run: ./release.sh
|
run: ./release.sh
|
||||||
|
10
main.sh
Executable file
10
main.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# Move the debs to output
|
||||||
|
mkdir -p ./output
|
||||||
|
|
||||||
|
. ./scripts/source.sh
|
||||||
|
. ../scripts/patch.sh
|
||||||
|
. ../scripts/config.sh
|
||||||
|
. ../scripts/build.sh
|
||||||
|
. ../scripts/output.sh
|
12
mainv3.sh
12
mainv3.sh
@ -1,12 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Move the debs to output
|
|
||||||
mkdir -p ./output
|
|
||||||
|
|
||||||
. ./scripts-v3/source.sh
|
|
||||||
. ../scripts-v3/patch.sh
|
|
||||||
. ../scripts-v3/config.sh
|
|
||||||
. ../scripts-v3/build.sh
|
|
||||||
. ../scripts-v3/output.sh
|
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
echo "Pika Kernel - Applying configuration"
|
echo "Pika Kernel - Applying configuration"
|
||||||
|
|
||||||
|
cp ../config .config
|
||||||
|
|
||||||
scripts/config -k -d CONFIG_GENERIC_CPU
|
scripts/config -k -d CONFIG_GENERIC_CPU
|
||||||
scripts/config -k -e CONFIG_GENERIC_CPU3
|
scripts/config -k -e CONFIG_GENERIC_CPU3
|
||||||
scripts/config -e CACHY
|
scripts/config -e CACHY
|
@ -5,4 +5,4 @@ echo "Pika Kernel - Applying patches"
|
|||||||
if [ -f ../patches/series ]
|
if [ -f ../patches/series ]
|
||||||
then
|
then
|
||||||
for i in $(cat ../patches/series | grep -v '^#') ; do echo "Applying Patch: $i" && patch -Np1 -i ../patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"; done
|
for i in $(cat ../patches/series | grep -v '^#') ; do echo "Applying Patch: $i" && patch -Np1 -i ../patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"; done
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue
Block a user