Include uncommitted changes in archiso
This commit is contained in:
parent
1697879c64
commit
abb54cfcc2
|
@ -7,9 +7,16 @@ nixCache="$cacheRoot/nixpkgs";
|
||||||
root="airootfs";
|
root="airootfs";
|
||||||
rootHome="$overlayDir/$root/root";
|
rootHome="$overlayDir/$root/root";
|
||||||
profileDir="/mnt/archiso-valhalla";
|
profileDir="/mnt/archiso-valhalla";
|
||||||
|
projectDir="$rootHome/PortValhalla";
|
||||||
nixDir="$profileDir/$root/nix/var/nix/profiles/per-user/root/channels/nixpkgs";
|
nixDir="$profileDir/$root/nix/var/nix/profiles/per-user/root/channels/nixpkgs";
|
||||||
mkdir -p "$rootHome";
|
mkdir -p "$rootHome";
|
||||||
git clone .. "$rootHome/PortValhalla";
|
git clone .. "$projectDir";
|
||||||
|
git -C .. diff HEAD | git -C "$projectDir" apply;
|
||||||
|
|
||||||
|
git -C .. ls-files --exclude-standard --others | \
|
||||||
|
while read file; do
|
||||||
|
cp "../$file" "$projectDir/$file";
|
||||||
|
done;
|
||||||
|
|
||||||
if [ ! -d "$nixCache" ]; then
|
if [ ! -d "$nixCache" ]; then
|
||||||
mkdir -p "$nixCache"
|
mkdir -p "$nixCache"
|
||||||
|
|
Loading…
Reference in a new issue