Compare commits
No commits in common. "5f784ba51431ab198802ce9f024e3d5dfbf6d2ab" and "9c4931058c0634f98e778b9d0c6921186487d95d" have entirely different histories.
5f784ba514
...
9c4931058c
3 changed files with 4 additions and 27 deletions
13
init.sh
13
init.sh
|
@ -16,18 +16,15 @@ boot_type="efi64"
|
||||||
repo_dir="repo"
|
repo_dir="repo"
|
||||||
tmp_dir="tmp"
|
tmp_dir="tmp"
|
||||||
current_dir=`pwd`
|
current_dir=`pwd`
|
||||||
|
|
||||||
# In Archlinux, this is default files for syslinux...
|
# In Archlinux, this is default files for syslinux...
|
||||||
conf_file="conf/archlinux.conf"
|
conf_file="conf/archlinux.conf"
|
||||||
key_mountpoint="/mnt/usbstick"
|
key_mountpoint="/mnt/usbstick"
|
||||||
device=""
|
device=""
|
||||||
|
|
||||||
# constant
|
# constant
|
||||||
APP_NAME="Debian USB Creator"
|
APP_NAME="Debian USB Creator"
|
||||||
VERSION="1.99.0"
|
VERSION="1.99.0"
|
||||||
SYSLINUX_EXE=$(command -v syslinux)
|
SYSLINUX_EXE=$(which syslinux)
|
||||||
PARTED_EXE=$(command -v parted)
|
PARTED_EXE=$(which parted)
|
||||||
MCOPY=$(command -v mcopy)
|
|
||||||
SYSLINUX_FILES="menu.c32 vesamenu.c32 libutil.c32 libcom32.c32"
|
SYSLINUX_FILES="menu.c32 vesamenu.c32 libutil.c32 libcom32.c32"
|
||||||
SYSLINUX_BIOS_FILES=""
|
SYSLINUX_BIOS_FILES=""
|
||||||
SYSLINUX_EFI_FILES="ldlinux.e64"
|
SYSLINUX_EFI_FILES="ldlinux.e64"
|
||||||
|
@ -228,12 +225,6 @@ then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$boot_type" == "bios" ] && [ -z "$MCOPY" ]
|
|
||||||
then
|
|
||||||
printf "Bios key creation need mcopy from mtools packages\n"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
bootfiles_Debian="http://ftp.debian.org/debian/dists/stable/main/installer-${debian_arch}/current/images/hd-media"
|
bootfiles_Debian="http://ftp.debian.org/debian/dists/stable/main/installer-${debian_arch}/current/images/hd-media"
|
||||||
if [ $archive -eq 1 ]
|
if [ $archive -eq 1 ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
d-i debian-installer/locale string fr_FR
|
d-i debian-installer/locale string fr_FR
|
||||||
d-i keyboard-configuration/xkb-keymap select fr(latin9)
|
d-i keyboard-configuration/xkb-keymap select fr(latin9)
|
||||||
# d-i netcfg/choose_interface select eth0
|
d-i netcfg/choose_interface select eth0
|
||||||
d-i netcfg/get_hostname string unassigned-hostname
|
d-i netcfg/get_hostname string unassigned-hostname
|
||||||
d-i netcfg/get_domain string unassigned-domain
|
d-i netcfg/get_domain string unassigned-domain
|
||||||
|
|
||||||
|
@ -12,12 +12,6 @@ d-i mirror/http/hostname string ftp.fr.debian.org
|
||||||
d-i mirror/http/directory string /debian
|
d-i mirror/http/directory string /debian
|
||||||
d-i mirror/http/proxy string
|
d-i mirror/http/proxy string
|
||||||
|
|
||||||
#
|
|
||||||
# REPOS
|
|
||||||
#
|
|
||||||
d-i apt-setup/contrib boolean true
|
|
||||||
d-i apt-setup/non-free boolean true
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# USER ACCOUNT
|
# USER ACCOUNT
|
||||||
#
|
#
|
||||||
|
@ -54,7 +48,6 @@ d-i partman/confirm_nooverwrite boolean true
|
||||||
# PACKAGES
|
# PACKAGES
|
||||||
#
|
#
|
||||||
tasksel tasksel/first multiselect none
|
tasksel tasksel/first multiselect none
|
||||||
d-i pkgsel/include string git
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# GRUB
|
# GRUB
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
d-i debian-installer/locale string fr_FR
|
d-i debian-installer/locale string fr_FR
|
||||||
d-i keyboard-configuration/xkb-keymap select fr(latin9)
|
d-i keyboard-configuration/xkb-keymap select fr(latin9)
|
||||||
#d-i netcfg/choose_interface select eth0
|
d-i netcfg/choose_interface select eth0
|
||||||
d-i netcfg/get_hostname string unassigned-hostname
|
d-i netcfg/get_hostname string unassigned-hostname
|
||||||
d-i netcfg/get_domain string unassigned-domain
|
d-i netcfg/get_domain string unassigned-domain
|
||||||
|
|
||||||
|
@ -12,12 +12,6 @@ d-i mirror/http/hostname string ftp.fr.debian.org
|
||||||
d-i mirror/http/directory string /debian
|
d-i mirror/http/directory string /debian
|
||||||
d-i mirror/http/proxy string
|
d-i mirror/http/proxy string
|
||||||
|
|
||||||
#
|
|
||||||
# REPOS
|
|
||||||
#
|
|
||||||
d-i apt-setup/contrib boolean true
|
|
||||||
d-i apt-setup/non-free boolean true
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# USER ACCOUNT
|
# USER ACCOUNT
|
||||||
#
|
#
|
||||||
|
@ -54,7 +48,6 @@ d-i partman/confirm_nooverwrite boolean true
|
||||||
# PACKAGES
|
# PACKAGES
|
||||||
#
|
#
|
||||||
tasksel tasksel/first multiselect none
|
tasksel tasksel/first multiselect none
|
||||||
d-i pkgsel/include string git
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# GRUB
|
# GRUB
|
||||||
|
|
Reference in a new issue