Add command to initialize lineageos repo
This commit is contained in:
parent
aaa5fbcdc0
commit
05c43567d7
|
@ -280,6 +280,16 @@
|
|||
libgcc # crtbeginS.o
|
||||
iconv # ??? - i put this here and by the time i went back to remove unecessary packages i forgot why
|
||||
iconv.dev # sys/types.h
|
||||
|
||||
(writeShellScriptBin "init-repositories" ''
|
||||
if [[ ! -d ".repos/lineageos" ]]; then
|
||||
mkdir -p ".repos/lineageos"
|
||||
pushd .repos/lineageos
|
||||
repo init -u https://github.com/LineageOS/android.git -b lineage-22.1 --git-lfs --no-clone-bundle
|
||||
repo sync
|
||||
popd
|
||||
fi
|
||||
'')
|
||||
];
|
||||
runScript = "zsh"; # personal preference, you could set this to bash instead if you want
|
||||
profile = ''
|
||||
|
|
Loading…
Reference in New Issue
Block a user