diff --git a/recipes-connectivity/openssh/files/sshd_config_argo b/recipes-connectivity/openssh/files/sshd_config_argo index 836ad5e42a..a12829e246 100644 --- a/recipes-connectivity/openssh/files/sshd_config_argo +++ b/recipes-connectivity/openssh/files/sshd_config_argo @@ -23,8 +23,7 @@ Protocol 2 # HostKey for protocol version 1 #HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 -HostKey /etc/ssh/ssh_host_rsa_key_argo -HostKey /etc/ssh/ssh_host_dsa_key_argo +HostKey /etc/ssh/ssh_host_ed25519_key_argo # Lifetime and size of ephemeral version 1 server key #KeyRegenerationInterval 1h diff --git a/recipes-connectivity/openssh/openssh_8.%.bbappend b/recipes-connectivity/openssh/openssh_8.%.bbappend index 9b91407193..91eff5e21d 100644 --- a/recipes-connectivity/openssh/openssh_8.%.bbappend +++ b/recipes-connectivity/openssh/openssh_8.%.bbappend @@ -23,11 +23,8 @@ do_install_append() { install -m 0644 ${WORKDIR}/sshd_config_argo ${D}${sysconfdir}/ssh/sshd_config_argo install -m 0644 ${WORKDIR}/sshd_config_argo ${D}${sysconfdir}/ssh/sshd_config_readonly_argo - sed -i -e '/HostKey/d' ${D}${sysconfdir}/ssh/sshd_config_readonly_argo - echo "HostKey /var/run/ssh/ssh_host_rsa_key_argo" >> ${D}${sysconfdir}/ssh/sshd_config_readonly_argo - echo "HostKey /var/run/ssh/ssh_host_dsa_key_argo" >> ${D}${sysconfdir}/ssh/sshd_config_readonly_argo - echo "HostKey /var/run/ssh/ssh_host_ecdsa_key_argo" >> ${D}${sysconfdir}/ssh/sshd_config_readonly_argo - echo "HostKey /var/run/ssh/ssh_host_ed25519_key_argo" >> ${D}${sysconfdir}/ssh/sshd_config_readonly_argo + sed -i -e 's|^HostKey /etc/ssh/|HostKey /var/run/ssh/|' \ + ${D}${sysconfdir}/ssh/sshd_config_readonly_argo install -m 0644 ${WORKDIR}/volatiles.99_ssh-keygen ${D}${sysconfdir}/default/volatiles/99_ssh-keygen diff --git a/recipes-core/images/usbvm-image.bb b/recipes-core/images/usbvm-image.bb index 0162c49260..8d1cd83107 100644 --- a/recipes-core/images/usbvm-image.bb +++ b/recipes-core/images/usbvm-image.bb @@ -24,7 +24,6 @@ IMAGE_INSTALL += " \ openssh \ rsyslog \ usbutils \ - argo-module \ grub-xen-conf \ kernel-modules \ vusb-daemon-stub \ diff --git a/recipes-core/images/xenclient-dom0-image.bb b/recipes-core/images/xenclient-dom0-image.bb index 05faa7030c..5651998b12 100644 --- a/recipes-core/images/xenclient-dom0-image.bb +++ b/recipes-core/images/xenclient-dom0-image.bb @@ -41,7 +41,6 @@ IMAGE_INSTALL += "\ packagegroup-xenclient-common \ packagegroup-xenclient-dom0 \ packagegroup-openxt-test \ - argo-module \ txt-info-module \ xenclient-preload-hs-libs \ linux-firmware-i915 \ diff --git a/recipes-core/images/xenclient-ndvm-image.bb b/recipes-core/images/xenclient-ndvm-image.bb index 50d92a5050..3e9bdc1344 100644 --- a/recipes-core/images/xenclient-ndvm-image.bb +++ b/recipes-core/images/xenclient-ndvm-image.bb @@ -56,7 +56,6 @@ IMAGE_INSTALL = " \ linux-firmware-bnx2 \ xenclient-ndvm-tweaks \ rsyslog \ - argo-module \ xen-tools-libxenstore \ xen-tools-xenstore \ wget \ diff --git a/recipes-core/images/xenclient-stubdomain-initramfs-image.bb b/recipes-core/images/xenclient-stubdomain-initramfs-image.bb index e96fb4fea0..25d79d12cd 100644 --- a/recipes-core/images/xenclient-stubdomain-initramfs-image.bb +++ b/recipes-core/images/xenclient-stubdomain-initramfs-image.bb @@ -20,7 +20,6 @@ IMAGE_INSTALL = " \ initramfs-stubdomain \ xen-tools-xenstore \ qemu-dm-stubdom \ - argo-module \ " IMAGE_LINGUAS = "" diff --git a/recipes-core/images/xenclient-syncvm-image.bb b/recipes-core/images/xenclient-syncvm-image.bb index 9f9d20903c..f3d6b00194 100644 --- a/recipes-core/images/xenclient-syncvm-image.bb +++ b/recipes-core/images/xenclient-syncvm-image.bb @@ -32,7 +32,6 @@ IMAGE_INSTALL = "\ packagegroup-base \ packagegroup-xenclient-common \ kernel-modules \ - argo-module \ libargo \ libargo-bin \ rsyslog \ diff --git a/recipes-core/images/xenclient-uivm-image.bb b/recipes-core/images/xenclient-uivm-image.bb index 00c4bd0225..4819a2d994 100644 --- a/recipes-core/images/xenclient-uivm-image.bb +++ b/recipes-core/images/xenclient-uivm-image.bb @@ -57,7 +57,6 @@ IMAGE_INSTALL += "\ openssh \ packagegroup-base \ kernel-modules \ - argo-module \ libargo \ libargo-bin \ xinit \ diff --git a/recipes-extended/monit/monit/dom0-cfg b/recipes-extended/monit/monit/dom0-cfg index f9d943ea4e..19a66c76bc 100644 --- a/recipes-extended/monit/monit/dom0-cfg +++ b/recipes-extended/monit/monit/dom0-cfg @@ -8,3 +8,7 @@ set statefile /var/lib/monit/state set eventqueue basedir /var/lib/monit/events slots 100 + +set httpd port 2812 and + use address 127.0.0.1 + allow 127.0.0.1 diff --git a/recipes-openxt/argo/argo-module_git.bb b/recipes-openxt/argo/argo-module_git.bb index 4d207b31d9..4da2fbecb5 100644 --- a/recipes-openxt/argo/argo-module_git.bb +++ b/recipes-openxt/argo/argo-module_git.bb @@ -8,13 +8,31 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" require argo.inc +SRC_URI += " \ + file://60-argo.rules \ +" S = "${WORKDIR}/git/argo-linux" inherit module inherit module-signing +inherit useradd EXTRA_OEMAKE += "INSTALL_HDR_PATH=${D}${prefix}" MODULES_INSTALL_TARGET += "headers_install" KERNEL_MODULE_AUTOLOAD += "xen-argo" + +RRECOMMENDS_${PN} = "${PN}-udev" +PACKAGE_BEFORE_PN += "${PN}-udev" +FILES_${PN}-udev = " \ + ${sysconfdir}/udev/rules.d/ \ +" + +USERADD_PACKAGES = "${PN}-udev" +GROUPADD_PARAM_${PN}-udev = "-r argo" + +do_install_append() { + install -d ${D}${sysconfdir}/udev/rules.d + install -m 0644 ${WORKDIR}/60-argo.rules ${D}${sysconfdir}/udev/rules.d/ +} diff --git a/recipes-openxt/argo/files/60-argo.rules b/recipes-openxt/argo/files/60-argo.rules new file mode 100644 index 0000000000..d92c123966 --- /dev/null +++ b/recipes-openxt/argo/files/60-argo.rules @@ -0,0 +1,2 @@ +KERNEL=="argo_stream", MODE="0660", GROUP="argo" +KERNEL=="argo_dgram", MODE="0660", GROUP="argo" diff --git a/recipes-openxt/argo/libargo_git.bb b/recipes-openxt/argo/libargo_git.bb index 6d1e67515e..bad182eb41 100644 --- a/recipes-openxt/argo/libargo_git.bb +++ b/recipes-openxt/argo/libargo_git.bb @@ -10,3 +10,5 @@ S = "${WORKDIR}/git/libargo" inherit autotools-brokensep pkgconfig lib_package EXTRA_OECONF += "--with-pic" + +RDEPENDS_${PN} += "argo-module" diff --git a/recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/grub.cfg b/recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/grub.cfg index a603d8f7e8..39fe9756dc 100644 --- a/recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/grub.cfg +++ b/recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/grub.cfg @@ -53,6 +53,7 @@ menuentry "XenClient: Normal" { module /boot/6th_gen_i5_i7_SINIT_71.BIN module /boot/7th_gen_i5_i7-SINIT_74.bin module /boot/8th_gen_i5_i7-SINIT_76.bin + module /boot/7th_8th_gen_i5_i7-SINIT_81.bin # This module should remain here or Xen's command line has to be updated with ucode= (currently ucode=-2) module /boot/microcode_intel.bin # not ELF - causes module alignment problems @@ -79,6 +80,7 @@ menuentry "XenClient Technical Support Option: Safe graphics" { module /boot/6th_gen_i5_i7_SINIT_71.BIN module /boot/7th_gen_i5_i7-SINIT_74.bin module /boot/8th_gen_i5_i7-SINIT_76.bin + module /boot/7th_8th_gen_i5_i7-SINIT_81.bin module /boot/microcode_intel.bin module /etc/xen/xenrefpolicy/policy/policy.24 } @@ -102,6 +104,7 @@ menuentry "XenClient Technical Support Option: Safe Mode (no autostart of VMs)" module /boot/6th_gen_i5_i7_SINIT_71.BIN module /boot/7th_gen_i5_i7-SINIT_74.bin module /boot/8th_gen_i5_i7-SINIT_76.bin + module /boot/7th_8th_gen_i5_i7-SINIT_81.bin module /boot/microcode_intel.bin module /etc/xen/xenrefpolicy/policy/policy.24 } @@ -126,6 +129,7 @@ menuentry "XenClient Technical Support Option: Safe Mode with AMT serial" { module /boot/6th_gen_i5_i7_SINIT_71.BIN module /boot/7th_gen_i5_i7-SINIT_74.bin module /boot/8th_gen_i5_i7-SINIT_76.bin + module /boot/7th_8th_gen_i5_i7-SINIT_81.bin module /boot/microcode_intel.bin module /etc/xen/xenrefpolicy/policy/policy.24 } @@ -150,6 +154,7 @@ menuentry "XenClient Technical Support Option: Normal Mode with synchronised con module /boot/6th_gen_i5_i7_SINIT_71.BIN module /boot/7th_gen_i5_i7-SINIT_74.bin module /boot/8th_gen_i5_i7-SINIT_76.bin + module /boot/7th_8th_gen_i5_i7-SINIT_81.bin module /boot/microcode_intel.bin module /etc/xen/xenrefpolicy/policy/policy.24 } @@ -174,6 +179,7 @@ menuentry "XenClient Technical Support Option: console access" { module /boot/6th_gen_i5_i7_SINIT_71.BIN module /boot/7th_gen_i5_i7-SINIT_74.bin module /boot/8th_gen_i5_i7-SINIT_76.bin + module /boot/7th_8th_gen_i5_i7-SINIT_81.bin module /boot/microcode_intel.bin module /etc/xen/xenrefpolicy/policy/policy.24 } @@ -198,6 +204,7 @@ menuentry "XenClient Technical Support Option: console access with AMT serial" { module /boot/6th_gen_i5_i7_SINIT_71.BIN module /boot/7th_gen_i5_i7-SINIT_74.bin module /boot/8th_gen_i5_i7-SINIT_76.bin + module /boot/7th_8th_gen_i5_i7-SINIT_81.bin module /boot/microcode_intel.bin module /etc/xen/xenrefpolicy/policy/policy.24 } diff --git a/recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/openxt.cfg b/recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/openxt.cfg index 6fb50841f8..93077093c5 100644 --- a/recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/openxt.cfg +++ b/recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/openxt.cfg @@ -1,7 +1,7 @@ [global] default=openxt-normal tboot=tboot min_ram=0x2000000 loglvl=all serial=115200,8n1,0x3f8 logging=serial,memory -sinit=GM45_GS45_PM45_SINIT_51.BIN Q35_SINIT_51.BIN Q45_Q43_SINIT_51.BIN i5_i7_DUAL_SINIT_51.BIN i7_QUAD_SINIT_51.BIN 3rd_gen_i5_i7_SINIT_67.BIN Xeon-5600-3500-SINIT-v1.1.bin Xeon-E7-8800-4800-2800-SINIT-v1.1.bin 4th_gen_i5_i7_SINIT_75.BIN 5th_gen_i5_i7_SINIT_79.BIN 6th_gen_i5_i7_SINIT_71.BIN 7th_gen_i5_i7-SINIT_74.bin 8th_gen_i5_i7-SINIT_76.bin +sinit=GM45_GS45_PM45_SINIT_51.BIN Q35_SINIT_51.BIN Q45_Q43_SINIT_51.BIN i5_i7_DUAL_SINIT_51.BIN i7_QUAD_SINIT_51.BIN 3rd_gen_i5_i7_SINIT_67.BIN Xeon-5600-3500-SINIT-v1.1.bin Xeon-E7-8800-4800-2800-SINIT-v1.1.bin 4th_gen_i5_i7_SINIT_75.BIN 5th_gen_i5_i7_SINIT_79.BIN 6th_gen_i5_i7_SINIT_71.BIN 7th_gen_i5_i7-SINIT_74.bin 8th_gen_i5_i7-SINIT_76.bin 7th_8th_gen_i5_i7-SINIT_81.bin ucode=microcode_intel.bin [openxt-normal] diff --git a/recipes-openxt/xenclient-syncvm-tweaks/xenclient-syncvm-tweaks-1.0/network-config.initscript b/recipes-openxt/xenclient-syncvm-tweaks/xenclient-syncvm-tweaks-1.0/network-config.initscript index 762b9f10a7..f9792fea81 100644 --- a/recipes-openxt/xenclient-syncvm-tweaks/xenclient-syncvm-tweaks-1.0/network-config.initscript +++ b/recipes-openxt/xenclient-syncvm-tweaks/xenclient-syncvm-tweaks-1.0/network-config.initscript @@ -17,15 +17,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -domstore_read() -{ - LD_PRELOAD=/usr/lib/libargo-1.0.so.0 \ - DBUS_SYSTEM_BUS_ADDRESS=tcp:host=1.0.0.0,port=5556 \ - INET_IS_ARGO=1 \ - db-read "$@" -} - -if [ "$(domstore_read network/mode)" = "static" ] ; then +if [ "$(db-read-dom0 network/mode)" = "static" ] ; then cat < /var/volatile/etc/network/interfaces auto lo @@ -33,13 +25,13 @@ iface lo inet loopback auto eth0 iface eth0 inet static -address $(domstore_read network/address) -netmask $(domstore_read network/netmask) -gateway $(domstore_read network/gateway) +address $(db-read-dom0 network/address) +netmask $(db-read-dom0 network/netmask) +gateway $(db-read-dom0 network/gateway) EOF cat < /etc/resolv.conf -nameserver $(domstore_read network/dns) +nameserver $(db-read-dom0 network/dns) EOF else diff --git a/recipes-openxt/xenclient-syncvm-tweaks/xenclient-syncvm-tweaks_1.0.bb b/recipes-openxt/xenclient-syncvm-tweaks/xenclient-syncvm-tweaks_1.0.bb index 48ce729528..4bfd1b2f1f 100644 --- a/recipes-openxt/xenclient-syncvm-tweaks/xenclient-syncvm-tweaks_1.0.bb +++ b/recipes-openxt/xenclient-syncvm-tweaks/xenclient-syncvm-tweaks_1.0.bb @@ -9,7 +9,7 @@ SRC_URI = "file://argo.modutils \ PACKAGES = "${PN}" -RDEPENDS_${PN} += "dbd-tools" +RDEPENDS_${PN} += "dbd-tools-guest" FILES_${PN} = "/"