File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,10 +10,19 @@ TYPE="stable"
1010# Should we package the image up?
1111ZIP=0
1212EFI=0
13- if test $EFI = 0 ; then
14- IMG=debian-amd64.img
13+
14+ if test $TYPE = stable ; then
15+ if test $EFI = 0 ; then
16+ IMG=debian-amd64.img
17+ else
18+ IMG=debian-amd64-efi.img
19+ fi
1520else
16- IMG=debian-amd64-efi.img
21+ if test $EFI = 0 ; then
22+ IMG=debian-testing-amd64.img
23+ else
24+ IMG=debian-testing-amd64-efi.img
25+ fi
1726fi
1827
1928# This is the name of the new system as well as the name of the hard disk for it:
@@ -66,10 +75,18 @@ if ! test -f "$DISK" ; then
6675 # sudo rm -fr /var/tmp/.guestfs-*
6776fi
6877
69- if test $EFI = 0 ; then
70- OUT=debian-12-desktop-amd64
78+ if test $TYPE = stable ; then
79+ if test $EFI = 0 ; then
80+ OUT=debian-12-desktop-amd64
81+ else
82+ OUT=debian-12-desktop-amd64-efi
83+ fi
7184else
72- OUT=debian-12-desktop-amd64-efi
85+ if test $EFI = 0 ; then
86+ OUT=debian-13-desktop-amd64
87+ else
88+ OUT=debian-13-desktop-amd64-efi
89+ fi
7390fi
7491if test $ZIP = 1 && ! test -f $OUT .zip && ! test -d $OUT ; then
7592 mkdir -p $OUT
You can’t perform that action at this time.
0 commit comments