Skip to content

Commit

Permalink
Linux v5.1.19 - build script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeeq committed Aug 15, 2019
1 parent c7bea5b commit 05324ba
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@
#!/bin/sh

FEDORA_KERNEL_BRANCH_NAME=f30

### Debug commands
echo "FEDORA_KERNEL_BRANCH_NAME=$FEDORA_KERNEL_BRANCH_NAME"
pwd
ls
echo "CPU threads: $(nproc --all)"
cat /proc/cpuinfo | grep 'model name' | uniq

### Dependencies
dnf install -y git livecd-tools spin-kickstarts

### Clone Fedora kickstarts repo
git clone https://pagure.io/fedora-kickstarts.git
cd fedora-kickstarts
git checkout f30
git checkout $FEDORA_KERNEL_BRANCH_NAME

### Copy fedora-mbp kickstart file
cp -rfv ../fedora-mbp.ks ./
mkdir -p /var/cache/live
while true; do date sleep 30; done &

### Workaround - travis_wait
while true
do
date
sleep 30
done &

### Generate LiveCD iso
livecd-creator --verbose --config=fedora-mbp.ks --cache=/var/cache/live

find / | grep ".iso"

0 comments on commit 05324ba

Please sign in to comment.