2 grep ^Version
: DEBIAN
/control | cut
-d
' ' -f
2 > usr
/share
/redo
/VERSION
3 rm -rf redobackup-deb redobackup_
*.deb
4 git archive
--prefix=redobackup-deb
/ HEAD |
tar -xf
-
5 rm -rf redobackup-deb
/etc
/skel
6 rm -rf redobackup-deb
/etc
/default
7 rm -rf redobackup-deb
/etc
/rcS
8 rm -rf redobackup-deb
/etc
/rc.local
9 rm -rf redobackup-deb
/config
10 cp usr
/share
/redo
/VERSION redobackup-deb
/usr
/share
/redo
/VERSION
11 dpkg-deb
-b redobackup-deb
12 dpkg-name redobackup-deb.deb
16 lb config
-b iso-hybrid
--memtest memtest86
+ --bootloaders syslinux
,grub-efi \
17 --image-name
"redobackup_$$(cat usr/share/redo/VERSION)" \
18 --iso-application
"redobackup $$(cat usr/share/redo/VERSION)" \
19 --iso-preparer
"live-build $$(lb --version)" \
20 --iso-publisher
"$$USER@$$HOSTNAME" \
21 --iso-volume
"Redobackup $$(cat usr/share/redo/VERSION) Debian"
22 rm -rf config
/packages.chroot
/redobackup_
*.deb
23 cp
-a redobackup_
*.deb config
/packages.chroot
/
27 mv redobackup
*.iso media
29 lb config
-b netboot
--bootloaders syslinux
31 mv redobackup
*.netboot.
tar media