diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-18 12:41:59 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-18 12:41:59 +0100 |
commit | e2559c975d22593d6edc087c51805f36ba1b7e57 (patch) | |
tree | c0101867fb675383ba19b84140f3aa060ac965a3 /scripts/live-build-config | |
parent | c12a8da143d67fa39f00ef6538bb39d03cc2e65e (diff) | |
parent | 5d54c6390c04c9f16f7e0276500699cddccc3e60 (diff) | |
download | vyos-build-e2559c975d22593d6edc087c51805f36ba1b7e57.tar.gz vyos-build-e2559c975d22593d6edc087c51805f36ba1b7e57.zip |
Merge branch 'equuleus' of github.com:vyos/vyos-build into current
* 'equuleus' of github.com:vyos/vyos-build: (68 commits)
systemd: cryptsetup: we do not support encrypted volumes
systemd: igmpproxy: service is handled by VyOS CLI
systemd: ntp: service is handled by VyOS CLI
systemd: man: do not rebuild man db once a day
systemd: pcscd: disable SmartCard service
systemd: apt: disable daily update service
ndisc6: add ICMPv6 Neighbor Discovery tool
rsyslog: disabling rsyslog causes start issues if required
syslog: T1834: 'del system syslog' doesn't stop rsyslog
syslog: T1834: 'del system syslog' doesn't stop rsyslog
Jenkins: archive ISO on failed builds if possible
vyos-qat: adding pkg dependency
Kernel: T1800: update to Linux 4.19.84
hooks: synchronize Linux Firmware with current branch
Kernel: T1791: update to Linux 4.19.82
T1773: update Dockerfile for changes to libvyosconfig
kernel-version: fixing typo
Kernel: update to 4.19.76 in defaults.json
acpid: enable acpid to enable power button triggered shutdowns
systemd-disable - heartbeat.service disabled
...
Diffstat (limited to 'scripts/live-build-config')
-rwxr-xr-x | scripts/live-build-config | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/scripts/live-build-config b/scripts/live-build-config index 1b3b4541..171b827d 100755 --- a/scripts/live-build-config +++ b/scripts/live-build-config @@ -35,8 +35,8 @@ util.check_build_config() lb_config_tmpl = """ lb config noauto \ --architectures {{architecture}} \ - --bootappend-live "boot=live components hostname=vyos username=live nopersistence noautologin nonetworking union=overlay console=ttyS0,115200 console=tty0" \ - --bootappend-live-failsafe "live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal console=ttyS0,115200 console=tty0" \ + --bootappend-live "boot=live components hostname=vyos username=live nopersistence noautologin nonetworking union=overlay console=ttyS0,115200 console=tty0 net.ifnames=0 biosdevname=0" \ + --bootappend-live-failsafe "live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal console=ttyS0,115200 console=tty0 net.ifnames=0 biosdevname=0" \ --linux-flavours {{kernel_flavor}} \ --linux-packages linux-image-{{kernel_version}} \ --bootloader syslinux,grub-efi \ @@ -46,7 +46,7 @@ lb config noauto \ --iso-application "VyOS" \ --iso-publisher "{{build_by}}" \ --iso-volume "VyOS" \ - --debootstrap-options "--variant=minbase --exclude=isc-dhcp-client,isc-dhcp-common,ifupdown --include=apt-transport-https" \ + --debootstrap-options "--variant=minbase --exclude=isc-dhcp-client,isc-dhcp-common,ifupdown --include=apt-transport-https,gnupg2" \ --mirror-bootstrap {{debian_mirror}} \ --mirror-chroot {{debian_mirror}} \ --mirror-chroot-security {{debian_security_mirror}} \ @@ -55,9 +55,9 @@ lb config noauto \ --archive-areas "main contrib non-free" \ --firmware-chroot false \ --firmware-binary false \ - --updates false \ + --updates true \ --security true \ - --apt-options "--yes -oAcquire::Check-Valid-Until=false" \ + --apt-options "--yes -oAPT::Default-Release="equuleus" -oAPT::Get::allow-downgrades=true" \ --apt-indices false "${@}" """ @@ -69,19 +69,16 @@ debug = build_config['debug'] # Add the additional repositories to package lists print("Setting up additional APT entries") -vyos_repo_entry = "deb {0}/vyos {1} main\n".format(build_config['vyos_mirror'], build_config['vyos_branch']) -vyos_debian_repo_entry = "deb {0}/debian {1} main\n".format(build_config['vyos_mirror'], build_config['vyos_branch']) +vyos_repo_entry = "deb {0} {1} main\n".format(build_config['vyos_mirror'], build_config['vyos_branch']) apt_file = os.path.join(build_config['build_dir'], defaults.VYOS_REPO_FILE) if debug: print("Adding these entries to {0}:".format(apt_file)) print("\t", vyos_repo_entry) - print("\t", vyos_debian_repo_entry) with open(apt_file, 'w') as f: f.write(vyos_repo_entry) - f.write(vyos_debian_repo_entry) # Add custom APT entries if build_config['custom_apt_entry']: |