gitlab-ci
This commit is contained in:
1 parent
1113a493a4
commit
be6cb5e69c
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -8,7 +8,7 @@ variables:
|
|||||||
IMAGE_NAME: SimpleLinux
|
IMAGE_NAME: SimpleLinux
|
||||||
IMAGE_VERSION: 0.0.1
|
IMAGE_VERSION: 0.0.1
|
||||||
|
|
||||||
build-wimic-image:
|
build-iso-image:
|
||||||
stage: build
|
stage: build
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
@@ -33,4 +33,4 @@ build-wimic-image:
|
|||||||
after_script:
|
after_script:
|
||||||
- rm -rvf artifacts
|
- rm -rvf artifacts
|
||||||
- mkdir -v artifacts
|
- mkdir -v artifacts
|
||||||
- cp -v build/SimpleLinux.iso artifacts/$IMAGE_NAME-$IMAGE_VERSION-$CI_COMMIT_BRANCH-$CI_PIPELINE_ID.iso
|
- cp -v build/simplelinux.iso artifacts/$IMAGE_NAME-$IMAGE_VERSION-$CI_COMMIT_BRANCH-$CI_PIPELINE_ID.iso
|
||||||
+2
-2
@@ -87,10 +87,10 @@ kernel() {
|
|||||||
kernel_modules() {
|
kernel_modules() {
|
||||||
printf "$UGREEN** Building Linux Kernel modules\n$RESET"
|
printf "$UGREEN** Building Linux Kernel modules\n$RESET"
|
||||||
cd $build/kernel/linux-*
|
cd $build/kernel/linux-*
|
||||||
make modules &> fulllogfile
|
make modules &>> fulllogfile
|
||||||
check $? "Build Linux Kernel modules"
|
check $? "Build Linux Kernel modules"
|
||||||
printf "$UGREEN** Installing Linux Kernel modules into rootfs path\n$RESET"
|
printf "$UGREEN** Installing Linux Kernel modules into rootfs path\n$RESET"
|
||||||
mkdir -pv $rootfspath/usr/lib &> fulllogfile
|
mkdir -pv $rootfspath/usr/lib &>> fulllogfile
|
||||||
cd $rootfspath
|
cd $rootfspath
|
||||||
ln -sv usr/lib lib &>> $fulllogfile
|
ln -sv usr/lib lib &>> $fulllogfile
|
||||||
cd $root/build/kernel/linux-*
|
cd $root/build/kernel/linux-*
|
||||||
|
|||||||
Reference in new issue
Block a user