update rootfs
This commit is contained in:
@@ -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"
|
||||
}
|
||||
#-----------------------------------------------------
|
||||
Reference in New Issue
Block a user