update rootfs

This commit is contained in:
wt
2024-08-25 02:40:07 +07:00
parent 0ea96d011c
commit c52cf00e6d
17 changed files with 617 additions and 163 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
#------------- grub rescue ---------------------------
grub_rescue() {
grub-mkrescue -o $build/simplelinux.iso $rootfspath &>> $fulllogfile
check $? "Build grub-rescue"
cp -v $build/simplelinux.iso $out/ &>> $fulllogfile
}
#-----------------------------------------------------
#------------------ rootfs archive -------------------
rootfs_archive() {
cd $rootfspath
tar -czvf $out/simplelinux-$version-rootfs.tar.gz . &>> $fulllogfile
check $? "Build rootfs archive"
}
#-----------------------------------------------------