mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge branch 'current' of github.com:vyos/vyos-build into current
This commit is contained in:
commit
7208424fc0
6
data/live-build-config/hooks/21-systemd_conf.chroot
Executable file
6
data/live-build-config/hooks/21-systemd_conf.chroot
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo I: Show systemd statuson boot.
|
||||
|
||||
echo "ShowStatus=yes" >> /etc/systemd/system.conf
|
||||
echo "SysVConsole=yes" >> /etc/systemd/system.conf
|
||||
@ -0,0 +1,2 @@
|
||||
[Unit]
|
||||
After=vyatta-router.service
|
||||
@ -1,20 +1,20 @@
|
||||
menuentry "VyOS (KVM console)" {
|
||||
linux /boot//vmlinuz boot=live quiet systemd.show_status=1 vyos-union=/boot/ console=ttyS0,9600 console=tty0
|
||||
linux /boot//vmlinuz boot=live quiet vyos-union=/boot/ console=ttyS0,9600 console=tty0
|
||||
initrd /boot//initrd.img
|
||||
}
|
||||
|
||||
menuentry "VyOS (Serial console)" {
|
||||
linux /boot//vmlinuz boot=live quiet systemd.show_status=1 vyos-union=/boot/ console=tty0 console=ttyS0,9600
|
||||
linux /boot//vmlinuz boot=live quiet vyos-union=/boot/ console=tty0 console=ttyS0,9600
|
||||
initrd /boot//initrd.img
|
||||
}
|
||||
|
||||
menuentry "Lost password change (KVM console)" {
|
||||
linux /boot//vmlinuz boot=live quiet systemd.show_status=1 vyos-union=/boot/ console=ttyS0,9600 console=tty0 init=/opt/vyatta/sbin/standalone_root_pw_reset
|
||||
linux /boot//vmlinuz boot=live quiet vyos-union=/boot/ console=ttyS0,9600 console=tty0 init=/opt/vyatta/sbin/standalone_root_pw_reset
|
||||
initrd /boot//initrd.img
|
||||
}
|
||||
|
||||
menuentry "Lost password change (Serial console)" {
|
||||
linux /boot//vmlinuz boot=live quiet systemd.show_status=1 vyos-union=/boot/ console=tty0 console=ttyS0,9600 init=/opt/vyatta/sbin/standalone_root_pw_reset
|
||||
linux /boot//vmlinuz boot=live quiet vyos-union=/boot/ console=tty0 console=ttyS0,9600 init=/opt/vyatta/sbin/standalone_root_pw_reset
|
||||
initrd /boot//initrd.img
|
||||
}
|
||||
|
||||
|
||||
@ -122,12 +122,12 @@ fi
|
||||
|
||||
|
||||
menuentry "VyOS $version (Serial console)" {
|
||||
linux /boot/"$version"/vmlinuz boot=live systemd.show_status=1 quiet vyatta-union=/boot/"$version" console=ttyS0,115200n8
|
||||
linux /boot/"$version"/vmlinuz boot=live quiet vyos-union=/boot/"$version" console=ttyS0,115200n8
|
||||
initrd /boot/"$version"/initrd.img
|
||||
}
|
||||
|
||||
menuentry "Lost password change $version (Serial console)" {
|
||||
linux /boot/"$version"/vmlinuz boot=live quiet systemd.show_status=1 vyatta-union=/boot/"$version" console=ttyS0,115200n8 init=/opt/vyatta/sbin/standalone_root_pw_reset
|
||||
linux /boot/"$version"/vmlinuz boot=live quiet vyos-union=/boot/"$version" console=ttyS0,115200n8 init=/opt/vyatta/sbin/standalone_root_pw_reset
|
||||
initrd /boot/"$version"/initrd.img
|
||||
}
|
||||
EOF
|
||||
|
||||
@ -3,4 +3,11 @@
|
||||
LOCAL_PKG_DIR=build/config/packages.chroot
|
||||
|
||||
mkdir -p $LOCAL_PKG_DIR
|
||||
cp packages/*.deb $LOCAL_PKG_DIR
|
||||
|
||||
FILES=packages/*.deb
|
||||
for f in $FILES
|
||||
do
|
||||
if [ -e "$f" ]; then
|
||||
cp $f $LOCAL_PKG_DIR
|
||||
fi
|
||||
done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user