Initial commit
This commit is contained in:
commit
df5befa9d1
45 changed files with 2030 additions and 0 deletions
23
scripts/setup-root-fs.sh
Executable file
23
scripts/setup-root-fs.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
cd ..
|
||||
|
||||
mkdir -p root-fs/var/0s/source
|
||||
|
||||
cd root-fs/var/0s/source
|
||||
|
||||
if [ ! -d c0re ]; then
|
||||
git clone https://github.com/F-WuTS/c0re.git --recursive --depth=1
|
||||
else
|
||||
git -C c0re fetch --all
|
||||
git -C c0re reset --hard origin/master
|
||||
|
||||
fi
|
||||
|
||||
if [ ! -d harrogate ]; then
|
||||
git clone https://github.com/F-WuTS/harrogate.git --depth=1
|
||||
else
|
||||
git -C harrogate fetch --all
|
||||
git -C harrogate reset --hard origin/master
|
||||
|
||||
fi
|
||||
|
||||
|
Reference in a new issue