Skip to content

Commit fe3b591

Browse files
committed
live-build: Clone Folk repo into writable so it doesn't blow up
so it only copies actual source files, not image stuff in live-build subdirectory. Now uses repo clone instead of symlink.
1 parent 7fc6dff commit fe3b591

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

live-build/folk-live/folk

Lines changed: 0 additions & 1 deletion
This file was deleted.

live-build/make-folk-amd64-img.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ sudo mount -t vfat -o uid=$USER,gid=$USER \
4848
-o loop,offset=$(($EFI_START_MIB * 1024 * 1024)),rw \
4949
$FOLK_IMG /mnt/folk-img-writable
5050

51-
# Copy writable partition content (including Folk repo) into mounted
51+
# Copy writable partition content into mounted FAT32 filesystem:
52+
cp -r folk-live/* /mnt/folk-img-writable
53+
# Copy Folk repo itself (excluding .gitignored files) into mounted
5254
# FAT32 filesystem:
53-
cp -rL folk-live/* /mnt/folk-img-writable
55+
git clone .. /mnt/folk-img-writable/folk
5456

5557
sudo umount /mnt/folk-img-writable

0 commit comments

Comments
 (0)