mirror of
https://github.com/YunoHost/cd_build.git
synced 2024-09-03 20:06:24 +02:00
test conf
This commit is contained in:
parent
5c7100ace0
commit
d542cd4935
9 changed files with 146 additions and 5 deletions
|
@ -14,7 +14,7 @@ Installation
|
||||||
```
|
```
|
||||||
wget http://build.yunohost.org/simple-cdd_0.3.14_all.deb
|
wget http://build.yunohost.org/simple-cdd_0.3.14_all.deb
|
||||||
sudo dpkg -i simple-cdd_0.3.14_all.deb
|
sudo dpkg -i simple-cdd_0.3.14_all.deb
|
||||||
sudo apt-get install -f genisoimage
|
sudo apt-get install -f genisoimage qemu-kvm
|
||||||
git clone git://github.com/YunoHost/cd_build.git
|
git clone git://github.com/YunoHost/cd_build.git
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ function build-i386
|
||||||
{
|
{
|
||||||
cd $BUILD
|
cd $BUILD
|
||||||
build-simple-cdd --dist wheezy --force-preseed --conf ./simple-cdd-i386.conf
|
build-simple-cdd --dist wheezy --force-preseed --conf ./simple-cdd-i386.conf
|
||||||
add-firmware-to images/debian-7.0-i386-CD-1.iso images/yunohostv2-$DATE-i386.iso wheezy
|
$(pwd)/add-firmware-to images/debian-7.0-i386-CD-1.iso images/yunohostv2-$DATE-i386.iso wheezy
|
||||||
rm images/debian-7.0-i386-CD-1.iso
|
rm images/debian-7.0-i386-CD-1.iso
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ function build-amd64
|
||||||
{
|
{
|
||||||
cd $BUILD2
|
cd $BUILD2
|
||||||
build-simple-cdd --dist wheezy --force-preseed --conf ./simple-cdd-amd64.conf
|
build-simple-cdd --dist wheezy --force-preseed --conf ./simple-cdd-amd64.conf
|
||||||
add-firmware-to images/debian-7.0-amd64-CD-1.iso images/yunohostv2-$DATE-amd64.iso wheezy
|
$(pwd)/add-firmware-to images/debian-7.0-amd64-CD-1.iso images/yunohostv2-$DATE-amd64.iso wheezy
|
||||||
rm images/debian-7.0-amd64-CD-1.iso
|
rm images/debian-7.0-amd64-CD-1.iso
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ function build-amd64-test
|
||||||
{
|
{
|
||||||
cd $BUILD2
|
cd $BUILD2
|
||||||
build-simple-cdd --dist wheezy --force-preseed --conf ./simple-cdd-amd64-test.conf
|
build-simple-cdd --dist wheezy --force-preseed --conf ./simple-cdd-amd64-test.conf
|
||||||
add-firmware-to images/debian-7.0-amd64-CD-1.iso images/yunohostv2-$DATE-amd64-test.iso wheezy
|
$(pwd)/add-firmware-to images/debian-7.0-amd64-CD-1.iso images/yunohostv2-$DATE-amd64-test.iso wheezy
|
||||||
rm images/debian-7.0-amd64-CD-1.iso
|
rm images/debian-7.0-amd64-CD-1.iso
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
39
profiles/test.base_include
Normal file
39
profiles/test.base_include
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# keep grub or debian-installer may not work properly.
|
||||||
|
grub
|
||||||
|
|
||||||
|
popularity-contest
|
||||||
|
localization-config
|
||||||
|
console-tools
|
||||||
|
|
||||||
|
usbutils
|
||||||
|
acpi
|
||||||
|
acpid
|
||||||
|
eject
|
||||||
|
|
||||||
|
# needed for debian-installer's LVM, software RAID or encrypted disks:
|
||||||
|
lvm2
|
||||||
|
mdadm
|
||||||
|
cryptsetup
|
||||||
|
|
||||||
|
# to support reiserfs, JFS and XFS filesystems
|
||||||
|
reiserfsprogs
|
||||||
|
jfsutils
|
||||||
|
xfsprogs
|
||||||
|
|
||||||
|
# type-handling tiny package needed for xorg on most architectures
|
||||||
|
type-handling
|
||||||
|
|
||||||
|
# debian-cd uses debootstrap from the mirror
|
||||||
|
debootstrap
|
||||||
|
|
||||||
|
# initramfs-tools recommends busybox, and we don't yet support recommends
|
||||||
|
busybox
|
||||||
|
|
||||||
|
# newer debian-cd (0.3.5+) requires syslinux-common or syslinux in the mirror
|
||||||
|
syslinux-common
|
||||||
|
syslinux
|
||||||
|
|
||||||
|
# add non-free firmware
|
||||||
|
firmware-linux-nonfree
|
||||||
|
file
|
||||||
|
libc6-i386
|
1
profiles/test.description
Normal file
1
profiles/test.description
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Y U NO HOST full automatic webservices installer
|
39
profiles/test.downloads
Normal file
39
profiles/test.downloads
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# keep grub or debian-installer may not work properly.
|
||||||
|
grub
|
||||||
|
|
||||||
|
popularity-contest
|
||||||
|
localization-config
|
||||||
|
console-tools
|
||||||
|
|
||||||
|
usbutils
|
||||||
|
acpi
|
||||||
|
acpid
|
||||||
|
eject
|
||||||
|
|
||||||
|
# needed for debian-installer's LVM, software RAID or encrypted disks:
|
||||||
|
lvm2
|
||||||
|
mdadm
|
||||||
|
cryptsetup
|
||||||
|
|
||||||
|
# to support reiserfs, JFS and XFS filesystems
|
||||||
|
reiserfsprogs
|
||||||
|
jfsutils
|
||||||
|
xfsprogs
|
||||||
|
|
||||||
|
# type-handling tiny package needed for xorg on most architectures
|
||||||
|
type-handling
|
||||||
|
|
||||||
|
# debian-cd uses debootstrap from the mirror
|
||||||
|
debootstrap
|
||||||
|
|
||||||
|
# initramfs-tools recommends busybox, and we don't yet support recommends
|
||||||
|
busybox
|
||||||
|
|
||||||
|
# newer debian-cd (0.3.5+) requires syslinux-common or syslinux in the mirror
|
||||||
|
syslinux-common
|
||||||
|
syslinux
|
||||||
|
|
||||||
|
# add non-free firmware
|
||||||
|
firmware-linux-nonfree
|
||||||
|
file
|
||||||
|
libc6-i386
|
4
profiles/test.packages
Normal file
4
profiles/test.packages
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# less is more intuituve
|
||||||
|
less
|
||||||
|
simple-cdd-profiles
|
||||||
|
firmware-linux-nonfree
|
|
@ -1,3 +1,59 @@
|
||||||
|
d-i netcfg/use_dhcp false
|
||||||
|
d-i netcfg/choose_interface select auto
|
||||||
|
d-i netcfg/disable_dhcp boolean true
|
||||||
|
d-i netcfg/dhcp_failed note
|
||||||
|
d-i netcfg/get_hostname string yunohost
|
||||||
|
d-i netcfg/get_domain string mondomaine.fr
|
||||||
|
d-i netcfg/get_domain seen true
|
||||||
|
d-i mirror/country string manual
|
||||||
|
d-i mirror/http/hostname string ftp.debian.org
|
||||||
|
d-i mirror/http/directory string /debian
|
||||||
|
d-i mirror/http/proxy string
|
||||||
|
d-i mirror/http/proxy seen false
|
||||||
|
d-i clock-setup/utc boolean true
|
||||||
|
d-i time/zone string Europe/Paris
|
||||||
|
d-i clock-setup/ntp boolean true
|
||||||
|
d-i clock-setup/ntp-server string 3.fr.pool.ntp.org
|
||||||
|
d-i passwd/root-password-crypted password $1$6xBdkGvE$8nLCNRxwABespdFJniEiX0
|
||||||
|
d-i passwd/make-user boolean fasle
|
||||||
|
d-i apt-setup/non-free boolean true
|
||||||
|
d-i apt-setup/contrib boolean true
|
||||||
|
d-i apt-setup/local0/repository string \
|
||||||
|
http://repo.yunohost.org/ lemonldap main
|
||||||
|
d-i apt-setup/local1/repository string \
|
||||||
|
http://repo.yunohost.org/ megusta main
|
||||||
d-i apt-setup/local2/repository string \
|
d-i apt-setup/local2/repository string \
|
||||||
http://repo.yunohost.org/ test main
|
http://repo.yunohost.org/ test main
|
||||||
|
d-i apt-setup/local0/key string http://lemonldap-ng.org/_media/rpm-gpg-key-ow2
|
||||||
|
d-i apt-setup/local1/key string http://repo.yunohost.org/yunohost.asc
|
||||||
d-i apt-setup/local2/key string http://repo.yunohost.org/yunohost.asc
|
d-i apt-setup/local2/key string http://repo.yunohost.org/yunohost.asc
|
||||||
|
d-i debian-installer/allow_unauthenticated string true
|
||||||
|
tasksel tasksel/first multiselect standard, web-server, ssh-server
|
||||||
|
d-i pkgsel/include postfix yunohost
|
||||||
|
popularity-contest popularity-contest/participate boolean false
|
||||||
|
debconf debconf/frontend select Noninteractive
|
||||||
|
d-i grub-installer/only_debian boolean true
|
||||||
|
d-i grub-installer/with_other_os boolean true
|
||||||
|
d-i finish-install/reboot_in_progress note
|
||||||
|
d-i cdrom-detect/eject boolean true
|
||||||
|
d-i debian-installer/exit/reboot boolean true
|
||||||
|
slapd slapd/domain string yunohost.org
|
||||||
|
slapd shared/organization string yunohost
|
||||||
|
slapd slapd/password1 password yunohost
|
||||||
|
slapd slapd/password2 password yunohost
|
||||||
|
postfix postfix/main_mailer_type select Internet Site
|
||||||
|
postfix postfix/mailname string /etc/mailname
|
||||||
|
mysql-server-5.5 mysql-server/root_password password yunohost
|
||||||
|
mysql-server-5.5 mysql-server/root_password_again password yunohost
|
||||||
|
samba-common samba-common/workgroup string WORKGROUP
|
||||||
|
samba-common samba-common/workgroup boolean true
|
||||||
|
nslcd nslcd/ldap-bindpw password
|
||||||
|
nslcd nslcd/ldap-starttls boolean false
|
||||||
|
nslcd nslcd/ldap-reqcert select
|
||||||
|
nslcd nslcd/ldap-uris string ldap://localhost/
|
||||||
|
nslcd nslcd/ldap-binddn string
|
||||||
|
nslcd nslcd/ldap-base string dc=yunohost,dc=org
|
||||||
|
proftpd-basic shared/proftpd/inetd_or_standalone select standalone
|
||||||
|
iptables-persistent iptables-persistent/autosave_v6 boolean false
|
||||||
|
iptables-persistent iptables-persistent/autosave_v4 boolean false
|
||||||
|
libnss-ldapd libnss-ldapd/nsswitch multiselect group, passwd, shadow
|
||||||
|
|
2
profiles/test.udebs
Normal file
2
profiles/test.udebs
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# the udeb needed for simple-cdd
|
||||||
|
simple-cdd-profiles
|
|
@ -1,7 +1,7 @@
|
||||||
server="ftp.fr.debian.org"
|
server="ftp.fr.debian.org"
|
||||||
debian_mirror="ftp://$server/debian/"
|
debian_mirror="ftp://$server/debian/"
|
||||||
rsync_debian_mirror="$server::debian"
|
rsync_debian_mirror="$server::debian"
|
||||||
profiles="default test advanced"
|
profiles="default test"
|
||||||
mirror_components="main contrib non-free"
|
mirror_components="main contrib non-free"
|
||||||
export ARCH="amd64"
|
export ARCH="amd64"
|
||||||
export DISKINFO="YunoHost $(date --utc +%Y%m%d)"
|
export DISKINFO="YunoHost $(date --utc +%Y%m%d)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue