This repository has been archived on 2025-06-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Os/scripts/setup-root-fs.sh

26 lines
515 B
Bash
Executable file

cd ..
mkdir -p root-fs/var/0s/source
cd root-fs/var/0s/source
# Make sure that git lfs is installed, otherwise only lfs pointers will be downloaded
git lfs install
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