Added rebuild*.sh scripts
This commit is contained in:
parent
c9e13f0128
commit
86e53c3004
8
tools/rebuild-and-run.sh
Executable file
8
tools/rebuild-and-run.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
source $(dirname $0)/env.sh
|
||||||
|
|
||||||
|
tools/rebuild-iso.sh
|
||||||
|
|
||||||
|
qemu-system-x86_64 -cdrom Luna.iso -smp 1 -m 256M -serial stdio -enable-kvm
|
15
tools/rebuild-iso.sh
Executable file
15
tools/rebuild-iso.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
source $(dirname $0)/env.sh
|
||||||
|
|
||||||
|
cd $LUNA_ROOT
|
||||||
|
|
||||||
|
tools/setup.sh
|
||||||
|
|
||||||
|
make clean
|
||||||
|
|
||||||
|
make -j$(nproc)
|
||||||
|
make install
|
||||||
|
|
||||||
|
mkbootimg luna.json Luna.iso
|
12
tools/rebuild.sh
Executable file
12
tools/rebuild.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
source $(dirname $0)/env.sh
|
||||||
|
|
||||||
|
cd $LUNA_ROOT
|
||||||
|
|
||||||
|
tools/setup.sh
|
||||||
|
|
||||||
|
make clean
|
||||||
|
|
||||||
|
make -j$(nproc)
|
Loading…
Reference in New Issue
Block a user