mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-25 14:04:33 +00:00
build: update rootfs tar command to use gzip compression
This commit is contained in:
parent
5ecfffc049
commit
ec04e5abe9
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,7 +4,7 @@ tmp_rootfs
|
||||
rootfs/usr/include/*
|
||||
!rootfs/usr/include/.gitkeep
|
||||
doxygen-doc
|
||||
rootfs.tar
|
||||
rootfs.tar.gz
|
||||
.dccache
|
||||
*.log
|
||||
*.log.*
|
||||
|
8
Makefile
8
Makefile
@ -259,10 +259,8 @@ endif
|
||||
chmod 755 tmp_rootfs/home/
|
||||
chmod -R 750 tmp_rootfs/home/root/
|
||||
chmod -R 777 tmp_rootfs/tmp/
|
||||
# tar czf rootfs.tar -C tmp_rootfs/ --owner=0 --group=0 ./ --format=ustar
|
||||
tar cf rootfs.tar -C tmp_rootfs/ --owner=0 --group=0 ./ --format=ustar
|
||||
cp Kernel/fennix.elf rootfs.tar \
|
||||
iso_tmp_data/
|
||||
tar czf rootfs.tar.gz -C tmp_rootfs/ --owner=0 --group=0 ./ --format=ustar
|
||||
cp Kernel/fennix.elf rootfs.tar.gz iso_tmp_data/
|
||||
ifeq ($(BOOTLOADER), limine)
|
||||
cp tools/limine.conf \
|
||||
tools/limine/limine-bios.sys \
|
||||
@ -379,7 +377,7 @@ run: build qemu
|
||||
|
||||
clean: clean_logs
|
||||
rm -rf doxygen-doc iso_tmp_data tmp_rootfs
|
||||
rm -f rootfs.tar $(OSNAME).iso $(OSNAME).img
|
||||
rm -f rootfs.tar.gz $(OSNAME).iso $(OSNAME).img
|
||||
$(MAKE) -C Kernel clean
|
||||
$(MAKE) -C Userspace clean
|
||||
$(MAKE) -C Drivers clean
|
||||
|
Loading…
x
Reference in New Issue
Block a user