├── .gitignore ├── COPYING.GPLv2 ├── COPYING.MIT ├── LICENSE ├── README ├── classes ├── image-qa-module-sigs.bbclass ├── kernel-module-signing.bbclass ├── module-signing.bbclass ├── openxt-efi.bbclass ├── openxt-image-disk.bbclass ├── openxt-image.bbclass ├── openxt-selinux-image.bbclass ├── openxt-syslinux.bbclass ├── openxt-vm-common.bbclass ├── openxt_image_types.bbclass ├── xc-rpcgen-c.bbclass ├── xc-rpcgen.bbclass ├── xenclient-customtask.bbclass ├── xenclient-licences.bbclass └── xenclient-sbuild.bbclass ├── conf ├── distro │ ├── openxt-main.conf │ └── xc-rpcgen.inc ├── layer.conf └── machine │ ├── openxt-installer.conf │ ├── usbvm.conf │ ├── xenclient-common.conf │ ├── xenclient-dom0.conf │ ├── xenclient-ndvm.conf │ ├── xenclient-stubdomain.conf │ ├── xenclient-syncui.conf │ ├── xenclient-syncvm.conf │ └── xenclient-uivm.conf ├── files ├── additional-licenses │ └── Intel-ACMs └── openxt-fs-perms.txt ├── recipes-bsp ├── acpid │ ├── acpid.inc │ ├── acpid │ │ ├── ac │ │ ├── ac_actions │ │ └── powerbtn │ └── acpid_2.0.%.bbappend ├── grub │ ├── files │ │ ├── cfg │ │ ├── grub-efi-installer.cfg │ │ └── grub-xen.cfg │ ├── grub-efi_2.%.bbappend │ ├── grub-xen-conf.bb │ ├── grub-xen-pv64_2.04.bb │ ├── grub-xen-pvh_2.04.bb │ ├── grub-xen.inc │ ├── grub_2.%.bbappend │ └── patches │ │ ├── no-multiboot-display-reset.patch │ │ └── remove-editing-and-shell.patch └── shim │ ├── files │ ├── 0001-Add-KEEP_DISCARDABLE_RELOC-build-option.patch │ ├── 0002-Allow-32-bit-images-for-measurement-verification-via.patch │ ├── 0003-Add-Measure-function-to-the-shim-lock-protocol.patch │ ├── 0004-Don-t-measure-with-Authenticode.patch │ ├── 0005-mokmanager-GCC9-address-of-packed-member.patch │ └── 0006-Fix-typo-in-EFI-error-codes.patch │ └── shim_git.bb ├── recipes-connectivity ├── network-manager-applet │ ├── network-manager-applet-1.16.0 │ │ ├── always-use-psk-hash.patch │ │ ├── default-certs-dir.patch │ │ ├── disable-auto-ethernet.patch │ │ ├── disable-available-to-all-users-checkbox.patch │ │ ├── disable-show-password.patch │ │ ├── openxt-menus.patch │ │ └── org.openxt.nmapplet.xml │ ├── network-manager-applet-1.8.22 │ │ ├── always-use-psk-hash.patch │ │ ├── default-certs-dir.patch │ │ ├── disable-auto-ethernet.patch │ │ ├── disable-available-to-all-users-checkbox.patch │ │ ├── disable-show-password.patch │ │ ├── openxt-menus.patch │ │ └── org.openxt.nmapplet.xml │ ├── network-manager-applet_1.16.0.bbappend │ ├── network-manager-applet_1.8.22.bb │ └── network-manager-applet_1.8.22.bbappend ├── networkmanager-certs │ ├── networkmanager-certs.bb │ └── networkmanager-certs │ │ ├── certs-sync │ │ └── populate-certs.sh ├── networkmanager │ ├── files │ │ ├── NetworkManager.conf │ │ ├── db_to_nm.awk │ │ ├── dbus-system.conf │ │ ├── nm_sync.sh │ │ ├── nm_to_db.awk │ │ └── org.openxt.nmapplet.conf │ ├── networkmanager-1.18.4 │ │ ├── always-assume-uid-for-external-processes.patch │ │ ├── always-use-existing-connections.patch │ │ ├── auto-dhcp.patch │ │ ├── db-nm-settings.patch │ │ ├── disable-ipv6-config.patch │ │ ├── fix-compatibility-with-network-slave.patch │ │ ├── fix-eth0-slave-issues.patch │ │ ├── fix-network-reenable.patch │ │ ├── update-resolv-conf.patch │ │ ├── update-routing-tables.patch │ │ └── use-dom0-db-for-seen-bssids.patch │ ├── networkmanager-1.22.% │ │ ├── always-assume-uid-for-external-processes.patch │ │ ├── auto-dhcp.patch │ │ ├── db-nm-settings.patch │ │ ├── disable-ipv6-config.patch │ │ ├── fix-compatibility-with-network-slave.patch │ │ ├── fix-eth0-slave-issues.patch │ │ ├── fix-network-reenable.patch │ │ ├── update-resolv-conf.patch │ │ ├── update-routing-tables.patch │ │ └── use-dom0-db-for-seen-bssids.patch │ ├── networkmanager │ │ ├── 0001-Fixed-configure.ac-Fix-pkgconfig-sysroot-locations.patch │ │ ├── 0002-Do-not-create-settings-settings-property-documentati.patch │ │ ├── musl │ │ │ ├── 0001-Fix-build-with-musl-systemd-specific.patch │ │ │ └── 0002-Fix-build-with-musl.patch │ │ └── networkmanager.initd │ ├── networkmanager_1.18.4.bb │ ├── networkmanager_1.18.4.bbappend │ └── networkmanager_1.22.%.bbappend └── openssh │ ├── files │ ├── init_argo │ ├── scpargo │ ├── ssh_config │ ├── sshargo │ ├── sshd_check_keys │ ├── sshd_check_keys_argo │ ├── sshd_config │ ├── sshd_config_argo │ └── volatiles.99_ssh-keygen │ └── openssh_8.%.bbappend ├── recipes-core ├── base-files │ ├── base-files_3.%.bbappend │ └── files │ │ ├── fstab.early │ │ ├── openxt-aliases.sh │ │ ├── openxt-installer │ │ └── fstab │ │ ├── usbvm │ │ ├── fstab │ │ └── fstab.early │ │ ├── xenclient-dom0 │ │ └── fstab │ │ ├── xenclient-ndvm │ │ └── fstab │ │ ├── xenclient-syncvm │ │ ├── fstab │ │ └── fstab.early │ │ └── xenclient-uivm │ │ ├── fstab │ │ └── fstab.early ├── base-passwd │ └── base-passwd_3.%.bbappend ├── busybox │ ├── busybox_%.bbappend │ └── files │ │ ├── archive.cfg │ │ ├── console.cfg │ │ ├── coreutils.cfg │ │ ├── editors.cfg │ │ ├── find.cfg │ │ ├── general.cfg │ │ ├── login.cfg │ │ ├── lspci.cfg │ │ ├── lsusb.cfg │ │ ├── mdev.cfg │ │ ├── mdev.conf │ │ ├── misc.cfg │ │ ├── netutils.cfg │ │ ├── poweroff.cfg │ │ ├── process.cfg │ │ ├── setsid.cfg │ │ ├── shells.cfg │ │ ├── syslog.cfg │ │ ├── sysutils.cfg │ │ └── tftp.cfg ├── dbus │ ├── dbus_1.%.bbappend │ └── patches │ │ ├── add-domid-authentication.patch │ │ └── fix-segfault-bus_connection_disconnected.patch ├── glib-2.0 │ └── glib-2.0_%.bbappend ├── images │ ├── usbvm-image.bb │ ├── xenclient-dom0-image.bb │ ├── xenclient-initramfs-image.bb │ ├── xenclient-installer-image.bb │ ├── xenclient-ndvm-image.bb │ ├── xenclient-stubdomain-initramfs-image.bb │ ├── xenclient-syncvm-image.bb │ ├── xenclient-uivm-image.bb │ └── xenclient-version.inc ├── init-ifupdown │ ├── init-ifupdown-1.0 │ │ ├── if-down.d │ │ │ └── .mtn2git_empty │ │ ├── if-post-down.d │ │ │ └── .mtn2git_empty │ │ ├── if-pre-up.d │ │ │ └── .mtn2git_empty │ │ ├── if-up.d │ │ │ └── .mtn2git_empty │ │ ├── init │ │ ├── options │ │ ├── xenclient-dom0 │ │ │ └── interfaces │ │ ├── xenclient-ndvm │ │ │ └── interfaces │ │ ├── xenclient-syncvm │ │ │ └── interfaces │ │ └── xenclient-uivm │ │ │ └── interfaces │ └── init-ifupdown_1.0.bbappend ├── initrdscripts │ ├── initramfs-framework │ │ ├── bootfs │ │ ├── functions │ │ ├── selinux │ │ ├── tpm │ │ └── tpm2 │ ├── initramfs-framework_%.bbappend │ ├── initramfs-stubdomain │ │ ├── init.sh │ │ └── qemu-xvdc-add-fd.sh │ └── initramfs-stubdomain_1.0.bb ├── initscripts │ ├── initscripts-1.0 │ │ ├── finish.sh │ │ ├── functions-dbus │ │ ├── functions-selinux │ │ ├── mountall.sh │ │ ├── mountearly.sh │ │ ├── mountefi.sh │ │ ├── populate-volatile.sh │ │ ├── udev-volatiles.sh │ │ ├── xenclient-dom0 │ │ │ ├── mountall.sh │ │ │ ├── urandom │ │ │ └── volatiles │ │ ├── xenclient-ndvm │ │ │ ├── finish.sh │ │ │ └── volatiles │ │ ├── xenclient-syncvm │ │ │ └── mountall.sh │ │ └── xenclient-uivm │ │ │ ├── mountall.sh │ │ │ ├── single │ │ │ └── volatiles │ └── initscripts_1.0.bbappend ├── jamvm │ └── jamvm_git.bbappend ├── microcode │ ├── files │ │ └── Intel-Microcode-License │ └── intel-microcode_%.bbappend ├── ovmf │ ├── ovmf │ │ ├── xcp-ng-add-xen-platform-device-id.patch │ │ ├── xcp-ng-add-xen-variable.patch │ │ ├── xcp-ng-keep-caching-enabled.patch │ │ ├── xcp-ng-set-default-resolution-1024-768.patch │ │ └── xcp-ng-xenorder.patch │ └── ovmf_git.bbappend ├── packagegroups │ ├── packagegroup-base.bbappend │ ├── packagegroup-openxt-test.bb │ ├── packagegroup-xenclient-common.bb │ ├── packagegroup-xenclient-dom0.bb │ ├── packagegroup-xenclient-extra.bb │ ├── packagegroup-xenclient-installer.bb │ └── packagegroup-xenclient-xfce-minimal.bb ├── sysvinit │ └── sysvinit-inittab_%.bbappend ├── udev │ ├── eudev │ │ └── disable-cdrom-lock.patch │ ├── eudev_%.bbappend │ ├── udev-extraconf-dom0 │ │ └── 50-usb-powersave.rules │ └── udev-extraconf-dom0_1.0.bb └── varstored │ ├── varstored │ ├── 0001-Cleanup-pidfile-when-exiting.patch │ └── 0001-add-oxtdb-varstore.patch │ └── varstored_git.bb ├── recipes-devtools ├── bats-suite │ └── bats-suite_git.bb ├── bats │ └── bats_git.bb ├── binutils │ └── binutils-cross_2.%.bbappend ├── digimend │ ├── hidrd_git.bb │ └── usbhid-dump_1.4.bb ├── dmidecode │ ├── dmidecode_3.%.bbappend │ └── patches │ │ └── use-oe-vars.patch ├── dojo │ ├── dojosdk-native-1.8.1 │ │ └── use-java-native-copy-rather-than-forking.patch │ ├── dojosdk-native.inc │ ├── dojosdk-native_1.7.12.bb │ └── dojosdk-native_1.8.1.bb ├── gptfdisk │ ├── gptfdisk │ │ └── fix-32-bit-overflow.patch │ └── gptfdisk_1.0.%.bbappend ├── opkg │ ├── opkg_0.4.%.bbappend │ └── patches │ │ └── lock-cloexec.patch ├── python │ ├── files │ │ └── remove-twine.patch │ └── python3-daemon_2.2.4.bb ├── rsync │ └── rsync_%.bbappend ├── strace │ ├── strace │ │ ├── 0001-caps-abbrev.awk-fix-gawk-s-path.patch │ │ ├── 0001-strace-fix-reproducibilty-issues.patch │ │ ├── Makefile-ptest.patch │ │ ├── mips-SIGEMT.patch │ │ ├── ptest-spacesave.patch │ │ ├── run-ptest │ │ ├── uintptr_t.patch │ │ └── update-gawk-paths.patch │ └── strace_5.12.bb ├── syslinux │ ├── files │ │ ├── bootmsg.txt │ │ ├── isolinux.cfg │ │ └── pxelinux.cfg │ └── syslinux_6.%.bbappend └── valgrind │ ├── patches │ └── openxt-xen-4.3.patch │ └── valgrind_3.%.bbappend ├── recipes-extended ├── ipxe │ ├── ipxe │ │ ├── 0002-efi-Fix-sanity-check-in-dbg_efi_protocols.patch │ │ ├── early-debug.patch │ │ └── xen-debug-output-driver.patch │ └── ipxe_%.bbappend ├── libtirpc │ └── libtirpc_%.bbappend ├── linux-input │ ├── files │ │ ├── 99-wacom-serial.rules │ │ └── snes232.patch │ └── linux-input_1.6.0.bb ├── logrotate │ ├── files │ │ ├── logrotate-wrapper │ │ └── logrotate.conf │ └── logrotate_%.bbappend ├── monit │ ├── monit │ │ ├── dom0-cfg │ │ └── volatiles │ └── monit_%.bbappend ├── newt │ ├── libnewt │ │ └── security-flags.patch │ └── libnewt_%.bbappend ├── pam │ ├── libpam │ │ └── pam.d │ │ │ └── common-auth │ ├── libpam_1.%.bbappend │ └── patches │ │ └── etc-config-passwd.patch ├── polkit │ └── polkit_%.bbappend ├── qemu-dm │ ├── qemu-dm-stubdom.bb │ ├── qemu-dm.bb │ ├── qemu-dm.inc │ └── qemu-dm │ │ ├── 0001-vnc-stubs-Allow-vnc-none.patch │ │ ├── ac97-compatibility.patch │ │ ├── acpi-pm-feature.patch │ │ ├── acpi.patch │ │ ├── argo-configure.patch │ │ ├── atapi-pass-through.patch │ │ ├── audio-policy.patch │ │ ├── block-remove-unused-block-format-support.patch │ │ ├── compile-time-stubdom-flag.patch │ │ ├── generic-xenstore-extensions.patch │ │ ├── hvm-param-dm-domain.patch │ │ ├── maintain-time-offset.patch │ │ ├── msix-cap-disable.patch │ │ ├── net-Remove-unused-network-options.patch │ │ ├── nic-link-state-propagation.patch │ │ ├── openxt-misc-fixes.patch │ │ ├── openxtaudio.patch │ │ ├── qemu-dm-wrapper │ │ ├── qmp-argo-char-driver.patch │ │ ├── readonly-ide.patch │ │ ├── round-pci-region-sizes.patch │ │ ├── set-blockdev-ro.patch │ │ └── write-acpi-state-to-xenstore.patch ├── rsyslog │ ├── files │ │ ├── rsyslog.conf │ │ └── rsyslog.logrotate │ ├── rsyslog-conf-dom0.bb │ ├── rsyslog-conf-dom0 │ │ └── rsyslog.conf │ └── rsyslog_%.bbappend ├── seabios │ ├── patches │ │ ├── amd-gpu-support.patch │ │ ├── avoid-iPXE-rom-init-when-not-required.patch │ │ ├── defconfig │ │ ├── gpu-pt-page-align-sections.patch │ │ ├── halt-if-no-bootable.patch │ │ ├── hvmloader-predeployed-optionrom.patch │ │ ├── only-boot-selected-devices.patch │ │ └── xci-cpuid-signature.patch │ └── seabios_1.13.%.bbappend ├── vgabios │ ├── vgabios │ │ ├── vbe-extended-edid-modes.patch │ │ ├── xen-fix-print-format.patch │ │ ├── xen-fix-vbe-size-computation-overflow.patch │ │ ├── xen-fix-vbe-unsupported-mode.patch │ │ ├── xen-fix-vbe-win8.patch │ │ ├── xen-log-to-ioport-0xe9.patch │ │ ├── xen-reduce-stack-usage.patch │ │ └── xen-vbe-check-supported-vesa-mode.patch │ └── vgabios_0.%.bbappend └── xen │ ├── blktap3.bb │ ├── blktap3 │ ├── 0001-tap-ctl-Default-to-read-only-opening.patch │ ├── OXT-specific-errors-fix.patch │ ├── Revert-CP-9798-Update-cgroups-path.patch │ ├── add-device-string-support-to-tap-destroy.patch │ ├── add-missing-files-to-gitignore.patch │ ├── blktap3-handle-EINTR-in-tap-ctl-IPC.patch │ ├── blktap3-vhd-icbinn-support.patch │ ├── compiler-errors-fix.patch │ ├── drop-rd-defs.patch │ ├── fix-cbt.patch │ ├── fix-encryption.patch │ ├── fix-error-checks.patch │ ├── fix-format-specifier-errors.patch │ ├── fix-run-time-errors-and-memory-leaks.patch │ ├── fix-segfault-if-startup-fails.patch │ ├── fix-strncpy.patch │ ├── gcc9-compilation.patch │ ├── openssl-1.1.x.patch │ ├── remove-creation-of-unused-log-files.patch │ └── tapback.initscript │ ├── files │ ├── 0001-convert-block-tap-for-shared.patch │ ├── 0001-libxl-Enable-stubdom-cdrom-changing.patch │ ├── 0001-python-pygrub-pass-DISTUTILS-xen.4.12.patch │ ├── 0001-vchan-socket-proxy-add-reconnect-marker-support.patch │ ├── 0002-tools-libxl-enable-in-band-reconnect-marker-for-stub.patch │ ├── Dell-980-txt-shutdown-acpi-access-width.patch │ ├── acpi-pm-feature.patch │ ├── acpi-slic-support.patch │ ├── add-xc-hypercall-page.patch │ ├── argo-add-viptables.patch │ ├── argo-quiet-xsm-check-during-init.patch │ ├── defconfig │ ├── domain-reboot.patch │ ├── efi-hardcode-openxt-cfg.patch │ ├── efi-load-options-no-default-image-name.patch │ ├── efi-require-shim.patch │ ├── evtchn-do-not-set-pending-if-s3.patch │ ├── gpt-s3-resume-reason.patch │ ├── hvm-pm-hibernate-s-state.patch │ ├── hvm-rtc-refresh-time.patch │ ├── hvm-rtc.patch │ ├── hvmloader-legacy-seabios-optionroms.patch │ ├── increase-ap-startup-time.patch │ ├── kconfig-grant-table-exotic.patch │ ├── kconfig-grant-table-v2-interface.patch │ ├── libxl-add-ovmf-varstored.patch │ ├── libxl-add-xen-acpi-pm.patch │ ├── libxl-allow-non-qdisk-cdrom.patch │ ├── libxl-allow-save-vnuma.patch │ ├── libxl-argo-xswait.patch │ ├── libxl-atapi-pt.patch │ ├── libxl-avoid-creating-unusable-cdrom-vbd-xs-nodes.patch │ ├── libxl-block-scripts-log-to-syslog.patch │ ├── libxl-disable-dom0-qemu.patch │ ├── libxl-display-manager-support.patch │ ├── libxl-domain-state.patch │ ├── libxl-fix-flr.patch │ ├── libxl-fix-reboot.patch │ ├── libxl-fixup-cmdline-ops.patch │ ├── libxl-hard-shutdown.patch │ ├── libxl-move-extra-qemu-args-to-the-end.patch │ ├── libxl-no-PV-qemu.patch │ ├── libxl-openxt-helpers.patch │ ├── libxl-openxt-tweaks.patch │ ├── libxl-seabios-ipxe.patch │ ├── libxl-support-hvm-readonly-disks.patch │ ├── libxl-syslog.patch │ ├── libxl-vif-cleanup.patch │ ├── libxl-vif-make-ioemu-and-stubdom-mac-addresses-configurable.patch │ ├── libxl-vwif-support.patch │ ├── libxl-xen-disable-dom0-qemu.patch │ ├── libxl-xenmgr-support.patch │ ├── memory-scrub-on-domain-shutdown.patch │ ├── ocaml-makefiles-sysroot.patch │ ├── ocamlfind-static.patch │ ├── opt-disable-vmcs-shadowing.patch │ ├── oxenstored.conf │ ├── parse-video-from-mbi.patch │ ├── patch-xen-disable-efi-gettime.patch │ ├── shim-support-for-shim-lock-measure.patch │ ├── smbios.patch │ ├── tboot-measure-and-launch-from-xen-efi.patch │ ├── tboot-xen-evtlog-support.patch │ ├── xen-init-dom0.initscript │ ├── xenconsoled-syslog.patch │ ├── xenconsoled.initscript │ ├── xenstored.initscript │ └── xl.conf │ ├── xen-common.inc │ ├── xen-ocaml-libs.bb │ ├── xen-openxt.inc │ ├── xen-tools-openxt.inc │ ├── xen-tools_git.bbappend │ ├── xen-xsm-policy_git.bb │ └── xen_git.bbappend ├── recipes-graphics ├── xorg-app │ └── xterm_%.bbappend └── xorg-xserver │ ├── xserver-xf86-config │ └── xenclient-uivm │ │ └── xorg.conf │ └── xserver-xf86-config_0.%.bbappend ├── recipes-kernel ├── ivc │ └── kernel-module-ivc_git.bbappend ├── linux-firmware │ └── linux-firmware_%.bbappend ├── linux-libc-headers │ ├── linux-libc-headers_4.14.bb │ ├── linux-libc-headers_4.19.bb │ ├── linux-libc-headers_4.9.bb │ ├── linux-libc-headers_5.10.bb │ ├── linux-libc-headers_5.15.bb │ ├── linux-libc-headers_5.4.bb │ └── linux-libc-headers_6.1.bb ├── linux │ ├── 6.1 │ │ ├── defconfigs │ │ │ ├── openxt-installer │ │ │ │ └── defconfig │ │ │ ├── usbvm │ │ │ │ └── defconfig │ │ │ ├── xenclient-dom0 │ │ │ │ └── defconfig │ │ │ ├── xenclient-ndvm │ │ │ │ └── defconfig │ │ │ ├── xenclient-stubdomain │ │ │ │ └── defconfig │ │ │ ├── xenclient-syncvm │ │ │ │ └── defconfig │ │ │ └── xenclient-uivm │ │ │ │ └── defconfig │ │ ├── linux-openxt_6.1.38.bb │ │ └── patches │ │ │ ├── blktap2.patch │ │ │ ├── bridge-carrier-follow-prio0.patch │ │ │ ├── dont-suspend-xen-serial-port.patch │ │ │ ├── extra-mt-input-devices.patch │ │ │ ├── hvc-kgdb-fix.patch │ │ │ ├── netback-vwif-support.patch │ │ │ ├── pci-pt-flr.patch │ │ │ ├── pci-pt-move-unaligned-resources.patch │ │ │ ├── pciback-restrictive-attr.patch │ │ │ ├── thorough-reset-interface-to-pciback-s-sysfs.patch │ │ │ ├── tpm_tis-work-around-status-register-bug-in-STMicroelectronics-TPM.patch │ │ │ ├── usbback-base.patch │ │ │ ├── xen-txt-add-xen-txt-eventlog-module.patch │ │ │ └── xenpv-no-tty0-as-default-console.patch │ ├── linux-openxt-copy-objtool.inc │ └── linux-openxt.inc └── openxtfb │ ├── kernel-module-openxtfb_git.bbappend │ └── kernel-module-pv-display-helper_git.bbappend ├── recipes-openxt ├── argo-exec │ ├── argo-exec.bb │ └── argo-exec │ │ ├── argo-exec.c │ │ ├── argo-input-receiver │ │ ├── argo-input-receiver.init │ │ ├── argo-input-sender │ │ ├── argo-input-sender-kick │ │ └── argo-input-sender.rules ├── argo │ ├── argo-module-headers_git.bb │ ├── argo-module_git.bb │ ├── argo.inc │ ├── libargo_git.bb │ └── linux-argo-headers_git.bb ├── dd-buffered │ ├── dd-buffered │ │ └── dd-buffered.c │ └── dd-buffered_1.0.bb ├── essential-target-builddepends │ └── essential-target-builddepends_git.bb ├── heimdallr │ ├── files │ │ └── pci-quirks.json │ ├── heimdallr_git.bb │ └── patches │ │ ├── fix-json-pkgconfig-name.patch │ │ └── json-0.13-interface-change.patch ├── idl │ ├── idl.inc │ ├── xenclient-idl_git.bb │ └── xenclient-rpcgen_git.bb ├── libicbinn │ ├── files │ │ └── icbinn_svc.initscript │ ├── icbinn.inc │ ├── libicbinn-resolved_git.bb │ ├── libicbinn_git.bb │ └── pyicbinn_git.bb ├── libxcdbus │ └── libxcdbus_git.bb ├── libxenbackend │ └── libxenbackend_git.bb ├── manager │ ├── dbd │ │ ├── db-cat-dom0 │ │ ├── db-exists-dom0 │ │ ├── db-ls-dom0 │ │ ├── db-nodes-dom0 │ │ ├── db-read-dom0 │ │ ├── db-rm-dom0 │ │ ├── db-write-dom0 │ │ ├── db.default │ │ └── dbd.initscript │ ├── dbd_git.bb │ ├── libxenmgr-core_git.bb │ ├── manager.inc │ ├── rpc-proxy │ │ ├── rpc-proxy.initscript │ │ └── rpc-proxy.rules │ ├── rpc-proxy_git.bb │ ├── updatemgr │ │ └── updatemgr.initscript │ ├── updatemgr_git.bb │ ├── upgrade-db_git.bb │ ├── xec_git.bb │ ├── xenmgr │ │ ├── xenmgr.initscript │ │ ├── xenmgr_dbus.conf │ │ └── xenstore-init-extra │ └── xenmgr_git.bb ├── network │ ├── network.inc │ ├── xenclient-nwd_git.bb │ └── xenclient-nws_git.bb ├── openxt-keymanagement │ ├── openxt-keymanagement │ │ └── key-functions │ └── openxt-keymanagement_1.0.bb ├── openxt-measuredlaunch │ ├── openxt-measuredlaunch │ │ ├── ml-functions │ │ ├── recovery-method │ │ ├── seal-system │ │ └── seal-system.conf │ └── openxt-measuredlaunch_1.0.bb ├── openxt-ocaml-libs │ └── openxt-ocaml-libs_git.bb ├── secure-vm │ ├── secure-vm │ │ └── secure-vm │ └── secure-vm_1.0.bb ├── stubdomains │ ├── devicemodel-stubdom_1.0.bb │ └── xenclient-stubdomain-kernel_1.0.bb ├── surfman │ └── surfman.inc ├── sync-client │ ├── sync-client │ │ └── sync-client-daemon.initscript │ └── sync-client_git.bb ├── sync-wui │ └── sync-wui_git.bb ├── trousers │ ├── trousers │ │ ├── 45-trousers.rules │ │ ├── tcsd.conf │ │ ├── trousers-standalone.patch │ │ ├── trousers-tcsd-dont-pthread-exit.patch │ │ └── trousers.initscript │ └── trousers_0.3.14.bb ├── txt-info-module │ ├── files │ │ └── sources │ │ │ ├── Kbuild │ │ │ ├── Makefile │ │ │ └── txt_info.c │ └── txt-info-module_1.0.bb ├── uid │ ├── uid │ │ ├── uid.conf │ │ ├── uid.initscript │ │ └── uid_dbus.conf │ └── uid_git.bb ├── vhd-scripts │ ├── vhd-scripts │ │ ├── vhd-copy │ │ ├── vhd-dm-create │ │ └── vhd-dm-remove │ └── vhd-scripts_1.0.bb ├── vusb │ ├── files │ │ └── xenclient-vusb.initscript │ └── vusb-daemon_git.bb ├── xclibs │ ├── libxch-rpc_git.bb │ ├── libxchargo_git.bb │ ├── libxchdb_git.bb │ ├── libxchutils_git.bb │ ├── libxchwebsocket_git.bb │ ├── libxchxenstore_git.bb │ ├── libxclogging_git.bb │ ├── libxcxenstore_git.bb │ ├── udbus-intro_git.bb │ ├── udbus_git.bb │ ├── xclibs-haskell.inc │ └── xclibs.inc ├── xctools │ ├── atapi-pt-helper_git.bb │ ├── audio-helper │ │ └── audio_helper_start │ ├── audio-helper_git.bb │ ├── carrier-detect_git.bb │ ├── compleat_git.bb │ ├── qmp-helper_git.bb │ ├── varstored-watch_git.bb │ ├── xcpmd │ │ └── xcpmd.initscript │ ├── xcpmd_git.bb │ └── xctools.inc ├── xen-vif-scripts │ ├── xen-vif-scripts-ndvm │ │ ├── vif │ │ └── xen-vif-backend.rules │ └── xen-vif-scripts-ndvm_1.0.bb ├── xenclient-boot-sound │ ├── xenclient-boot-sound │ │ ├── update-pcm-config │ │ └── xenclient-boot-sound.initscript │ └── xenclient-boot-sound_1.0.bb ├── xenclient-caps │ ├── xenclient-caps │ │ └── caps.default │ └── xenclient-caps_1.0.bb ├── xenclient-config-access │ ├── xenclient-config-access │ │ └── config-access.initscript │ └── xenclient-config-access_1.0.bb ├── xenclient-console-keymaps │ └── xenclient-console-keymaps_1.0.bb ├── xenclient-cryptdisks │ ├── xenclient-cryptdisks │ │ ├── cryptdisks.initscript │ │ └── crypttab │ └── xenclient-cryptdisks_1.0.bb ├── xenclient-dbusbouncer │ ├── xenclient-dbusbouncer-1.0 │ │ ├── dbusbouncer.c │ │ └── dbusbouncer.initscript │ └── xenclient-dbusbouncer_1.0.bb ├── xenclient-devscripts │ ├── xenclient-devscripts │ │ └── helper.sh │ └── xenclient-devscripts_1.0.bb ├── xenclient-dom0-tweaks │ ├── xenclient-dom0-tweaks.inc │ ├── xenclient-dom0-tweaks │ │ ├── BOOT.CSV │ │ ├── USB_fakenames.conf │ │ ├── create-ndvm │ │ ├── dom0_add_vif.sh │ │ ├── enter-s3.sh │ │ ├── firstboot.initscript │ │ ├── firstboot.sh │ │ ├── grub.cfg │ │ ├── inputrc │ │ ├── install-bootloader │ │ ├── install-bootloader-images │ │ ├── netcon │ │ ├── null.iso │ │ ├── openxt.cfg │ │ ├── selinux-state │ │ ├── set_platform_username │ │ ├── status-report │ │ ├── status-tool │ │ ├── unifont.pf2 │ │ ├── usb-state │ │ └── xenstore-init │ └── xenclient-dom0-tweaks_1.0.bb ├── xenclient-eula │ ├── xenclient-eula │ │ └── EULA-en-us │ └── xenclient-eula_1.0.bb ├── xenclient-feed-configs │ └── xenclient-feed-configs.bb ├── xenclient-get-config-key │ ├── xenclient-get-config-key │ │ └── get-config-key.c │ └── xenclient-get-config-key_1.0.bb ├── xenclient-installer-tweaks │ ├── xenclient-installer-tweaks │ │ ├── 60installer │ │ ├── console-bell.initscript │ │ ├── i915.conf │ │ ├── prepare-hd-install │ │ └── status-report │ └── xenclient-installer-tweaks_1.0.bb ├── xenclient-installer │ ├── files │ │ ├── network.ans │ │ ├── network_download_win.ans │ │ ├── network_manual.ans │ │ ├── network_manual_download_win.ans │ │ └── network_upgrade.ans │ └── xenclient-installer_git.bb ├── xenclient-keyboard-list │ ├── xenclient-keyboard-list │ │ ├── generate-keyboard-list │ │ └── supported-keyboards │ └── xenclient-keyboard-list_1.0.bb ├── xenclient-language-sync │ ├── xenclient-language-sync │ │ ├── language-sync │ │ └── language-sync.initscript │ └── xenclient-language-sync_1.0.bb ├── xenclient-ndvm-tweaks │ ├── xenclient-ndvm-tweaks │ │ ├── enter-s3.sh │ │ ├── iwlwifi.conf │ │ ├── netcon │ │ └── xenstore-init │ └── xenclient-ndvm-tweaks_1.0.bb ├── xenclient-pcrdiff │ ├── xenclient-pcrdiff │ │ ├── pcr-data │ │ └── pcr-state │ └── xenclient-pcrdiff_1.0.bb ├── xenclient-preload-hs-libs │ ├── xenclient-preload-hs-libs │ │ └── preload │ └── xenclient-preload-hs-libs_1.0.bb ├── xenclient-repo-certs │ ├── xenclient-repo-certs │ │ └── verify-repo-metadata │ └── xenclient-repo-certs_1.0.bb ├── xenclient-root-ro │ ├── xenclient-root-ro │ │ └── init.root-ro │ └── xenclient-root-ro_1.0.bb ├── xenclient-sec-scripts │ ├── xenclient-sec-scripts │ │ ├── rm-platform-user │ │ ├── sec-change-pass │ │ ├── sec-change-recovery │ │ ├── sec-change-root-credentials │ │ ├── sec-check-pass │ │ ├── sec-check-user │ │ ├── sec-mount │ │ ├── sec-new-user │ │ ├── sec-new-user-without-password │ │ ├── sec-rm-user │ │ └── sec-umount │ └── xenclient-sec-scripts_1.0.bb ├── xenclient-splash-images │ ├── xenclient-splash-images │ │ ├── black.png │ │ ├── booting-en-us.png │ │ ├── hibernate-en-us.png │ │ ├── please-reboot-en-us.png │ │ ├── reboot-en-us.png │ │ ├── shutdown-en-us.png │ │ └── startup-en-us.png │ └── xenclient-splash-images_1.0.bb ├── xenclient-syncvm-tweaks │ ├── xenclient-syncvm-tweaks-1.0 │ │ ├── argo.modutils │ │ ├── network-config.initscript │ │ └── volatiles │ └── xenclient-syncvm-tweaks_1.0.bb ├── xenclient-tpm-scripts │ ├── xenclient-tpm-scripts │ │ ├── README.quirks │ │ ├── dellminvers-detect.sh │ │ ├── montavina-detect.sh │ │ ├── pcr1-detect.sh │ │ ├── pcr1-fix.sh │ │ └── tpm-functions │ └── xenclient-tpm-scripts_1.0.bb ├── xenclient-tpm-setup │ ├── xenclient-tpm-setup │ │ ├── tpm-setup │ │ ├── tpm-setup-quotekey │ │ └── tpm-setup-squashfs │ └── xenclient-tpm-setup_1.0.bb ├── xenclient-uivm-xsessionconfig │ ├── xenclient-uivm-xsessionconfig │ │ ├── Xdefaults │ │ ├── Xft.xrdb │ │ ├── custom-MailReader.desktop │ │ ├── custom-WebBrowser.desktop │ │ ├── custom-global.scm │ │ ├── custom-toolbar.scm │ │ ├── default │ │ ├── default.keyring │ │ ├── footer_bar_bgslice.png │ │ ├── framebuffer.conf │ │ ├── gtkrc │ │ ├── helpers.rc │ │ ├── keyboard │ │ ├── keymap-agent │ │ ├── nm-applets-agent │ │ ├── ui-functions │ │ ├── uim-toolbar-gtk-agent │ │ ├── workspaces.xml │ │ ├── xdg-open │ │ ├── xfce4-keyboard-shortcuts.xml │ │ ├── xfwm4.tar.gz │ │ ├── xfwm4.xml │ │ ├── xinitrc │ │ └── xsettings.xml │ └── xenclient-uivm-xsessionconfig_0.0.2.bb └── xenmgr-data │ └── xenmgr-data_git.bb ├── recipes-qubes ├── add-fd │ └── add-fd.bb └── qubes-input-proxy │ ├── qubes-input-proxy │ └── uinput.conf │ └── qubes-input-proxy_1.0.32.bb ├── recipes-sato └── surf │ ├── surf-2.0 │ ├── config.mk │ └── volatiles.99_surf │ └── surf_2.0.bb ├── recipes-security ├── acms │ └── acms.bb ├── audit │ ├── audit │ │ ├── remove-ipx-depends.patch │ │ └── swig-immutable.patch │ └── audit_2.%.bbappend ├── libseccomp │ ├── files │ │ └── run-ptest │ └── libseccomp_2.4.3.bb ├── refpolicy │ ├── refpolicy-mcs │ │ ├── patches │ │ │ ├── 0001-udev-allow-udev_t-to-watch-udev_rules_t-dir.patch │ │ │ ├── add-missing-dbusd-permissions.patch │ │ │ ├── blktap-interfaces.diff │ │ │ ├── busybox-mmap-read-execute-checks-from-new-domain.patch │ │ │ ├── db-cmd-interfaces.diff │ │ │ ├── dbd-interfaces.diff │ │ │ ├── fc-subs-config-aliases.patch │ │ │ ├── monit-volatiles.patch │ │ │ ├── network-daemon-interfaces.diff │ │ │ ├── openxt-init-spec-domtrans.patch │ │ │ ├── openxt-sysadm-lsusb.patch │ │ │ ├── openxt_system_unconfined_readonly_neverallow_fixes.patch │ │ │ ├── policy.modules.admin.alsa.diff │ │ │ ├── policy.modules.admin.bootloader.diff │ │ │ ├── policy.modules.admin.brctl.diff │ │ │ ├── policy.modules.admin.dmidecode.diff │ │ │ ├── policy.modules.admin.dpkg.diff │ │ │ ├── policy.modules.admin.firstboot.diff │ │ │ ├── policy.modules.admin.logrotate.diff │ │ │ ├── policy.modules.admin.su.patch │ │ │ ├── policy.modules.apps.loadkeys.diff │ │ │ ├── policy.modules.apps.qemu.diff │ │ │ ├── policy.modules.kernel.devices.diff │ │ │ ├── policy.modules.kernel.domain.diff │ │ │ ├── policy.modules.kernel.files.diff │ │ │ ├── policy.modules.kernel.filesystem.diff │ │ │ ├── policy.modules.kernel.kernel.diff │ │ │ ├── policy.modules.kernel.storage.diff │ │ │ ├── policy.modules.roles.staff.diff │ │ │ ├── policy.modules.roles.sysadm.diff │ │ │ ├── policy.modules.services.acpi.diff │ │ │ ├── policy.modules.services.cron.diff │ │ │ ├── policy.modules.services.dbus.diff │ │ │ ├── policy.modules.services.dnsmasq.diff │ │ │ ├── policy.modules.services.hal.diff │ │ │ ├── policy.modules.services.networkmanager.diff │ │ │ ├── policy.modules.services.networkmanager_xt.diff │ │ │ ├── policy.modules.services.ssh.diff │ │ │ ├── policy.modules.services.tcsd.patch │ │ │ ├── policy.modules.services.virt.diff │ │ │ ├── policy.modules.system.authlogin.diff │ │ │ ├── policy.modules.system.fstools.diff │ │ │ ├── policy.modules.system.init.diff │ │ │ ├── policy.modules.system.init_xt.diff │ │ │ ├── policy.modules.system.libraries.diff │ │ │ ├── policy.modules.system.logging.diff │ │ │ ├── policy.modules.system.lvm.diff │ │ │ ├── policy.modules.system.miscfiles.diff │ │ │ ├── policy.modules.system.modutils.diff │ │ │ ├── policy.modules.system.mount.diff │ │ │ ├── policy.modules.system.selinuxutil.diff │ │ │ ├── policy.modules.system.sysnetwork.patch │ │ │ ├── policy.modules.system.udev.diff │ │ │ ├── policy.modules.system.unconfined.diff │ │ │ ├── policy.modules.system.userdomain.diff │ │ │ ├── policy.modules.system.xen.diff │ │ │ ├── policy.support.misc_patterns.spt.diff │ │ │ ├── signed-kernel-modprobe.patch │ │ │ ├── statusreport-interfaces.diff │ │ │ ├── stubdom-helpers-interfaces.diff │ │ │ ├── sysutils-interfaces.diff │ │ │ ├── tcs-interfaces.diff │ │ │ ├── tpmsetup-interfaces.diff │ │ │ ├── txtstat-interfaces.diff │ │ │ ├── uid-interfaces.diff │ │ │ ├── updatemgr-interfaces.diff │ │ │ ├── vhdutils-interfaces.diff │ │ │ ├── vusb-interfaces.diff │ │ │ ├── xc-files-interfaces.patch │ │ │ ├── xc-installer-interfaces.diff │ │ │ ├── xec-interfaces.diff │ │ │ ├── xen-privcmd.patch │ │ │ ├── xenstore-labeling.patch │ │ │ ├── xl-sysadm-interfaces.patch │ │ │ └── xsmutils-interfaces.diff │ │ └── policy │ │ │ ├── booleans.conf │ │ │ ├── modules-openxt.conf │ │ │ ├── modules-upstream.conf │ │ │ └── modules │ │ │ ├── admin │ │ │ ├── statusreport.fc │ │ │ ├── statusreport.if │ │ │ ├── statusreport.te │ │ │ ├── sysutils.fc │ │ │ ├── sysutils.if │ │ │ ├── sysutils.te │ │ │ ├── tpmsetup.fc │ │ │ ├── tpmsetup.if │ │ │ ├── tpmsetup.te │ │ │ ├── vhdutils.fc │ │ │ ├── vhdutils.if │ │ │ ├── vhdutils.te │ │ │ ├── xsmutils.fc │ │ │ ├── xsmutils.if │ │ │ └── xsmutils.te │ │ │ ├── apps │ │ │ ├── db-cmd.fc │ │ │ ├── db-cmd.if │ │ │ ├── db-cmd.te │ │ │ ├── tpmutil.fc │ │ │ ├── tpmutil.if │ │ │ ├── tpmutil.te │ │ │ ├── xec.fc │ │ │ ├── xec.if │ │ │ └── xec.te │ │ │ ├── services │ │ │ ├── argo-input.fc │ │ │ ├── argo-input.if │ │ │ ├── argo-input.te │ │ │ ├── blktap.fc │ │ │ ├── blktap.if │ │ │ ├── blktap.te │ │ │ ├── dbd.fc │ │ │ ├── dbd.if │ │ │ ├── dbd.te │ │ │ ├── dbusbouncer.fc │ │ │ ├── dbusbouncer.if │ │ │ ├── dbusbouncer.te │ │ │ ├── disman.fc │ │ │ ├── disman.if │ │ │ ├── disman.te │ │ │ ├── glass.fc │ │ │ ├── glass.if │ │ │ ├── glass.te │ │ │ ├── icbinn.fc │ │ │ ├── icbinn.if │ │ │ ├── icbinn.te │ │ │ ├── ivcd.fc │ │ │ ├── ivcd.if │ │ │ ├── ivcd.te │ │ │ ├── language-sync.fc │ │ │ ├── language-sync.if │ │ │ ├── language-sync.te │ │ │ ├── network-daemon.fc │ │ │ ├── network-daemon.if │ │ │ ├── network-daemon.te │ │ │ ├── rpcproxy.fc │ │ │ ├── rpcproxy.if │ │ │ ├── rpcproxy.te │ │ │ ├── uid.fc │ │ │ ├── uid.if │ │ │ ├── uid.te │ │ │ ├── updatemgr.fc │ │ │ ├── updatemgr.if │ │ │ ├── updatemgr.te │ │ │ ├── vusb.fc │ │ │ ├── vusb.if │ │ │ ├── vusb.te │ │ │ ├── xenpmd.fc │ │ │ ├── xenpmd.if │ │ │ ├── xenpmd.te │ │ │ ├── xmlstore.fc │ │ │ ├── xmlstore.if │ │ │ └── xmlstore.te │ │ │ └── system │ │ │ ├── pcm-config.fc │ │ │ ├── pcm-config.if │ │ │ ├── pcm-config.te │ │ │ ├── stubdom-helpers.fc │ │ │ ├── stubdom-helpers.if │ │ │ ├── stubdom-helpers.te │ │ │ ├── xc-files.fc │ │ │ ├── xc-files.if │ │ │ ├── xc-files.te │ │ │ ├── xc-installer.fc │ │ │ ├── xc-installer.if │ │ │ └── xc-installer.te │ └── refpolicy-mcs_git.bbappend ├── selinux │ ├── libselinux │ │ ├── libselinux_3.%.bbappend │ │ └── patches │ │ │ └── libselinux-mount-procfs-before-check.patch │ ├── policycoreutils │ │ └── policycoreutils_%.bbappend │ ├── selinux-load │ │ └── selinux-load.sh │ ├── selinux-load_1.0.bb │ ├── svirt-interpose │ │ ├── README │ │ └── svirt-interpose.c │ └── svirt-interpose_1.0.bb ├── tboot │ ├── tboot-1.9.12 │ │ ├── 0001-Do-not-try-to-read-EFI-mem-map-when-booted-with-mult.patch │ │ ├── 0002-grub2-Adjust-module-placement-locations-when-changin.patch │ │ ├── 0003-tboot-Propagate-failure-to-map_tboot_pages.patch │ │ ├── 0004-tboot-TB_POLTYPE_WARN_ON_FAILURE-with-pre-post.patch │ │ ├── 0005-tboot-Mark-TPM-region-reserved-if-not-already.patch │ │ ├── 0006-pcr-calc-Add-pcr-calculator-tool.patch │ │ ├── 0007-tpm2.0-Perform-orderly-shutdown.patch │ │ ├── 0008-tboot-Export-TPM-event-log-to-VMM-Kernel.patch │ │ ├── 0009-Find-e820-regions-that-include-the-limit.patch │ │ └── 0010-Add-support-for-launching-64-bit-PE-kernels.patch │ ├── tboot-arch.inc │ ├── tboot.inc │ └── tboot_1.9.12.bb ├── tpm-tools │ ├── files │ │ ├── revert-6fb8a3c-fix-segv.patch │ │ ├── tpm-tools-extendpcr-tool.patch │ │ ├── tpm-tools-gcc6-compilation.patch │ │ ├── tpm-tools-gcc9-compilation.patch │ │ ├── tpm-tools-openssl-1.1.0.patch │ │ ├── tpm-tools-passwd-stdin.patch │ │ ├── tpm-tools-quote-standalone.patch │ │ ├── tpm-tools-quote.patch │ │ ├── tpm-tools-sealdata-pcrval.patch │ │ ├── tpm-tools-setenable-stdin.patch │ │ └── tpm-tools-standalone.patch │ └── tpm-tools_1.3.9.bb └── tss2 │ ├── tpm2-tools │ ├── tpm2-extendpcr-support.patch │ ├── tpm2-nvlist-drop-ntoh.patch │ ├── tpm2-sealing-support.patch │ ├── tpm2-tools-lib-support.patch │ └── tpm2-unsealing-support.patch │ ├── tpm2-tools_3.1.3.bb │ ├── tpm2-tss │ └── 0001-build-update-for-ax_code_coverage.m4-version-2019.01.patch │ └── tpm2-tss_2.0.0.bb └── recipes-support ├── anthy ├── anthy-native │ └── native-helpers.patch ├── anthy-native_9100e.bb ├── anthy │ └── native-helpers.patch ├── anthy_9100e.bb └── files │ ├── 2ch_t.patch │ ├── format-security-fixes.patch │ └── not_build_elc.patch ├── console-setup └── console-setup-ckbcomp-native_1.191.bb ├── consolekit └── consolekit_0.4.6.bbappend ├── dnsmasq ├── dnsmasq_2.%.bbappend └── patches │ └── dnsmasq_dnsout_interface.patch ├── lvm2 ├── lvm2 │ ├── 0001-apply-obtain_device_list_from_udev-to-all-libudev-us.patch │ ├── lvm.conf │ ├── volatiles.99_cryptsetup │ └── yocto-initscripts.patch └── lvm2_%.bbappend ├── pesign ├── files │ ├── 0001-Disable-warning.patch │ ├── 0002-Init-error.patch │ └── 0003-cast-macro.patch └── pesign_git.bb ├── read-edid └── read-edid_3.0.2.bb ├── rng-tools ├── rng-tools │ └── default └── rng-tools_%.bbappend ├── uim ├── patches │ ├── disable-right-click-menu.patch │ ├── filter-input-methods.patch │ ├── hide-toolbar-from-env.patch │ └── openxt-branding.patch └── uim_1.8.%.bbappend ├── upower └── upower_0.99.7.bb └── vim └── vim-tiny_%.bbappend /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | patches/bitbake/*.APPLIED 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Different components of the OpenXT meta layer are under different licenses (a mix 2 | of MIT and GPLv2). Please see: 3 | 4 | COPYING.GPLv2 (GPLv2) 5 | COPYING.MIT (MIT) 6 | 7 | All metadata is MIT licensed unless otherwise stated. Source code 8 | included in tree for individual recipes is under the LICENSE stated in 9 | the associated recipe (.bb file) unless otherwise stated. 10 | 11 | License information for any other files is either explicitly stated 12 | or defaults to GPL version 2. 13 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | This repository is home of the OpenXT OpenEmbedded build metadata. 2 | For information about OpenXT see our website @ http://openxt.org 3 | For instructions on how to build OpenXT from source see our GitHub wiki @ https://github.com/OpenXT/openxt/wiki/ 4 | 5 | -------------------------------------------------------------------------------- /classes/openxt-selinux-image.bbclass: -------------------------------------------------------------------------------- 1 | inherit openxt-image 2 | 3 | DEPENDS += "policycoreutils-native attr-native" 4 | IMAGE_INSTALL_append += " \ 5 | libselinux-bin \ 6 | policycoreutils-loadpolicy \ 7 | policycoreutils-newrole \ 8 | policycoreutils-runinit \ 9 | policycoreutils-semodule \ 10 | policycoreutils-sestatus \ 11 | policycoreutils-setfiles \ 12 | refpolicy-mcs \ 13 | " 14 | 15 | inherit selinux-image 16 | -------------------------------------------------------------------------------- /classes/openxt_image_types.bbclass: -------------------------------------------------------------------------------- 1 | # raw image - simply copy rootfs tree to deploy directory 2 | IMAGE_CMD_raw() { 3 | cp -a ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.raw 4 | } 5 | 6 | # OpenXT ext3 tweaks. 7 | # - Disable fscheck. 8 | # - Run fs check after generation. 9 | oe_mkext234fs_append() { 10 | tune2fs -c -1 -i 0 ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype 11 | e2fsck -f -y ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype 12 | } 13 | 14 | # OpenXT vhd. 15 | # Standard vhd image from an existing filesystem. 16 | CONVERSIONTYPES_append = " vhd" 17 | CONVERSION_CMD_vhd = "qemu-img convert -O vpc -o subformat=fixed ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.vhd" 18 | CONVERSION_DEPENDS_vhd = "qemu-system-native" 19 | -------------------------------------------------------------------------------- /classes/xc-rpcgen-c.bbclass: -------------------------------------------------------------------------------- 1 | # sysroot{,-native} will need access to xc-rpcgen (xenclient-rpcgen-native), to 2 | # run against the XML IDL and templates (xenclient-idl). 3 | # xc-rpcgen, for c rpcs, needs dbus-binding-tool (dbus-glib-native), and will 4 | # link against dbus-glib. 5 | DEPENDS_append += " \ 6 | xenclient-idl \ 7 | xenclient-rpcgen-native \ 8 | dbus-glib-native \ 9 | dbus-glib \ 10 | " 11 | 12 | EXTRA_OECONF_append = " \ 13 | --with-idldir=${STAGING_IDLDATADIR} \ 14 | --with-rpcgen-templates=${STAGING_RPCGENDATADIR_NATIVE} \ 15 | " 16 | -------------------------------------------------------------------------------- /classes/xc-rpcgen.bbclass: -------------------------------------------------------------------------------- 1 | # sysroot{,-native} will need access to xc-rpcgen (xenclient-rpcgen-native), to 2 | # run against the XML IDL and templates (xenclient-idl). 3 | DEPENDS_append += " \ 4 | xenclient-idl \ 5 | xenclient-rpcgen-native \ 6 | " 7 | -------------------------------------------------------------------------------- /classes/xenclient-customtask.bbclass: -------------------------------------------------------------------------------- 1 | # 2 | # Convenience tasks for corner cases. 3 | # 4 | 5 | __makeclean() { 6 | oe_runmake clean 7 | } 8 | python do_makeclean() { 9 | import functools 10 | 11 | workdir = d.getVar('B', True) 12 | makefiles = [ '/Makefile', '/GNUmakefile', '/makefile' ] 13 | if functools.reduce(lambda x, y: x or os.path.exists(workdir + y), makefiles, False): 14 | bb.build.exec_func('__makeclean', d) 15 | bb.build.write_taint('do_compile' , d) 16 | sstate_clean_cachefiles(d) 17 | } 18 | addtask do_makeclean 19 | do_makeclean[nostamp] = "1" 20 | do_makeclean[doc] = "Run `make clean', if applicable and mark do_compile as tainted." 21 | 22 | python do_force_rebuild() { 23 | bb.build.write_taint('do_compile' , d) 24 | sstate_clean_cachefiles(d) 25 | } 26 | addtask do_force_rebuild 27 | do_force_rebuild[nostamp] = "1" 28 | do_force_rebuild[doc] = "Mark do_compile as tainted, forcing it to be run again." 29 | 30 | -------------------------------------------------------------------------------- /conf/distro/xc-rpcgen.inc: -------------------------------------------------------------------------------- 1 | # 2 | # rpcgen path definitions. 3 | # 4 | 5 | RPCGEN_VERSION = "1.0" 6 | 7 | # XML description files for the IDL. 8 | idldatadir = "${datadir}/idl" 9 | # XML description files for Network-manager. 10 | nmidldatadir = "${datadir}/nm-idl" 11 | # Header templates for targeted languages. 12 | rpcgendatadir = "${datadir}/xc-rpcgen-${RPCGEN_VERSION}/templates" 13 | # Staging locations. 14 | STAGING_IDLDATADIR = "${STAGING_DATADIR}/idl" 15 | STAGING_NMIDLDATADIR = "${STAGING_DATADIR}/nm-idl" 16 | STAGING_RPCGENDATADIR_NATIVE = "${STAGING_DATADIR_NATIVE}/xc-rpcgen-${RPCGEN_VERSION}/templates" 17 | -------------------------------------------------------------------------------- /conf/machine/openxt-installer.conf: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2010 Citrix Systems 2 | # Copyright (C) 2018 AIS 3 | # Released under the MIT license (see packages/COPYING) 4 | #@TYPE: Machine 5 | #@NAME: openxt-installer 6 | #@DESCRIPTION: Machine configuration for OpenXT installer 7 | 8 | require xenclient-common.conf 9 | 10 | MACHINE_FEATURES = "screen keyboard ethernet pci usbhost acpi ext2 x86" 11 | MACHINE_FEATURES += "rtc" 12 | -------------------------------------------------------------------------------- /conf/machine/usbvm.conf: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2010 Citrix Systems 2 | # Released under the MIT license (see packages/COPYING) 3 | #@TYPE: Machine 4 | #@NAME: usbvm 5 | #@DESCRIPTION: Machine configuration for USB VM 6 | 7 | require xenclient-common.conf 8 | 9 | MACHINE_FEATURES = "pci ext2 x86" 10 | 11 | APPEND = "root=/dev/xvda2 ro console=hvc0 iommu=soft" 12 | 13 | USE_VT = "0" 14 | -------------------------------------------------------------------------------- /conf/machine/xenclient-common.conf: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2010 Citrix Systems 2 | # Released under the MIT license (see packages/COPYING) 3 | 4 | # Tune for Core 2 CPU 5 | require conf/machine/include/tune-core2.inc 6 | 7 | DEFAULTTUNE = "core2-64" 8 | 9 | TUNE_CCARGS_remove += "-mstackrealign" 10 | 11 | KERNEL_IMAGETYPE = "bzImage" 12 | 13 | MACHINE_FEATURES_BACKFILL_CONSIDERED += "rtc" 14 | -------------------------------------------------------------------------------- /conf/machine/xenclient-dom0.conf: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2010 Citrix Systems 2 | # Released under the MIT license (see packages/COPYING) 3 | #@TYPE: Machine 4 | #@NAME: xenclient-dom0 5 | #@DESCRIPTION: Machine configuration for XenClient dom0 VM 6 | 7 | require xenclient-common.conf 8 | 9 | PREFERRED_PROVIDER_libgl1 = "nvidia-lib" 10 | 11 | MACHINE_FEATURES = "screen keyboard ethernet pci usbhost acpi ext2 x86" 12 | MACHINE_FEATURES += "rtc" 13 | 14 | KERNEL_MODULE_PROBECONF += " \ 15 | i915 \ 16 | " 17 | 18 | KERNEL_MODULE_AUTOLOAD += " \ 19 | psmouse \ 20 | hid-multitouch \ 21 | txt \ 22 | " 23 | 24 | PREFERRED_PROVIDER_virtual/libivc = "libivc2" 25 | -------------------------------------------------------------------------------- /conf/machine/xenclient-ndvm.conf: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2010 Citrix Systems 2 | # Released under the MIT license (see packages/COPYING) 3 | #@TYPE: Machine 4 | #@NAME: xenclient-ndvm 5 | #@DESCRIPTION: Machine configuration for XenClient secured backend VM 6 | 7 | require xenclient-common.conf 8 | 9 | MACHINE_FEATURES = "ethernet pci ext2 x86" 10 | 11 | APPEND = "root=/dev/xvda2 ro console=hvc0 iommu=soft" 12 | 13 | USE_VT = "0" 14 | -------------------------------------------------------------------------------- /conf/machine/xenclient-stubdomain.conf: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2010 Citrix Systems 2 | # Released under the MIT license (see packages/COPYING) 3 | #@TYPE: Machine 4 | #@NAME: xenclient-stubdomain 5 | #@DESCRIPTION: Machine configuration for XenClient stubdomain VM 6 | 7 | require xenclient-common.conf 8 | 9 | MACHINE_FEATURES = "screen keyboard ethernet pci acpi ext2 x86" 10 | 11 | USE_VT = "0" 12 | 13 | PREFERRED_PROVIDER_virtual/libivc = "libivc" 14 | -------------------------------------------------------------------------------- /conf/machine/xenclient-syncui.conf: -------------------------------------------------------------------------------- 1 | require xenclient-common.conf 2 | 3 | MACHINE_FEATURES = "" 4 | -------------------------------------------------------------------------------- /conf/machine/xenclient-syncvm.conf: -------------------------------------------------------------------------------- 1 | require xenclient-common.conf 2 | 3 | MACHINE_FEATURES = "pci acpi ext2 x86" 4 | -------------------------------------------------------------------------------- /conf/machine/xenclient-uivm.conf: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2010 Citrix Systems 2 | # Released under the MIT license (see packages/COPYING) 3 | #@TYPE: Machine 4 | #@NAME: xenclient-uivm 5 | #@DESCRIPTION: Machine configuration for XenClient uivm VM 6 | 7 | require xenclient-common.conf 8 | 9 | MACHINE_FEATURES = "screen keyboard ethernet pci acpi ext2 x86" 10 | 11 | USE_VT = "0" 12 | 13 | module_conf_xen-fbfront = "blacklist xen-fbfront" 14 | KERNEL_MODULE_PROBECONF += " \ 15 | xen-fbfront \ 16 | " 17 | -------------------------------------------------------------------------------- /recipes-bsp/acpid/acpid.inc: -------------------------------------------------------------------------------- 1 | SRC_URI = "${SOURCEFORGE_MIRROR}/acpid2/acpid-${PV}.tar.xz \ 2 | file://init \ 3 | file://powerbtn \ 4 | file://ac \ 5 | file://ac_actions \ 6 | " 7 | -------------------------------------------------------------------------------- /recipes-bsp/acpid/acpid/ac: -------------------------------------------------------------------------------- 1 | event=ac_adapter 2 | action=/etc/acpi/ac 3 | -------------------------------------------------------------------------------- /recipes-bsp/acpid/acpid/ac_actions: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | ac=`cat /sys/class/power_supply/AC/online` 4 | for i in /etc/acpi/actions/ac*; do 5 | [ -f "$i" -a -x "$i" ] && "$i" "$ac" 6 | done 7 | -------------------------------------------------------------------------------- /recipes-bsp/acpid/acpid/powerbtn: -------------------------------------------------------------------------------- 1 | event=button[ /]power 2 | action= 3 | -------------------------------------------------------------------------------- /recipes-bsp/acpid/acpid_2.0.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI += " \ 4 | file://powerbtn \ 5 | file://ac \ 6 | file://ac_actions \ 7 | " 8 | 9 | do_install_append () { 10 | install -m 644 ${WORKDIR}/powerbtn ${D}${sysconfdir}/acpi/events 11 | install -m 644 ${WORKDIR}/ac ${D}${sysconfdir}/acpi/events 12 | 13 | install -m 755 ${WORKDIR}/ac_actions ${D}${sysconfdir}/acpi/ac 14 | 15 | install -d ${D}${sysconfdir}/acpi/actions 16 | } 17 | -------------------------------------------------------------------------------- /recipes-bsp/grub/files/cfg: -------------------------------------------------------------------------------- 1 | search --file --set=root /isolinux/xen.gz 2 | set prefix=($root)/isolinux 3 | -------------------------------------------------------------------------------- /recipes-bsp/grub/files/grub-efi-installer.cfg: -------------------------------------------------------------------------------- 1 | set timeout=10 2 | 3 | menuentry --hotkey=i 'OpenXT Install' { 4 | set background_color=black 5 | linux /isolinux/vmlinuz placeholder quiet root=/dev/ram rw start_install=new eject_cdrom=1 answerfile=/install/answers/uefi.ans console=ttyS0,115200n8 selinux=0 6 | initrd /isolinux/rootfs.gz 7 | } 8 | menuentry --hotkey=v 'OpenXT Install (verbose)' { 9 | set background_color=black 10 | linux /isolinux/vmlinuz placeholder splash root=/dev/ram rw start_install=new eject_cdrom=1 answerfile=/install/answers/uefi.ans console=ttyS0,115200n8 selinux=0 11 | initrd /isolinux/rootfs.gz 12 | } 13 | menuentry --hotkey=a 'OpenXT Install (automatic)' { 14 | set background_color=black 15 | linux /isolinux/vmlinuz placeholder quiet root=/dev/ram rw start_install=new eject_cdrom=1 answerfile=/install/answers/auto-cd.ans console=ttyS0,115200n8 selinux=0 16 | initrd /isolinux/rootfs.gz 17 | } 18 | -------------------------------------------------------------------------------- /recipes-bsp/grub/grub-xen-conf.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Basic grub.cfg for PVH/PV domains" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = " \ 4 | file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \ 5 | " 6 | 7 | APPEND ??= "root=/dev/xvda1 ro console=hvc0" 8 | # Make sure the package is machine specific since it uses APPEND 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" 10 | 11 | do_install() { 12 | install -d "${D}/boot/grub2" 13 | 14 | echo "default=boot" > "${D}/boot/grub2/grub.cfg" 15 | echo "timeout=0" >> "${D}/boot/grub2/grub.cfg" 16 | echo "menuentry 'boot' {" >> "${D}/boot/grub2/grub.cfg" 17 | echo "linux /boot/${KERNEL_IMAGETYPE} ${APPEND}" >> "${D}/boot/grub2/grub.cfg" 18 | echo "}" >> "${D}/boot/grub2/grub.cfg" 19 | } 20 | 21 | FILES_${PN} = "/boot" 22 | -------------------------------------------------------------------------------- /recipes-bsp/grub/grub-xen-pv64_2.04.bb: -------------------------------------------------------------------------------- 1 | require grub-xen.inc 2 | GRUBPLATFORM = "xen" 3 | GRUB_TARGET = "x86_64" 4 | GRUBEXT = "${GRUBPLATFORM}-pv64" 5 | -------------------------------------------------------------------------------- /recipes-bsp/grub/grub-xen-pvh_2.04.bb: -------------------------------------------------------------------------------- 1 | require grub-xen.inc 2 | GRUBPLATFORM = "xen_pvh" 3 | GRUB_TARGET = "i386" 4 | GRUBEXT = "xen-pvh" 5 | -------------------------------------------------------------------------------- /recipes-bsp/grub/grub_2.%.bbappend: -------------------------------------------------------------------------------- 1 | PR .= ".1" 2 | 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/patches:" 4 | 5 | SRC_URI += " \ 6 | file://remove-editing-and-shell.patch \ 7 | file://no-multiboot-display-reset.patch \ 8 | " 9 | 10 | PACKAGECONFIG_append = "device-mapper" 11 | 12 | # PACKAGECONFIG seems to not append the RDEPENDS_${PN}-*... not sure why yet. 13 | RDEPENDS_${PN}-editenv += "libdevmapper" 14 | RDEPENDS_${PN}-common += "libdevmapper" 15 | -------------------------------------------------------------------------------- /recipes-bsp/grub/patches/no-multiboot-display-reset.patch: -------------------------------------------------------------------------------- 1 | Index: git/grub-core/loader/i386/multiboot_mbi.c 2 | =================================================================== 3 | --- git.orig/grub-core/loader/i386/multiboot_mbi.c 4 | +++ git/grub-core/loader/i386/multiboot_mbi.c 5 | @@ -356,13 +356,6 @@ retrieve_video_parameters (struct multib 6 | grub_video_driver_id_t driv_id; 7 | struct grub_video_palette_data palette[256]; 8 | 9 | - err = grub_multiboot_set_video_mode (); 10 | - if (err) 11 | - { 12 | - grub_print_error (); 13 | - grub_errno = GRUB_ERR_NONE; 14 | - } 15 | - 16 | grub_video_get_palette (0, ARRAY_SIZE (palette), palette); 17 | 18 | driv_id = grub_video_get_driver_id (); 19 | -------------------------------------------------------------------------------- /recipes-connectivity/network-manager-applet/network-manager-applet-1.16.0/org.openxt.nmapplet.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /recipes-connectivity/network-manager-applet/network-manager-applet-1.8.22/org.openxt.nmapplet.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /recipes-connectivity/network-manager-applet/network-manager-applet_1.16.0.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}-${PV}:" 2 | 3 | SRC_URI += " \ 4 | file://openxt-menus.patch \ 5 | file://disable-available-to-all-users-checkbox.patch \ 6 | file://always-use-psk-hash.patch \ 7 | file://disable-show-password.patch \ 8 | file://disable-auto-ethernet.patch \ 9 | file://default-certs-dir.patch \ 10 | file://org.openxt.nmapplet.xml \ 11 | " 12 | 13 | do_configure_prepend() { 14 | gdbus-codegen --generate-c-code ${S}/src/popup-menu --c-namespace OpenXT --interface-prefix org.openxt. ${WORKDIR}/org.openxt.nmapplet.xml 15 | } 16 | -------------------------------------------------------------------------------- /recipes-connectivity/network-manager-applet/network-manager-applet_1.8.22.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}-${PV}:" 2 | 3 | SRC_URI += " \ 4 | file://openxt-menus.patch \ 5 | file://disable-available-to-all-users-checkbox.patch \ 6 | file://always-use-psk-hash.patch \ 7 | file://disable-show-password.patch \ 8 | file://disable-auto-ethernet.patch \ 9 | file://default-certs-dir.patch \ 10 | file://org.openxt.nmapplet.xml \ 11 | " 12 | 13 | do_configure_prepend() { 14 | gdbus-codegen --generate-c-code ${S}/src/popup-menu --c-namespace OpenXT --interface-prefix org.openxt. ${WORKDIR}/org.openxt.nmapplet.xml 15 | } 16 | -------------------------------------------------------------------------------- /recipes-connectivity/networkmanager-certs/networkmanager-certs.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Tool to copy NM certificates." 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 | 5 | SRC_URI = " \ 6 | file://certs-sync \ 7 | file://populate-certs.sh \ 8 | " 9 | 10 | inherit allarch update-rc.d 11 | 12 | do_install () { 13 | install -d ${D}/usr/bin 14 | install -m 0755 ${WORKDIR}/certs-sync ${D}/usr/bin 15 | 16 | install -d ${D}${sysconfdir}/init.d 17 | install -m 0755 ${WORKDIR}/populate-certs.sh ${D}${sysconfdir}/init.d 18 | 19 | install -d ${D}/${localstatedir}/lib/NetworkManager 20 | } 21 | 22 | INITSCRIPT_PACKAGES = "${PN}" 23 | INITSCRIPT_NAME_${PN} = "populate-certs.sh" 24 | INITSCRIPT_PARAMS_${PN} = "start 28 2 3 4 5 ." 25 | 26 | RDEPENDS_${PN} += " \ 27 | libtirpc \ 28 | libicbinn \ 29 | libicbinn-client \ 30 | xen-tools-xenstore \ 31 | " 32 | -------------------------------------------------------------------------------- /recipes-connectivity/networkmanager/files/NetworkManager.conf: -------------------------------------------------------------------------------- 1 | [main] 2 | plugins=keyfile 3 | 4 | [ifupdown] 5 | managed=false 6 | 7 | [keyfile] 8 | unmanaged-devices=*,except:interface-name:eth*,except:interface-name:wlan*,except:interface-name:brbridged* 9 | 10 | [device] 11 | wifi.scan-rand-mac-address=no 12 | 13 | -------------------------------------------------------------------------------- /recipes-connectivity/networkmanager/files/db_to_nm.awk: -------------------------------------------------------------------------------- 1 | BEGIN { 2 | } 3 | 4 | /^ [a-zA-Z0-9-]+ =$/ { 5 | print "" 6 | group=substr($0, 1, length($0) - 2); 7 | gsub(/(^ *| *$)/, "", group); 8 | print "[" group "]"; 9 | } 10 | 11 | /^ permissions = .+$/ { 12 | continue 13 | } 14 | 15 | /^ [a-zA-Z0-9-]+ = .+$/ { 16 | equals=index($0, "="); 17 | key=substr($0, 1, equals - 1) 18 | value=substr($0, equals + 1) 19 | gsub(/(^ *| *$)/, "", key); 20 | gsub(/^ *"/, "", value); 21 | gsub(/"$/, "", value); 22 | print key "=" value 23 | } 24 | 25 | END { 26 | } 27 | -------------------------------------------------------------------------------- /recipes-connectivity/networkmanager/files/dbus-system.conf: -------------------------------------------------------------------------------- 1 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /recipes-connectivity/networkmanager/files/nm_to_db.awk: -------------------------------------------------------------------------------- 1 | BEGIN { 2 | group=""; 3 | gsub(/ /, "%20", file); 4 | gsub(/'/, "'\\''", file); 5 | gsub(/'/, "'\\''", node); 6 | } 7 | 8 | /^\[.+\]$/ { 9 | group=substr($0, 2, length($0) - 2); 10 | gsub(/'/, "'\\''", group); 11 | } 12 | 13 | 14 | /[a-zA-Z0-9-]+=.+$/ { 15 | equals=index($0, "="); 16 | key=substr($0, 1, equals - 1) 17 | value=substr($0, equals + 1) 18 | gsub(/(^ *| *$)/, "", key); 19 | gsub(/^ */, "", value); 20 | gsub(/'/, "'\\''", key); 21 | gsub(/'/, "'\\''", value); 22 | 23 | if (key == "permissions" && group == "connection") 24 | continue 25 | 26 | system("db-write-dom0 '/" node "/" file "/" group "/" key "' '" value "'"); 27 | } 28 | 29 | END { 30 | } 31 | -------------------------------------------------------------------------------- /recipes-connectivity/networkmanager/files/org.openxt.nmapplet.conf: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /recipes-connectivity/networkmanager/networkmanager-1.18.4/disable-ipv6-config.patch: -------------------------------------------------------------------------------- 1 | --- a/src/NetworkManagerUtils.c 2 | +++ b/src/NetworkManagerUtils.c 3 | @@ -287,7 +287,7 @@ nm_utils_complete_generic (NMPlatform *p 4 | /* Normalize */ 5 | parameters = g_hash_table_new (nm_str_hash, g_str_equal); 6 | g_hash_table_insert (parameters, NM_CONNECTION_NORMALIZE_PARAM_IP6_CONFIG_METHOD, 7 | - default_enable_ipv6 ? NM_SETTING_IP6_CONFIG_METHOD_AUTO : NM_SETTING_IP6_CONFIG_METHOD_IGNORE); 8 | + NM_SETTING_IP6_CONFIG_METHOD_IGNORE); 9 | nm_connection_normalize (connection, parameters, NULL, NULL); 10 | g_hash_table_destroy (parameters); 11 | } 12 | -------------------------------------------------------------------------------- /recipes-connectivity/networkmanager/networkmanager-1.22.%/disable-ipv6-config.patch: -------------------------------------------------------------------------------- 1 | --- a/src/NetworkManagerUtils.c 2 | +++ b/src/NetworkManagerUtils.c 3 | @@ -287,7 +287,7 @@ nm_utils_complete_generic (NMPlatform *p 4 | /* Normalize */ 5 | parameters = g_hash_table_new (nm_str_hash, g_str_equal); 6 | g_hash_table_insert (parameters, NM_CONNECTION_NORMALIZE_PARAM_IP6_CONFIG_METHOD, 7 | - default_enable_ipv6 ? NM_SETTING_IP6_CONFIG_METHOD_AUTO : NM_SETTING_IP6_CONFIG_METHOD_IGNORE); 8 | + NM_SETTING_IP6_CONFIG_METHOD_IGNORE); 9 | nm_connection_normalize (connection, parameters, NULL, NULL); 10 | g_hash_table_destroy (parameters); 11 | } 12 | -------------------------------------------------------------------------------- /recipes-connectivity/openssh/files/volatiles.99_ssh-keygen: -------------------------------------------------------------------------------- 1 | d root root 0755 /var/run/ssh none 2 | -------------------------------------------------------------------------------- /recipes-core/base-files/files/openxt-aliases.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | alias rw="mount -o remount,rw /" 4 | alias ro="mount -o remount,ro /" 5 | alias nr="newrole -r sysadm_r" 6 | -------------------------------------------------------------------------------- /recipes-core/base-files/files/openxt-installer/fstab: -------------------------------------------------------------------------------- 1 | proc /proc proc nosuid,noexec,nodev 0 0 2 | 3 | sysfs /sys sysfs nosuid,noexec,nodev 0 0 4 | devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 5 | devpts /dev/pts devpts mode=0620,gid=5 0 0 6 | 7 | rootfs / auto rw,defaults,noatime 1 1 8 | 9 | securityfs /sys/kernel/security securityfs defaults 0 0 10 | xenfs /proc/xen xenfs defaults 0 0 11 | -------------------------------------------------------------------------------- /recipes-core/base-files/files/usbvm/fstab.early: -------------------------------------------------------------------------------- 1 | # proc is presumably mounted by /etc/init.d/rcS script. 2 | # /etc/init.d/rcS might use /etc/fstab when not modified accordingly, so match 3 | # this entry with /etc/fstab. 4 | proc /proc proc nosuid,noexec,nodev 0 0 5 | 6 | # OpenXT read-only root tmpfs: 7 | # These have to be either absent from this file or match /etc/fstab 8 | # exactly for mountearly.sh and mountall.sh to work correctly. 9 | sysfs /sys sysfs nosuid,noexec,nodev 0 0 10 | devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 11 | tmpfs /run tmpfs defaults,size=5M 0 0 12 | 13 | tmpfs /var/volatile tmpfs defaults,size=5M 0 0 14 | -------------------------------------------------------------------------------- /recipes-core/base-files/files/xenclient-syncvm/fstab.early: -------------------------------------------------------------------------------- 1 | proc /proc proc defaults 0 0 2 | sysfs /sys sysfs nosuid,noexec,nodev 0 0 3 | devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 4 | tmpfs /run tmpfs defaults,size=5M 0 0 5 | tmpfs /var/volatile tmpfs defaults,size=100M 0 0 6 | tmpfs /var/cache tmpfs defaults,size=100M 0 0 7 | xenfs /proc/xen xenfs defaults 0 0 8 | -------------------------------------------------------------------------------- /recipes-core/base-files/files/xenclient-uivm/fstab.early: -------------------------------------------------------------------------------- 1 | # proc is presumably mounted by /etc/init.d/rcS script. 2 | # /etc/init.d/rcS might use /etc/fstab when not modified accordingly, so match 3 | # this entry with /etc/fstab. 4 | proc /proc proc nosuid,noexec,nodev 0 0 5 | 6 | # OpenXT read-only root tmpfs: 7 | # These have to be either absent from this file or match /etc/fstab exactly for 8 | # mountearly.sh and mountall.sh to work correctly. 9 | sysfs /sys sysfs nosuid,noexec,nodev 0 0 10 | devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 11 | tmpfs /run tmpfs defaults,size=5M 0 0 12 | tmpfs /tmp tmpfs defaults,size=100M 0 0 13 | 14 | tmpfs /var/volatile tmpfs defaults,size=2M 0 0 15 | tmpfs /var/cache tmpfs defaults,size=100M 0 0 16 | -------------------------------------------------------------------------------- /recipes-core/base-passwd/base-passwd_3.%.bbappend: -------------------------------------------------------------------------------- 1 | do_install_append() { 2 | # Change the shell to false for everybody but root 3 | sed -i '/^root:/b; s#^\(.*\):/bin/[a-z]\+$#\1:/bin/false#' ${D}${datadir}/base-passwd/passwd.master 4 | } 5 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/archive.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_AR=y 2 | 3 | CONFIG_CPIO=y 4 | CONFIG_FEATURE_CPIO_O=y 5 | 6 | CONFIG_TAR=y 7 | CONFIG_FEATURE_TAR_CREATE=y 8 | CONFIG_FEATURE_TAR_AUTODETECT=y 9 | CONFIG_FEATURE_TAR_FROM=y 10 | CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY=y 11 | CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y 12 | CONFIG_FEATURE_TAR_LONG_OPTIONS=y 13 | CONFIG_FEATURE_TAR_TO_COMMAND=y 14 | CONFIG_FEATURE_TAR_UNAME_GNAME=y 15 | CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y 16 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/console.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_SETFONT=y 2 | CONFIG_FEATURE_SETFONT_TEXTUAL_MAP=y 3 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/coreutils.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_CHOWN=y 2 | CONFIG_FEATURE_CHOWN_LONG_OPTIONS=y 3 | 4 | CONFIG_CP=y 5 | CONFIG_FEATURE_CP_LONG_OPTIONS=y 6 | 7 | CONFIG_DATE=y 8 | CONFIG_FEATURE_DATE_ISOFMT=y 9 | 10 | CONFIG_DF=y 11 | CONFIG_FEATURE_DF_FANCY=y 12 | 13 | CONFIG_ENV=y 14 | CONFIG_FEATURE_ENV_LONG_OPTIONS=y 15 | 16 | CONFIG_HEAD=y 17 | CONFIG_FEATURE_FANCY_HEAD=y 18 | 19 | CONFIG_SLEEP=y 20 | CONFIG_FEATURE_FANCY_SLEEP=y 21 | CONFIG_FEATURE_FLOAT_SLEEP=y 22 | 23 | CONFIG_MKDIR=y 24 | CONFIG_FEATURE_MKDIR_LONG_OPTIONS=y 25 | 26 | CONFIG_MV=y 27 | CONFIG_FEATURE_MV_LONG_OPTIONS=y 28 | 29 | CONFIG_RMDIR=y 30 | CONFIG_FEATURE_RMDIR_LONG_OPTIONS=y 31 | 32 | CONFIG_TEE=y 33 | CONFIG_FEATURE_TEE_USE_BLOCK_IO=y 34 | 35 | CONFIG_NICE=y 36 | 37 | CONFIG_SHA1SUM=y 38 | CONFIG_SHA256SUM=y 39 | CONFIG_SHA3SUM=y 40 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/editors.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_DIFF=y 2 | CONFIG_FEATURE_DIFF_LONG_OPTIONS=y 3 | CONFIG_FEATURE_DIFF_DIR=y 4 | 5 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/find.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_FIND=y 2 | CONFIG_FEATURE_FIND_DELETE=y 3 | 4 | CONFIG_GREP=y 5 | CONFIG_FEATURE_GREP_EGREP_ALIAS=y 6 | CONFIG_FEATURE_GREP_FGREP_ALIAS=y 7 | CONFIG_FEATURE_GREP_CONTEXT=y 8 | 9 | CONFIG_XARGS=y 10 | CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y 11 | CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y 12 | CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y 13 | CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y 14 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/general.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_SELINUX=y 2 | CONFIG_UNICODE_SUPPORT=y 3 | CONFIG_UNICODE_WIDE_WCHARS=y 4 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/login.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_ADDUSER=y 2 | CONFIG_FEATURE_ADDUSER_LONG_OPTIONS=y 3 | CONFIG_FEATURE_ADDUSER_TO_GROUP=y 4 | 5 | CONFIG_ADDGROUP=y 6 | CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS=y 7 | 8 | CONFIG_CRYPTPW=y 9 | 10 | CONFIG_DELUSER=y 11 | CONFIG_DELGROUP=y 12 | CONFIG_FEATURE_DEL_USER_FROM_GROUP=y 13 | 14 | CONFIG_LOGIN=n 15 | CONFIG_PASSWD=n 16 | CONFIG_SU=n 17 | CONFIG_SULOGIN=n 18 | 19 | CONFIG_GETTY=y 20 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/lspci.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_LSPCI=n 2 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/lsusb.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_LSUSB=n 2 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/mdev.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_MDEV=y 2 | CONFIG_FEATURE_MDEV_CONF=y 3 | #CONFIG_FEATURE_MDEV_RENAME=n 4 | #CONFIG_FEATURE_MDEV_RENAME_REGEXP=n 5 | CONFIG_FEATURE_MDEV_EXEC=y 6 | #CONFIG_FEATURE_MDEV_LOAD_FIRMWARE=n 7 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/mdev.conf: -------------------------------------------------------------------------------- 1 | # Only add for addition 2 | xvd[a-d] 0:0 660 @qemu-xvdc-add-fd.sh 3 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/misc.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Miscellaneous Utilities 3 | # 4 | CONFIG_FBSPLASH=y 5 | CONFIG_READAHEAD=y 6 | 7 | # 8 | # Common options for ls, more and telnet 9 | # 10 | CONFIG_FEATURE_AUTOWIDTH=y 11 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/netutils.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_FTPGET=y 2 | CONFIG_FTPPUT=y 3 | CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS=y 4 | 5 | CONFIG_IFCONFIG=y 6 | CONFIG_FEATURE_IFCONFIG_STATUS=y 7 | CONFIG_FEATURE_IFCONFIG_HW=y 8 | CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y 9 | 10 | CONFIG_IFUPDOWN=y 11 | CONFIG_FEATURE_IFUPDOWN_IP=y 12 | 13 | CONFIG_NETSTAT=y 14 | CONFIG_FEATURE_NETSTAT_WIDE=y 15 | CONFIG_FEATURE_NETSTAT_PRG=y 16 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/poweroff.cfg: -------------------------------------------------------------------------------- 1 | # Used by stubdom 2 | CONFIG_POWEROFF=y 3 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/process.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_DESKTOP=n 2 | 3 | CONFIG_PIDOF=y 4 | CONFIG_FEATURE_PIDOF_SINGLE=y 5 | CONFIG_FEATURE_PIDOF_OMIT=y 6 | CONFIG_FEATURE_SHOW_THREADS=y 7 | 8 | CONFIG_PS=y 9 | CONFIG_FEATURE_PS_TIME=n 10 | CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS=n 11 | 12 | CONFIG_PKILL=y 13 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/setsid.cfg: -------------------------------------------------------------------------------- 1 | # For stubdom login 2 | CONFIG_SETSID=y 3 | CONFIG_CTTYHACK=y 4 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/shells.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_ASH=y 2 | CONFIG_ASH_ECHO=y 3 | CONFIG_ASH_PRINTF=y 4 | CONFIG_ASH_TEST=y 5 | 6 | CONFIG_SH_IS_ASH=y 7 | CONFIG_SH_MATH_SUPPORT=y 8 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/syslog.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_SYSLOGD=y 2 | CONFIG_LOGGER=y 3 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/sysutils.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_BLKID=y 2 | CONFIG_FEATURE_BLKID_TYPE=y 3 | 4 | CONFIG_FATATTR=y 5 | 6 | CONFIG_FDISK=y 7 | CONFIG_FEATURE_FDISK_ADVANCED=y 8 | CONFIG_FEATURE_GPT_LABEL=y 9 | CONFIG_FEATURE_OSF_LABEL=y 10 | 11 | CONFIG_GETOPT=y 12 | CONFIG_FEATURE_GETOPT_LONG=y 13 | 14 | CONFIG_MOUNT=y 15 | CONFIG_FEATURE_MOUNT_VERBOSE=y 16 | CONFIG_FEATURE_MOUNT_HELPERS=y 17 | CONFIG_FEATURE_MOUNT_LABEL=y 18 | CONFIG_FEATURE_MOUNT_NFS=n 19 | CONFIG_FEATURE_MOUNT_CIFS=n 20 | CONFIG_FEATURE_MOUNT_FLAGS=y 21 | CONFIG_FEATURE_MOUNT_FSTAB=y 22 | CONFIG_FEATURE_MOUNT_OTHERTAB=y 23 | CONFIG_VOLUMEID=y 24 | 25 | CONFIG_FREERAMDISK=y 26 | 27 | CONFIG_RDEV=y 28 | 29 | CONFIG_READPROFILE=y 30 | 31 | CONFIG_SWAPONOFF=y 32 | -------------------------------------------------------------------------------- /recipes-core/busybox/files/tftp.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_DHCP_RELAY=y 2 | 3 | CONFIG_UDHCPD=y 4 | CONFIG_DHCPRELAY=y 5 | CONFIG_DUMPLEASES=y 6 | 7 | CONFIG_UDHCPC=y 8 | CONFIG_FEATURE_UDHCPC_ARPING=y 9 | CONFIG_FEATURE_UDHCPC_SANITIZEOPT=y 10 | 11 | CONFIG_FEATURE_UDHCP_8021Q=y 12 | 13 | CONFIG_UDPSVD=y 14 | -------------------------------------------------------------------------------- /recipes-core/dbus/patches/fix-segfault-bus_connection_disconnected.patch: -------------------------------------------------------------------------------- 1 | --- a/bus/connection.c 2 | +++ b/bus/connection.c 3 | @@ -302,7 +302,9 @@ bus_connection_disconnected (DBusConnect 4 | if (mm != NULL) 5 | bus_matchmaker_disconnected (mm, connection); 6 | 7 | - _dbus_list_remove_link (&d->connections->monitors, d->link_in_monitors); 8 | + if (d->connections->monitors != NULL) 9 | + _dbus_list_remove_link (&d->connections->monitors, d->link_in_monitors); 10 | + 11 | d->link_in_monitors = NULL; 12 | } 13 | 14 | -------------------------------------------------------------------------------- /recipes-core/glib-2.0/glib-2.0_%.bbappend: -------------------------------------------------------------------------------- 1 | EXTRA_OECONF_append = " \ 2 | --disable-Bsymbolic \ 3 | " 4 | -------------------------------------------------------------------------------- /recipes-core/images/usbvm-image.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "usbvm to isolate USB hardware" 2 | LICENSE = "GPLv2+" 3 | LIC_FILES_CHKSUM = " \ 4 | file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \ 5 | " 6 | 7 | inherit openxt-selinux-image 8 | 9 | IMAGE_FEATURES += " \ 10 | read-only-rootfs \ 11 | empty-root-password \ 12 | ctrlaltdel-reboot \ 13 | " 14 | 15 | IMAGE_FSTYPES = "ext4.disk.vhd.gz" 16 | 17 | IMAGE_LINGUAS = "" 18 | 19 | COMPATIBLE_MACHINE = "usbvm" 20 | 21 | IMAGE_INSTALL += " \ 22 | packagegroup-core-boot \ 23 | kmod \ 24 | openssh \ 25 | rsyslog \ 26 | usbutils \ 27 | argo-module \ 28 | grub-xen-conf \ 29 | kernel-modules \ 30 | vusb-daemon-stub \ 31 | argo-input-sender \ 32 | " 33 | -------------------------------------------------------------------------------- /recipes-core/init-ifupdown/init-ifupdown-1.0/if-down.d/.mtn2git_empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-core/init-ifupdown/init-ifupdown-1.0/if-down.d/.mtn2git_empty -------------------------------------------------------------------------------- /recipes-core/init-ifupdown/init-ifupdown-1.0/if-post-down.d/.mtn2git_empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-core/init-ifupdown/init-ifupdown-1.0/if-post-down.d/.mtn2git_empty -------------------------------------------------------------------------------- /recipes-core/init-ifupdown/init-ifupdown-1.0/if-pre-up.d/.mtn2git_empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-core/init-ifupdown/init-ifupdown-1.0/if-pre-up.d/.mtn2git_empty -------------------------------------------------------------------------------- /recipes-core/init-ifupdown/init-ifupdown-1.0/if-up.d/.mtn2git_empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-core/init-ifupdown/init-ifupdown-1.0/if-up.d/.mtn2git_empty -------------------------------------------------------------------------------- /recipes-core/init-ifupdown/init-ifupdown-1.0/options: -------------------------------------------------------------------------------- 1 | # used only when /etc/sysctl.conf does not exist 2 | ip_forward=no 3 | spoofprotect=yes 4 | syncookies=no 5 | -------------------------------------------------------------------------------- /recipes-core/init-ifupdown/init-ifupdown-1.0/xenclient-dom0/interfaces: -------------------------------------------------------------------------------- 1 | # Configure Loopback 2 | auto lo 3 | iface lo inet loopback 4 | 5 | auto eth0 6 | iface eth0 inet manual 7 | 8 | auto uivm 9 | iface uivm inet manual 10 | 11 | auto brinternal 12 | iface brinternal inet manual 13 | 14 | auto brshared 15 | iface brshared inet manual 16 | 17 | auto brwireless 18 | iface brwireless inet manual 19 | 20 | auto brbridged 21 | iface brbridged inet dhcp 22 | 23 | -------------------------------------------------------------------------------- /recipes-core/init-ifupdown/init-ifupdown-1.0/xenclient-ndvm/interfaces: -------------------------------------------------------------------------------- 1 | # Configure Loopback 2 | auto lo 3 | iface lo inet loopback 4 | 5 | auto eth0 6 | iface eth0 inet manual 7 | 8 | auto uivm 9 | iface uivm inet manual 10 | 11 | auto brinternal 12 | iface brinternal inet manual 13 | 14 | auto brshared 15 | iface brshared inet manual 16 | 17 | auto brwireless 18 | iface brwireless inet manual 19 | 20 | auto brbridged 21 | iface brbridged inet dhcp 22 | 23 | -------------------------------------------------------------------------------- /recipes-core/init-ifupdown/init-ifupdown-1.0/xenclient-syncvm/interfaces: -------------------------------------------------------------------------------- 1 | auto lo 2 | iface lo inet loopback 3 | 4 | iface eth0 inet dhcp 5 | udhcpc_opts -b 6 | -------------------------------------------------------------------------------- /recipes-core/init-ifupdown/init-ifupdown-1.0/xenclient-uivm/interfaces: -------------------------------------------------------------------------------- 1 | auto lo 2 | iface lo inet loopback 3 | 4 | auto eth0 5 | iface eth0 inet dhcp 6 | udhcpc_opts -b 7 | 8 | auto eth1 9 | iface eth1 inet dhcp 10 | udhcpc_opts -b 11 | -------------------------------------------------------------------------------- /recipes-core/initrdscripts/initramfs-framework/selinux: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2018 Apertus Solutions, LLC 3 | # Licensed on MIT 4 | 5 | selinux_enabled() { 6 | return 0 7 | } 8 | 9 | selinux_run() { 10 | if [ "${openxt_measured}" = "true" ]; then 11 | bootparam_init="/sbin/init.root-ro" 12 | fi 13 | 14 | bootparam_init="/sbin/selinux-load.sh ${bootparam_init:-/sbin/init} ${bootparam_runlevel}" 15 | } 16 | -------------------------------------------------------------------------------- /recipes-core/initrdscripts/initramfs-stubdomain/qemu-xvdc-add-fd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec 1>/dev/console 2>&1 4 | 5 | add() { 6 | disk=${MDEV#xvd} 7 | disk_num=$( printf "%d" \'"$disk" ) 8 | 9 | # 97 is decimal 0x61 for ascii 'a' 10 | fdset=$(( 8000 + disk_num - 97 )) 11 | 12 | qmp_hello=$(printf '{"execute":"qmp_capabilities","id":1}\r\n') 13 | qmp_addfd=$(printf '{"execute":"add-fd", "arguments": { "fdset-id": %d }, "id":42 }\r\n' "$fdset" ) 14 | 15 | echo "add $MDEV to fdset $fdset" 16 | 17 | fd=/dev/fd/9 18 | if [ "$( cat /sys/class/block/"$MDEV"/ro )" -eq 1 ] ; then 19 | exec 9/dev/"$MDEV" 22 | fi 23 | 24 | add-fd /tmp/qemu-cdrom.qmp $fd "$qmp_hello$qmp_addfd" "42" 25 | echo add-fd returned $? 26 | 27 | exec 9<&- 28 | } 29 | 30 | case $ACTION in 31 | add) 32 | add 33 | ;; 34 | esac 35 | -------------------------------------------------------------------------------- /recipes-core/initrdscripts/initramfs-stubdomain_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Stubdomain initscript." 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 | 5 | COMPATIBLE_MACHINE = "xenclient-stubdomain" 6 | 7 | SRC_URI = " \ 8 | file://init.sh \ 9 | file://qemu-xvdc-add-fd.sh \ 10 | " 11 | 12 | inherit allarch 13 | 14 | do_install() { 15 | install -m 0755 ${WORKDIR}/init.sh ${D}/init 16 | install -d ${D}${bindir} 17 | install -m 0755 ${WORKDIR}/qemu-xvdc-add-fd.sh ${D}${bindir} 18 | } 19 | 20 | FILES_${PN} = " \ 21 | /init \ 22 | ${bindir} \ 23 | " 24 | RDEPENDS_${PN} += " \ 25 | qemu-dm-stubdom \ 26 | vchan-socket-proxy \ 27 | xen-tools-xenstore \ 28 | add-fd \ 29 | busybox-mdev \ 30 | " 31 | -------------------------------------------------------------------------------- /recipes-core/initscripts/initscripts-1.0/finish.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) 2013 Citrix Systems, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation; either version 2 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program; if not, write to the Free Software 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | # 19 | 20 | exit 0 21 | -------------------------------------------------------------------------------- /recipes-core/initscripts/initscripts-1.0/mountearly.sh: -------------------------------------------------------------------------------- 1 | # 2 | # mountearly.sh 3 | # Mount early tmpfs required for early daemon (udevd,...). 4 | # 5 | 6 | . /etc/default/rcS 7 | . /etc/init.d/functions 8 | 9 | # Can be defined in /etc/default/mountearly? 10 | if [ -f /etc/default/mountearly ]; then 11 | . /etc/default/mountearly 12 | fi 13 | # Environment. 14 | EARLY_FSTAB="${EARLY_FSTAB:-/etc/fstab.early}" 15 | 16 | begin "Mounting early filesystems..." 17 | if [ ! -e "${EARLY_FSTAB}" ]; then 18 | success "No early filesystems to mount (${EARLY_FSTAB})." 19 | exit 0 20 | fi 21 | 22 | # With busybox, requires: CONFIG_FEATURE_MOUNT_OTHERTAB 23 | if ! mount -a -T "${EARLY_FSTAB}" ; then 24 | failure "Failed to mount early filesystems." 25 | exit 1 26 | fi 27 | 28 | success "Early filesystems ready." 29 | -------------------------------------------------------------------------------- /recipes-core/initscripts/initscripts-1.0/mountefi.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ -d /sys/firmware/efi ] ; then 4 | mount -t efivarfs efivarfs /sys/firmware/efi/efivars 5 | fi 6 | -------------------------------------------------------------------------------- /recipes-core/initscripts/initscripts-1.0/udev-volatiles.sh: -------------------------------------------------------------------------------- 1 | # 2 | # udev-volatiles.sh 3 | # Populate early tmpf that may be required by udev. 4 | # 5 | 6 | . /etc/init.d/functions-selinux 7 | 8 | if [ -f /etc/default/udev-volatiles ]; then 9 | . /etc/default/udev-volatiles 10 | fi 11 | 12 | echo -n "Populate volatiles for udev..." 13 | 14 | for dir in \ 15 | /run/lock \ 16 | /var/volatile/tmp 17 | do 18 | mkdir -p "${dir}" 19 | if ! restore -R "${dir}" ; then 20 | echo "restore -R ${dir} failed." 21 | exit 1 22 | fi 23 | done 24 | 25 | echo "OK" 26 | -------------------------------------------------------------------------------- /recipes-core/initscripts/initscripts-1.0/xenclient-ndvm/finish.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) 2013 Citrix Systems, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation; either version 2 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program; if not, write to the Free Software 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | # 19 | 20 | # Only used if boot-sentinel is set in the VM configuration 21 | xenstore-write booted 1 22 | 23 | exit 0 24 | -------------------------------------------------------------------------------- /recipes-core/initscripts/initscripts-1.0/xenclient-uivm/single: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # single executed by init(8) upon entering runlevel 1 (single). 4 | # 5 | # Version: @(#)single 1.20 26-Geb-2001 miquels@cistron.nl 6 | # 7 | 8 | PATH="/sbin:/bin:/usr/sbin:/usr/bin" 9 | 10 | # Kill all processes. 11 | echo "Sending all processes the TERM signal..." 12 | killall5 -15 13 | sleep 5 14 | echo "Sending all processes the KILL signal..." 15 | killall5 -9 16 | 17 | # We start update here, since we just killed it. 18 | test -x /sbin/update && update 19 | 20 | echo "Entering single-user mode..." 21 | exec init -t1 S 22 | -------------------------------------------------------------------------------- /recipes-core/jamvm/jamvm_git.bbappend: -------------------------------------------------------------------------------- 1 | PR .= ".5" 2 | 3 | SRC_URI = "git://github.com/xranby/jamvm;protocol=https \ 4 | file://jamvm-jni_h-noinst.patch \ 5 | file://libffi.patch \ 6 | file://jamvm-minmax-heap.patch \ 7 | file://java \ 8 | " 9 | -------------------------------------------------------------------------------- /recipes-core/microcode/intel-microcode_%.bbappend: -------------------------------------------------------------------------------- 1 | # intel-microcode is MACHINE specific for some reason. 2 | 3 | # Since dom0 is shipped as a full image, the installer copies relevant files 4 | # from /boot to the boot partition. 5 | do_install_append() { 6 | install -d "${D}/boot" 7 | # intel-microcode recipe installs in ${WORKDIR}. 8 | install "${WORKDIR}/microcode_${PV}.bin" "${D}/boot/microcode_${PV}.bin" 9 | ln -sfr "${D}/boot/microcode_${PV}.bin" "${D}/boot/microcode_intel.bin" 10 | } 11 | 12 | # Override do_deploy to suit OpenXT existing bootstrap. 13 | do_deploy() { 14 | # intel-microcode recipe installs in ${WORKDIR}. 15 | install "${WORKDIR}/microcode_${PV}.bin" "${DEPLOYDIR}/microcode_intel.bin" 16 | } 17 | 18 | FILES_${PN} += "/boot" 19 | -------------------------------------------------------------------------------- /recipes-core/ovmf/ovmf/xcp-ng-add-xen-platform-device-id.patch: -------------------------------------------------------------------------------- 1 | xen-platform: Add device_id for Windows VMs 2 | 3 | The platform device has a different device id for Windows VMs so match 4 | this one too. 5 | --- a/OvmfPkg/XenIoPciDxe/XenIoPciDxe.c 6 | +++ b/OvmfPkg/XenIoPciDxe/XenIoPciDxe.c 7 | @@ -24,6 +24,7 @@ 8 | 9 | #define PCI_VENDOR_ID_XEN 0x5853 10 | #define PCI_DEVICE_ID_XEN_PLATFORM 0x0001 11 | +#define PCI_DEVICE_ID_XEN_PLATFORM_XS 0x0002 12 | 13 | /** 14 | 15 | @@ -96,7 +97,8 @@ XenIoPciDeviceBindingSupported ( 16 | 17 | if (Status == EFI_SUCCESS) { 18 | if ((Pci.Hdr.VendorId == PCI_VENDOR_ID_XEN) && 19 | - (Pci.Hdr.DeviceId == PCI_DEVICE_ID_XEN_PLATFORM)) { 20 | + (Pci.Hdr.DeviceId == PCI_DEVICE_ID_XEN_PLATFORM || 21 | + Pci.Hdr.DeviceId == PCI_DEVICE_ID_XEN_PLATFORM_XS)) { 22 | Status = EFI_SUCCESS; 23 | } else { 24 | Status = EFI_UNSUPPORTED; 25 | -------------------------------------------------------------------------------- /recipes-core/ovmf/ovmf/xcp-ng-set-default-resolution-1024-768.patch: -------------------------------------------------------------------------------- 1 | --- a/OvmfPkg/OvmfPkgX64.dsc 2 | +++ b/OvmfPkg/OvmfPkgX64.dsc 3 | @@ -582,8 +582,8 @@ 4 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0 5 | !endif 6 | gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE 7 | - gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800 8 | - gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600 9 | + gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1024 10 | + gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|768 11 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE 12 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0 13 | gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0 14 | -------------------------------------------------------------------------------- /recipes-core/packagegroups/packagegroup-base.bbappend: -------------------------------------------------------------------------------- 1 | PR .= ".1" 2 | 3 | RDEPENDS_packagegroup-base-keyboard = "\ 4 | kbd \ 5 | xenclient-console-keymaps" 6 | -------------------------------------------------------------------------------- /recipes-core/packagegroups/packagegroup-openxt-test.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Provides testing packages" 2 | LICENSE = "MIT" 3 | PR = "r0" 4 | 5 | inherit packagegroup 6 | 7 | RDEPENDS_${PN} = " \ 8 | ${@bb.utils.contains("DISTRO_FEATURES", "bats", "bats-suite", "", d)} \ 9 | " 10 | -------------------------------------------------------------------------------- /recipes-core/packagegroups/packagegroup-xenclient-common.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Common packages for XenClient images" 2 | LICENSE = "GPLv2 & MIT" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \ 4 | file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 5 | 6 | inherit packagegroup 7 | 8 | # depend on shadow-native, to make sure that pwconv is found during 9 | # rootfs construction as shadow for various reasons does not depend on it 10 | # and other packages may or may not pull it 11 | # when removing shadow dependecy please remove also shadow-native 12 | DEPENDS += "shadow-native" 13 | 14 | RDEPENDS_${PN} = " \ 15 | xenclient-feed-configs \ 16 | shadow \ 17 | bash \ 18 | bzip2 \ 19 | coreutils \ 20 | gzip \ 21 | ldd \ 22 | less \ 23 | procps \ 24 | rsync \ 25 | strace \ 26 | vim-tiny \ 27 | sysvinit-pidof \ 28 | nano \ 29 | " 30 | -------------------------------------------------------------------------------- /recipes-core/packagegroups/packagegroup-xenclient-extra.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Packages build during extra step" 2 | LICENSE = "GPLv2 & MIT" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \ 4 | file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 5 | 6 | inherit packagegroup 7 | 8 | RDEPENDS_${PN} = "\ 9 | autoconf \ 10 | automake \ 11 | binutils \ 12 | essential-target-builddepends \ 13 | ethtool \ 14 | evtest \ 15 | gcc \ 16 | gdb \ 17 | git \ 18 | ltrace \ 19 | make \ 20 | powertop \ 21 | quilt \ 22 | screen \ 23 | strace \ 24 | tcpdump \ 25 | valgrind \ 26 | vim \ 27 | xenclient-devscripts \ 28 | xenclient-rpcgen \ 29 | lsof \ 30 | evtest \ 31 | " 32 | -------------------------------------------------------------------------------- /recipes-core/packagegroups/packagegroup-xenclient-xfce-minimal.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "All packages required for a very minimal installation of XFCE" 2 | SECTION = "x11/wm" 3 | LICENSE = "MIT" 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 5 | PR = "r2" 6 | 7 | inherit packagegroup 8 | 9 | RDEPENDS_${PN} = " \ 10 | xfwm4 \ 11 | xfwm4-theme-default \ 12 | xfce4-session \ 13 | xfconf \ 14 | \ 15 | xfce4-appfinder \ 16 | xfce4-settings \ 17 | \ 18 | xfce4-notifyd \ 19 | " 20 | -------------------------------------------------------------------------------- /recipes-core/sysvinit/sysvinit-inittab_%.bbappend: -------------------------------------------------------------------------------- 1 | 2 | do_install_append() { 3 | sed -i '/getty 38400 tty/s/12345:respawn/3:respawn/' \ 4 | ${D}${sysconfdir}/inittab 5 | } 6 | -------------------------------------------------------------------------------- /recipes-core/udev/eudev_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI += "\ 4 | file://disable-cdrom-lock.patch \ 5 | " 6 | -------------------------------------------------------------------------------- /recipes-core/udev/udev-extraconf-dom0/50-usb-powersave.rules: -------------------------------------------------------------------------------- 1 | # Avocent SC Secure KVM. 2 | ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0624", ATTR{idProduct}=="0013", TEST=="power/control", ATTR{power/control}="on" 3 | -------------------------------------------------------------------------------- /recipes-core/udev/udev-extraconf-dom0_1.0.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Extra machine specific configuration files." 2 | 3 | LICENSE = "MIT" 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 5 | 6 | SRC_URI = " \ 7 | file://50-usb-powersave.rules \ 8 | " 9 | 10 | inherit allarch 11 | 12 | do_install() { 13 | install -d ${D}${sysconfdir}/udev/rules.d 14 | 15 | install -m 0644 ${WORKDIR}/50-usb-powersave.rules \ 16 | ${D}${sysconfdir}/udev/rules.d/50-usb-powersave.rules 17 | } 18 | 19 | RDEPENDS_${PN} += "udev" 20 | -------------------------------------------------------------------------------- /recipes-devtools/bats-suite/bats-suite_git.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "OpenXT bats test scripts." 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c93f84859222e5549645b5fee3d87947" 4 | 5 | SRC_URI = "git://github.com/OpenXT/bats-suite.git;protocol=https" 6 | SRCREV = "${AUTOREV}" 7 | 8 | S = "${WORKDIR}/git" 9 | 10 | inherit allarch 11 | 12 | do_install () { 13 | if [ -e "${S}/dom0" ]; then 14 | install -d ${D}/${libexecdir}/dom0 15 | install ${S}/dom0/* ${D}/${libexecdir}/dom0 16 | fi 17 | 18 | if [ -e "${S}/ndvm" ]; then 19 | install -d ${D}/${libexecdir}/ndvm 20 | install ${S}/ndvm/* ${D}/${libexecdir}/ndvm 21 | fi 22 | 23 | if [ -e "${S}/uivm" ]; then 24 | install -d ${D}/${libexecdir}/uivm 25 | install ${S}/uivm/* ${D}/${libexecdir}/uivm 26 | fi 27 | 28 | } 29 | 30 | FILES_${PN} = " \ 31 | ${libexecdir} \ 32 | " 33 | 34 | RDEPENDS_${PN} = " \ 35 | bats \ 36 | " 37 | -------------------------------------------------------------------------------- /recipes-devtools/bats/bats_git.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "The Bash Automated Testing System" 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e0bceab9b5f17c5e35ab69da161b48c1" 4 | 5 | SRC_URI = "git://github.com/sstephenson/bats.git;protocol=https" 6 | SRCREV = "03608115df2071fff4eaaff1605768c275e5f81f" 7 | 8 | S = "${WORKDIR}/git" 9 | 10 | inherit allarch 11 | 12 | do_install () { 13 | ${S}/install.sh ${D}/${exec_prefix} 14 | } 15 | 16 | RDEPENDS_${PN} += " \ 17 | bash \ 18 | " 19 | -------------------------------------------------------------------------------- /recipes-devtools/binutils/binutils-cross_2.%.bbappend: -------------------------------------------------------------------------------- 1 | # enable i386pep which is required for the Xen efi build 2 | 3 | EXTRA_OECONF += "--enable-targets=x86_64-pep" 4 | -------------------------------------------------------------------------------- /recipes-devtools/digimend/hidrd_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "HID report descriptor I/O library and conversion tool" 2 | 3 | inherit autotools pkgconfig lib_package 4 | 5 | LICENSE = "GPLv2" 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=80e4bb872435a76f22ff66bc5542c74d" 7 | 8 | DEPENDS += " libxml2 " 9 | 10 | PV = "0+git${SRCPV}" 11 | 12 | SRCREV = "82c5cdd05ffcfead8f48c89d4403f12f2f8cfd20" 13 | SRC_URI = "git://github.com/DIGImend/${PN}.git;protocol=https;branch=master" 14 | 15 | S = "${WORKDIR}/git/" 16 | 17 | FILES_${PN} += " /usr/bin/hidrd-convert " 18 | -------------------------------------------------------------------------------- /recipes-devtools/digimend/usbhid-dump_1.4.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "USB HID device dumping utility" 2 | 3 | inherit autotools pkgconfig lib_package 4 | 5 | LICENSE = "GPLv2" 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 7 | 8 | DEPENDS += " libusb1 " 9 | 10 | SRC_URI = "https://github.com/DIGImend/${PN}/releases/download/${PV}/${PN}-${PV}.tar.gz;name=tarball" 11 | SRC_URI[tarball.md5sum] = "35a9d0d7febc98a0072a92fdf04d7194" 12 | SRC_URI[tarball.sha256sum] = "065bdf713ca2446e455f3b71e6fc9d401dc694d73ac9f3c7b66940771660f46c" 13 | 14 | FILES_${PN} += " /usr/bin/usbhid-dump " 15 | 16 | S = "${WORKDIR}/${PN}-${PV}/" 17 | -------------------------------------------------------------------------------- /recipes-devtools/dmidecode/dmidecode_3.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/patches:" 2 | 3 | SRC_URI += " \ 4 | file://use-oe-vars.patch \ 5 | " 6 | -------------------------------------------------------------------------------- /recipes-devtools/dmidecode/patches/use-oe-vars.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2018-04-25 15:44:51.431420129 -0400 2 | +++ b/Makefile 2018-04-25 15:36:35.327601950 -0400 3 | @@ -12,8 +12,7 @@ 4 | # (at your option) any later version. 5 | # 6 | 7 | -CC = gcc 8 | -CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ 9 | +CFLAGS += -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ 10 | -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef 11 | 12 | # Let lseek and mmap support 64-bit wide offsets 13 | -------------------------------------------------------------------------------- /recipes-devtools/dojo/dojosdk-native_1.7.12.bb: -------------------------------------------------------------------------------- 1 | LICENSE = "BSD-3-Clause & AFLv2" 2 | LIC_FILES_CHKSUM = "file://dojo-release-${PV}-src/dijit/LICENSE;md5=420b6319a08678ab5d97203953210ad3 \ 3 | file://dojo-release-${PV}-src/dojo/LICENSE;md5=420b6319a08678ab5d97203953210ad3 \ 4 | file://dojo-release-${PV}-src/dojox/LICENSE;md5=420b6319a08678ab5d97203953210ad3 \ 5 | file://dojo-release-${PV}-src/util/LICENSE;md5=420b6319a08678ab5d97203953210ad3" 6 | 7 | SRC_URI[md5sum] = "d070b0809f4ceeebc4fac340dea6a729" 8 | SRC_URI[sha256sum] = "6bd043a07534464c7dc8eb1f5fd2e65e869f058c7461ccc1a30871ac38c8cc6f" 9 | require recipes-devtools/dojo/dojosdk-native.inc 10 | -------------------------------------------------------------------------------- /recipes-devtools/dojo/dojosdk-native_1.8.1.bb: -------------------------------------------------------------------------------- 1 | LICENSE = "BSD-3-Clause & AFLv2" 2 | LIC_FILES_CHKSUM = "file://dojo-release-${PV}-src/dijit/LICENSE;md5=7a697b953bf9e661d81e8c23725526c8 \ 3 | file://dojo-release-${PV}-src/dojo/LICENSE;md5=7a697b953bf9e661d81e8c23725526c8 \ 4 | file://dojo-release-${PV}-src/dojox/LICENSE;md5=7a697b953bf9e661d81e8c23725526c8 \ 5 | file://dojo-release-${PV}-src/util/LICENSE;md5=7a697b953bf9e661d81e8c23725526c8" 6 | 7 | FILESEXTRAPATHS_prepend := "${THISDIR}/dojosdk-native-${PV}:" 8 | 9 | SRC_URI[md5sum] = "9b80b9a736b81c336accd832f3c3aea2" 10 | SRC_URI[sha256sum] = "a1a9d315ab3322539d997351b403325c7ab53164b18675a415020aa1525c2f83" 11 | require recipes-devtools/dojo/dojosdk-native.inc 12 | 13 | SRC_URI += "file://use-java-native-copy-rather-than-forking.patch;patch=1" 14 | -------------------------------------------------------------------------------- /recipes-devtools/gptfdisk/gptfdisk/fix-32-bit-overflow.patch: -------------------------------------------------------------------------------- 1 | diff --git a/diskio-unix.cc b/diskio-unix.cc 2 | index 7be0bbe..71b4387 100644 3 | --- a/diskio-unix.cc 4 | +++ b/diskio-unix.cc 5 | @@ -272,7 +272,7 @@ int DiskIO::DiskSync(void) { 6 | // Note that seeking beyond the end of the file is NOT detected as a failure! 7 | int DiskIO::Seek(uint64_t sector) { 8 | int retval = 1; 9 | - off_t seekTo, sought; 10 | + off64_t seekTo, sought; 11 | 12 | // If disk isn't open, try to open it.... 13 | if (!isOpen) { 14 | @@ -389,7 +389,7 @@ int DiskIO::Write(void* buffer, int numBytes) { 15 | // return correct values for disk image files. 16 | uint64_t DiskIO::DiskSize(int *err) { 17 | uint64_t sectors = 0; // size in sectors 18 | - off_t bytes = 0; // size in bytes 19 | + off64_t bytes = 0; // size in bytes 20 | struct stat64 st; 21 | int platformFound = 0; 22 | #ifdef __sun__ 23 | -------------------------------------------------------------------------------- /recipes-devtools/gptfdisk/gptfdisk_1.0.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI += " \ 4 | file://fix-32-bit-overflow.patch \ 5 | " 6 | -------------------------------------------------------------------------------- /recipes-devtools/opkg/opkg_0.4.%.bbappend: -------------------------------------------------------------------------------- 1 | PR .= ".1" 2 | 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/patches:" 4 | 5 | SRC_URI += "file://lock-cloexec.patch" 6 | -------------------------------------------------------------------------------- /recipes-devtools/opkg/patches/lock-cloexec.patch: -------------------------------------------------------------------------------- 1 | diff --git a/libopkg/opkg_conf.c b/libopkg/opkg_conf.c 2 | index aa2f8c7..ceafb6b 100644 3 | --- a/libopkg/opkg_conf.c 4 | +++ b/libopkg/opkg_conf.c 5 | @@ -546,7 +546,7 @@ static int opkg_lock() 6 | } 7 | free(lock_dir); 8 | 9 | - lock_fd = creat(opkg_config->lock_file, S_IRUSR | S_IWUSR | S_IRGRP); 10 | + lock_fd = creat(opkg_config->lock_file, S_IRUSR | S_IWUSR | S_IRGRP | O_CLOEXEC); 11 | if (lock_fd == -1) { 12 | opkg_perror(ERROR, "Could not create lock file %s", 13 | opkg_config->lock_file); 14 | -------------------------------------------------------------------------------- /recipes-devtools/python/files/remove-twine.patch: -------------------------------------------------------------------------------- 1 | --- a/setup.py 2020-09-26 14:44:12.247163928 -0400 2 | +++ b/setup.py 2020-09-26 14:44:21.307625611 -0400 3 | @@ -68,7 +68,6 @@ 4 | zip_safe=False, 5 | setup_requires=[ 6 | "docutils", 7 | - "twine", 8 | ], 9 | test_suite="setup.test_suite", 10 | tests_require=test_requirements, 11 | -------------------------------------------------------------------------------- /recipes-devtools/python/python3-daemon_2.2.4.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Python library to implement a well-behaved UNIX daemon process" 2 | HOMEPAGE = "https://pagure.io/python-daemon/" 3 | LICENSE = "Apache-2.0 & GPLv3" 4 | LIC_FILES_CHKSUM = "file://LICENSE.ASF-2;md5=3b83ef96387f14655fc854ddc3c6bd57 \ 5 | file://LICENSE.GPL-3;md5=d32239bcb673463ab874e80d47fae504" 6 | DEPENDS = "python3-docutils-native" 7 | 8 | SRC_URI[md5sum] = "922f2ce6ae9790994557c38faea75788" 9 | SRC_URI[sha256sum] = "57c84f50a04d7825515e4dbf3a31c70cc44414394a71608dee6cfde469e81766" 10 | SRC_URI += " \ 11 | file://remove-twine.patch \ 12 | " 13 | 14 | PYPI_PACKAGE = "python-daemon" 15 | inherit pypi setuptools3 16 | 17 | RDEPENDS_${PN} += " \ 18 | python3-io \ 19 | python3-resource \ 20 | " 21 | -------------------------------------------------------------------------------- /recipes-devtools/rsync/rsync_%.bbappend: -------------------------------------------------------------------------------- 1 | PACKAGECONFIG_append += "attr" 2 | -------------------------------------------------------------------------------- /recipes-devtools/strace/strace/ptest-spacesave.patch: -------------------------------------------------------------------------------- 1 | From 3fad4821d90cd264d1b94253b9cf4fdf5d4034b8 Mon Sep 17 00:00:00 2001 2 | From: Richard Purdie 3 | Date: Wed, 29 May 2019 00:10:32 +0100 4 | Subject: [PATCH] strace: Tweak ptest disk space management 5 | 6 | If the test is successful, remove the log and exp files. This stops strace 7 | using around 600MB of disk space and running our ptest images out of space. 8 | 9 | RP 2019/5/29 10 | 11 | Upstream-Status: Inappropriate [specific to OE image space issues] 12 | 13 | --- 14 | tests/gen_tests.sh | 1 + 15 | 1 file changed, 1 insertion(+) 16 | 17 | diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh 18 | index 3540204..5e1e7c9 100755 19 | --- a/tests/gen_tests.sh 20 | +++ b/tests/gen_tests.sh 21 | @@ -62,6 +62,7 @@ while read -r name arg0 args; do { 22 | $hdr 23 | . "\${srcdir=.}/init.sh" 24 | run_strace_match_diff $arg0 $args 25 | + rm -rf log exp 26 | EOF 27 | ;; 28 | 29 | -------------------------------------------------------------------------------- /recipes-devtools/strace/strace/run-ptest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export TIMEOUT_DURATION=240 3 | chown nobody tests 4 | chown nobody tests/* 5 | chown nobody ../ptest 6 | su nobody -c "make -B -C tests -k test-suite.log" 7 | -------------------------------------------------------------------------------- /recipes-devtools/strace/strace/uintptr_t.patch: -------------------------------------------------------------------------------- 1 | From a6c9366bfbcef6f3f4bb068b1f1a5623935b5013 Mon Sep 17 00:00:00 2001 2 | From: Khem Raj 3 | Date: Tue, 5 Nov 2019 20:05:08 -0800 4 | Subject: [PATCH] include stdint.h for getting uintptr_t definition 5 | 6 | fixes do_compile_ptest_base 7 | tests/fanotify_mark.c:191:23: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'? 8 | 9 | Upstream-Status: Pending 10 | Signed-off-by: Khem Raj 11 | 12 | --- 13 | tests/fanotify_mark.c | 1 + 14 | 1 file changed, 1 insertion(+) 15 | 16 | diff --git a/tests/fanotify_mark.c b/tests/fanotify_mark.c 17 | index aade643..de579f3 100644 18 | --- a/tests/fanotify_mark.c 19 | +++ b/tests/fanotify_mark.c 20 | @@ -18,6 +18,7 @@ 21 | 22 | # include 23 | # include 24 | +# include 25 | # include 26 | # include 27 | 28 | -------------------------------------------------------------------------------- /recipes-devtools/syslinux/files/bootmsg.txt: -------------------------------------------------------------------------------- 1 | 2 | 0fOpenXT $OPENXT_VERSION (Build $OPENXT_BUILD_ID) 3 | 4 | -------------------------------------------------------------------------------- /recipes-devtools/valgrind/valgrind_3.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/patches:" 2 | SRC_URI += " \ 3 | file://openxt-xen-4.3.patch \ 4 | " 5 | -------------------------------------------------------------------------------- /recipes-extended/ipxe/ipxe/early-debug.patch: -------------------------------------------------------------------------------- 1 | commit 612502d30abfdabb836cf0b15d02c1e0ee469526 2 | Author: Julian Pidancet 3 | Date: Mon Nov 14 13:20:24 2011 +0000 4 | 5 | iPXE: Send early debug on Xen debug port 6 | 7 | Index: src/arch/x86/prefix/libprefix.S 8 | =================================================================== 9 | --- src.orig/arch/x86/prefix/libprefix.S 10 | +++ src/arch/x86/prefix/libprefix.S 11 | @@ -79,6 +79,7 @@ print_character: 12 | pushw %ax 13 | pushw %bx 14 | pushw %bp 15 | + outb %al, $0xe9 16 | /* If %di is non-zero, write character to buffer and exit */ 17 | testw %di, %di 18 | jz 1f 19 | -------------------------------------------------------------------------------- /recipes-extended/ipxe/ipxe_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" 2 | 3 | SRC_URI += " \ 4 | file://0002-efi-Fix-sanity-check-in-dbg_efi_protocols.patch;striplevel=2 \ 5 | file://early-debug.patch \ 6 | file://xen-debug-output-driver.patch \ 7 | " 8 | 9 | LIC_FILES_CHKSUM = "file://../COPYING;md5=92be9bced83819c46c5ab272173c4aa7" 10 | 11 | EXTRA_OEMAKE_append = " HOST_CFLAGS='${BUILD_CFLAGS} ${BUILD_LDFLAGS}'" 12 | 13 | do_compile_append() { 14 | oe_runmake bin/intel.rom 15 | oe_runmake bin/82540em.rom 16 | } 17 | -------------------------------------------------------------------------------- /recipes-extended/libtirpc/libtirpc_%.bbappend: -------------------------------------------------------------------------------- 1 | CFLAGS += "-fPIC" 2 | -------------------------------------------------------------------------------- /recipes-extended/linux-input/files/99-wacom-serial.rules: -------------------------------------------------------------------------------- 1 | 2 | ACTION=="add|change", SUBSYSTEM=="tty", ATTRS{id}=="WACf*", RUN+="/usr/sbin/inputattach --daemon --wacom-384 /dev/$name" 3 | 4 | -------------------------------------------------------------------------------- /recipes-extended/linux-input/files/snes232.patch: -------------------------------------------------------------------------------- 1 | --- a/inputattach.c 2018-02-19 10:40:19.715360299 -0500 2 | +++ b/inputattach.c 2018-02-19 10:42:18.615363400 -0500 3 | @@ -789,6 +789,9 @@ 4 | { "--twiddler-joy", "-twidjoy", "Handykey Twiddler used as a joystick", 5 | B2400, CS8, 6 | SERIO_TWIDJOY, 0x00, 0x00, 0, twiddler_init }, 7 | +{ "--snes232", "-pad", "snes232", 8 | + B115200, CS8, 9 | + SERIO_SNES232, 0x00, 0x00, 0, NULL }, 10 | #ifdef SERIO_EGALAX 11 | { "--eetiegalax", "-eeti", "EETI eGalaxTouch", 12 | B9600, CS8, 13 | -------------------------------------------------------------------------------- /recipes-extended/linux-input/linux-input_1.6.0.bb: -------------------------------------------------------------------------------- 1 | SRC_URI = "https://download.sourceforge.net/project/linuxconsole/linuxconsoletools-${PV}.tar.bz2 \ 2 | file://snes232.patch \ 3 | file://99-wacom-serial.rules \ 4 | " 5 | 6 | SRC_URI[md5sum] = "fd52fa4a81455eb95a6c81efb087ce98" 7 | SRC_URI[sha256sum] = "ced2efed00b67b45f82eddc69be07385835d558f658016315ac621fe2eaa8146" 8 | 9 | LICENSE = "GPLv2+" 10 | LIC_FILES_CHKSUM = "file://inputattach.c;beginline=18;endline=33;md5=cddf4f732a5c3cf90f973c746407781c" 11 | 12 | S = "${WORKDIR}/linuxconsoletools-${PV}/utils" 13 | 14 | do_compile() { 15 | oe_runmake inputattach 16 | } 17 | 18 | do_install() { 19 | install -d ${D}${sbindir} 20 | install inputattach ${D}${sbindir} 21 | install -d ${D}/etc/udev/rules.d 22 | install -c -m 655 ${WORKDIR}/99-wacom-serial.rules ${D}/etc/udev/rules.d/ 23 | } 24 | -------------------------------------------------------------------------------- /recipes-extended/logrotate/files/logrotate-wrapper: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | logrotate /etc/logrotate.conf -s /tmp/logrotate.state 3 | -------------------------------------------------------------------------------- /recipes-extended/logrotate/files/logrotate.conf: -------------------------------------------------------------------------------- 1 | # see "man logrotate" for details 2 | 3 | create 4 | ifempty 5 | nodelaycompress 6 | 7 | # ipk packages should drop log rotation information into this directory 8 | include /etc/logrotate.d 9 | -------------------------------------------------------------------------------- /recipes-extended/logrotate/logrotate_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | 3 | SRC_URI += " \ 4 | file://logrotate.conf \ 5 | file://logrotate-wrapper \ 6 | " 7 | 8 | # Do not ship logrotate.status file, wrapper will create it in /tmp as domains are RO... 9 | CONFFILES_${PN} = " \ 10 | ${sysconfdir}/logrotate.conf \ 11 | " 12 | # ... also install our configuration and wrapper (for rsyslog). 13 | do_install_append() { 14 | rm -f ${D}${localstatedir}/lib/logrotate.status 15 | install -p -m 644 ${WORKDIR}/logrotate.conf ${D}${sysconfdir}/logrotate.conf 16 | install -p -m 755 ${WORKDIR}/logrotate-wrapper ${D}${sbindir}/logrotate-wrapper 17 | } 18 | 19 | INSANE_SKIP_${PN} = "src-uri-bad" 20 | -------------------------------------------------------------------------------- /recipes-extended/monit/monit/dom0-cfg: -------------------------------------------------------------------------------- 1 | # Override the defaults in monitrc 2 | set daemon 2 # check services at 2 seconds intervals 3 | with start delay 12 # Avoid racing with vglass start up 4 | 5 | # Move to volatile space 6 | set idfile /var/lib/monit/id 7 | set statefile /var/lib/monit/state 8 | set eventqueue 9 | basedir /var/lib/monit/events 10 | slots 100 11 | -------------------------------------------------------------------------------- /recipes-extended/monit/monit/volatiles: -------------------------------------------------------------------------------- 1 | l root root 0755 /var/lib/monit /var/volatile/monit 2 | d root root 0755 /var/lib/monit none 3 | -------------------------------------------------------------------------------- /recipes-extended/monit/monit_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | 3 | # In dom0, monit controls vglass, so we only want monit to run in 4 | # runlevel 5, which matches vglass, disman & ivcdaemon. 5 | INITSCRIPT_PARAMS_${PN}_xenclient-dom0 = "start 99 5 . stop 01 0 1 2 3 4 6 ." 6 | 7 | SRC_URI += " \ 8 | file://volatiles \ 9 | " 10 | 11 | SRC_URI_append_xenclient-dom0 = " \ 12 | file://dom0-cfg \ 13 | " 14 | 15 | do_install_append() { 16 | install -d -m 700 ${D}${sysconfdir}/default/volatiles 17 | install -m 600 ${WORKDIR}/volatiles \ 18 | ${D}${sysconfdir}/default/volatiles/50_monit 19 | } 20 | 21 | do_install_append_xenclient-dom0() { 22 | install -d -m 700 ${D}${sysconfdir}/monit.d/ 23 | install -m 600 ${WORKDIR}/dom0-cfg ${D}${sysconfdir}/monit.d/ 24 | } 25 | -------------------------------------------------------------------------------- /recipes-extended/newt/libnewt_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI += " \ 4 | file://security-flags.patch \ 5 | " 6 | -------------------------------------------------------------------------------- /recipes-extended/pam/libpam_1.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/patches:${THISDIR}/libpam:" 2 | 3 | SRC_URI += " \ 4 | file://etc-config-passwd.patch \ 5 | " 6 | -------------------------------------------------------------------------------- /recipes-extended/polkit/polkit_%.bbappend: -------------------------------------------------------------------------------- 1 | USERADD_PARAM_${PN}_prepend = "-s /bin/false " 2 | -------------------------------------------------------------------------------- /recipes-extended/qemu-dm/qemu-dm-stubdom.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "QEMU hosted virtual machine monitor for stub-domain." 2 | 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/qemu-dm:" 4 | 5 | require qemu-dm.inc 6 | 7 | EXTRA_OECONF += " --audio-drv-list=openxt --enable-openxt-stubdom " 8 | 9 | PR = "${INC_PR}.9" 10 | -------------------------------------------------------------------------------- /recipes-extended/qemu-dm/qemu-dm.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "QEMU hosted virtual machine monitor." 2 | 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 4 | 5 | require qemu-dm.inc 6 | 7 | SRC_URI += "\ 8 | file://qemu-dm-wrapper \ 9 | " 10 | 11 | EXTRA_OECONF += " --audio-drv-list=alsa " 12 | 13 | PR = "${INC_PR}.6" 14 | 15 | do_install_append() { 16 | install -m 0755 ${WORKDIR}/qemu-dm-wrapper ${D}${bindir} 17 | } 18 | -------------------------------------------------------------------------------- /recipes-extended/qemu-dm/qemu-dm/ac97-compatibility.patch: -------------------------------------------------------------------------------- 1 | Add ac97 alias 2 | 3 | libxl changed from supplying "-soundhw" to "-device" in commit 4 | e85e2a3c17b6 "tools/libxl: Replace deprecated -soundhw on QEMU command 5 | line". However, QEMU expects the uppercase "-device AC97" whereas libxl 6 | supplies lowercase "-device ac97", which matches the old -soundhw 7 | option. QEMU ~5.1 added a compatibility alias in commit 2957f5ada751 8 | "audio: deprecate -soundhw ac97". Backport a minimal compatibility 9 | alias. 10 | 11 | Without the alias, qemu fails to start with: 12 | -device ac97: 'ac97' is not a valid device model name 13 | 14 | --- a/qdev-monitor.c 15 | +++ b/qdev-monitor.c 16 | @@ -48,6 +48,7 @@ typedef struct QDevAlias 17 | 18 | /* Please keep this table sorted by typename. */ 19 | static const QDevAlias qdev_alias_table[] = { 20 | + { "AC97", "ac97" }, /* -soundhw name */ 21 | { "e1000", "e1000-82540em" }, 22 | { "ich9-ahci", "ahci" }, 23 | { "lsi53c895a", "lsi" }, 24 | -------------------------------------------------------------------------------- /recipes-extended/qemu-dm/qemu-dm/set-blockdev-ro.patch: -------------------------------------------------------------------------------- 1 | Author: Chris Rogers 2 | Date: Tue Apr 18 16:23:47 2017 -0400 3 | 4 | Support swapping isos in virtual cd drive 5 | 6 | while guest is on. Make sure we set readonly flags for blockdev 7 | in qemu when set to 'preserved'. Attempting to open xvdc fails 8 | because open flags have writable set. 9 | 10 | OXT-1068 11 | 12 | Signed-off-by: Chris Rogers 13 | 14 | --- a/blockdev.c 15 | +++ b/blockdev.c 16 | @@ -2666,6 +2666,7 @@ void qmp_blockdev_change_medium(bool has 17 | 18 | switch (read_only) { 19 | case BLOCKDEV_CHANGE_READ_ONLY_MODE_RETAIN: 20 | + bdrv_flags &= ~BDRV_O_RDWR; 21 | break; 22 | 23 | case BLOCKDEV_CHANGE_READ_ONLY_MODE_READ_ONLY: 24 | -------------------------------------------------------------------------------- /recipes-extended/rsyslog/files/rsyslog.logrotate: -------------------------------------------------------------------------------- 1 | /var/log/messages { 2 | compress 3 | rotate 2 4 | create 0644 root root 5 | size 20M 6 | postrotate 7 | /etc/init.d/syslog reload 8 | endscript 9 | } 10 | -------------------------------------------------------------------------------- /recipes-extended/rsyslog/rsyslog-conf-dom0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "db tools" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM="file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | inherit allarch 6 | 7 | SRC_URI = "file://rsyslog.conf" 8 | 9 | RPROVIDES_${PN} = "rsyslog-conf" 10 | RCONFLICTS_${PN} = "rsyslog-conf" 11 | 12 | CONFFILES_${PN} = "${sysconfdir}/rsyslog.conf" 13 | 14 | do_install() { 15 | install -d ${D}${sysconfdir} 16 | install -m 644 ${WORKDIR}/rsyslog.conf ${D}${sysconfdir} 17 | } 18 | -------------------------------------------------------------------------------- /recipes-extended/rsyslog/rsyslog_%.bbappend: -------------------------------------------------------------------------------- 1 | # Fetch our configuration files. 2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:${THISDIR}/patches:" 3 | 4 | PACKAGES =+ "${PN}-conf" 5 | RRECOMMENDS_${PN} += "${PN}-conf" 6 | 7 | RSYSLOG_CONF = "${sysconfdir}/rsyslog.conf" 8 | CONFFILES_${PN}-conf += "${RSYSLOG_CONF}" 9 | FILES_${PN}-conf = "${RSYSLOG_CONF}" 10 | -------------------------------------------------------------------------------- /recipes-extended/seabios/seabios_1.13.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/patches:" 2 | 3 | SRC_URI += " \ 4 | file://halt-if-no-bootable.patch \ 5 | file://xci-cpuid-signature.patch \ 6 | file://amd-gpu-support.patch \ 7 | file://only-boot-selected-devices.patch \ 8 | file://gpu-pt-page-align-sections.patch \ 9 | file://avoid-iPXE-rom-init-when-not-required.patch \ 10 | file://hvmloader-predeployed-optionrom.patch \ 11 | file://defconfig \ 12 | " 13 | 14 | do_configure() { 15 | echo "${PV}" > .version 16 | cp "${WORKDIR}/defconfig" ${B}/.config 17 | oe_runmake oldconfig 18 | } 19 | -------------------------------------------------------------------------------- /recipes-extended/vgabios/vgabios_0.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" 2 | SRC_URI += " \ 3 | file://xen-fix-vbe-size-computation-overflow.patch \ 4 | file://xen-fix-vbe-unsupported-mode.patch \ 5 | file://xen-reduce-stack-usage.patch \ 6 | file://xen-vbe-check-supported-vesa-mode.patch \ 7 | file://xen-fix-vbe-win8.patch \ 8 | file://xen-fix-print-format.patch \ 9 | file://xen-log-to-ioport-0xe9.patch \ 10 | file://vbe-extended-edid-modes.patch \ 11 | " 12 | 13 | do_install_append() { 14 | install -m 0644 VGABIOS-lgpl-latest.debug.bin ${D}${datadir}/firmware/${BPN}-${PV}.debug.bin 15 | install -m 0644 VGABIOS-lgpl-latest.cirrus.debug.bin ${D}${datadir}/firmware/${BPN}-${PV}.cirrus.debug.bin 16 | } 17 | -------------------------------------------------------------------------------- /recipes-extended/xen/blktap3/drop-rd-defs.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/tapdisk-blktap.c 2 | +++ b/drivers/tapdisk-blktap.c 3 | @@ -61,12 +61,6 @@ 4 | #define WARN(_f, _a...) tlog_syslog(TLOG_WARN, "WARNING: "_f "in %s:%d", \ 5 | ##_a, __func__, __LINE__) 6 | 7 | -#define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) 8 | -#define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) 9 | -#define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>>4)<<4 : __RD4(_x)) 10 | -#define __RD16(_x) (((_x) & 0x0000ff00) ? __RD8((_x)>>8)<<8 : __RD8(_x)) 11 | -#define __RD32(_x) (((_x) & 0xffff0000) ? __RD16((_x)>>16)<<16 : __RD16(_x)) 12 | - 13 | #define BLKTAP_RD32(_n) __RD32(_n) 14 | #define BLKTAP_RING_SIZE __BLKTAP_RING_SIZE(PAGE_SIZE) 15 | 16 | -------------------------------------------------------------------------------- /recipes-extended/xen/blktap3/fix-cbt.patch: -------------------------------------------------------------------------------- 1 | --- a/cbt/Makefile.am 2 | +++ b/cbt/Makefile.am 3 | @@ -9,9 +9,10 @@ sbin_PROGRAMS = cbt-util 4 | noinst_LTLIBRARIES = libcbtutil.la 5 | 6 | libcbtutil_la_SOURCES = cbt-util.c 7 | +libcbtutil_la_LIBADD= -luuid 8 | 9 | cbt_util_SOURCES = main.c 10 | -cbt_util_LDADD = -lrt -luuid libcbtutil.la 11 | +cbt_util_LDADD = -lrt libcbtutil.la 12 | 13 | clean-local: 14 | -rm -rf *.gc?? 15 | -------------------------------------------------------------------------------- /recipes-extended/xen/blktap3/gcc9-compilation.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/tapdisk-control.c 2 | +++ b/drivers/tapdisk-control.c 3 | @@ -1106,7 +1106,7 @@ static int 4 | tapdisk_control_stats(struct tapdisk_ctl_conn *conn, 5 | tapdisk_message_t *request, tapdisk_message_t * const response) 6 | { 7 | - td_stats_t _st, *st = &_st; 8 | + td_stats_t _st = { 0 }, *st = &_st; 9 | td_vbd_t *vbd; 10 | ssize_t rv; 11 | void *buf; 12 | -------------------------------------------------------------------------------- /recipes-extended/xen/blktap3/openssl-1.1.x.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/block-crypto.c 2 | +++ b/drivers/block-crypto.c 3 | @@ -133,7 +133,7 @@ find_keyfile(char **keyfile, const char 4 | *keyfile = NULL; 5 | 6 | while (dirs && strlen(dirs) > 0) { 7 | - char keydir[256] = { 0 }, path[256] = { 0 }; 8 | + char keydir[256] = { 0 }, path[277] = { 0 }; 9 | struct stat st; 10 | int err; 11 | 12 | -------------------------------------------------------------------------------- /recipes-extended/xen/files/add-xc-hypercall-page.patch: -------------------------------------------------------------------------------- 1 | --- a/xen/arch/x86/guest/xen/hypercall_page.S 2 | +++ b/xen/arch/x86/guest/xen/hypercall_page.S 3 | @@ -60,6 +60,8 @@ DECLARE_HYPERCALL(domctl) 4 | DECLARE_HYPERCALL(kexec_op) 5 | DECLARE_HYPERCALL(argo_op) 6 | DECLARE_HYPERCALL(xenpmu_op) 7 | +DECLARE_HYPERCALL(dm_op) 8 | +DECLARE_HYPERCALL(txt_op) 9 | 10 | DECLARE_HYPERCALL(arch_0) 11 | DECLARE_HYPERCALL(arch_1) 12 | -------------------------------------------------------------------------------- /recipes-extended/xen/files/efi-hardcode-openxt-cfg.patch: -------------------------------------------------------------------------------- 1 | From be6b72707a8b8a213a9bbe660d2fecde30f10cb7 Mon Sep 17 00:00:00 2001 2 | From: Tamas K Lengyel 3 | Date: Sun, 4 Feb 2018 11:49:09 -0700 4 | Subject: [PATCH 1/3] Hardcode openxt.cfg as EFI config file 5 | 6 | --- 7 | xen/common/efi/boot.c | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | --- a/xen/common/efi/boot.c 11 | +++ b/xen/common/efi/boot.c 12 | @@ -1137,7 +1137,7 @@ efi_start(EFI_HANDLE ImageHandle, EFI_SY 13 | EFI_LOADED_IMAGE *loaded_image; 14 | EFI_STATUS status; 15 | unsigned int i, argc; 16 | - CHAR16 **argv, *file_name, *cfg_file_name = NULL, *options = NULL; 17 | + CHAR16 **argv, *file_name, *cfg_file_name = L"openxt.cfg", *options = NULL; 18 | UINTN gop_mode = ~0; 19 | EFI_SHIM_LOCK_PROTOCOL *shim_lock; 20 | EFI_GRAPHICS_OUTPUT_PROTOCOL *gop = NULL; 21 | -------------------------------------------------------------------------------- /recipes-extended/xen/files/efi-load-options-no-default-image-name.patch: -------------------------------------------------------------------------------- 1 | --- a/xen/arch/x86/efi/efi-boot.h 2 | +++ b/xen/arch/x86/efi/efi-boot.h 3 | @@ -760,10 +760,8 @@ static void __init efi_arch_handle_cmdli 4 | { 5 | name.w = image_name; 6 | w2s(&name); 7 | + place_string(&mbi.cmdline, name.s); 8 | } 9 | - else 10 | - name.s = "xen"; 11 | - place_string(&mbi.cmdline, name.s); 12 | 13 | if ( mbi.cmdline ) 14 | mbi.flags |= MBI_CMDLINE; 15 | -------------------------------------------------------------------------------- /recipes-extended/xen/files/libxl-add-xen-acpi-pm.patch: -------------------------------------------------------------------------------- 1 | libxl: Add -xen-acpi-pm for acpi support 2 | 3 | This enables OpenXT's enhanced ACPI support for the VM. Notably, this 4 | provides the hvm-powerbutton-enable xenstore entry for the stubdom which 5 | lets xenmgr issue powerbutton press shutdowns. 6 | 7 | --- a/tools/libs/light/libxl_dm.c 8 | +++ b/tools/libs/light/libxl_dm.c 9 | @@ -1539,6 +1539,8 @@ static int libxl__build_device_model_arg 10 | } 11 | if (!libxl__acpi_defbool_val(b_info)) { 12 | flexarray_append(dm_args, "-no-acpi"); 13 | + } else { 14 | + flexarray_append(dm_args, "-xen-acpi-pm"); 15 | } 16 | if (b_info->max_vcpus > 1) { 17 | flexarray_append(dm_args, "-smp"); 18 | -------------------------------------------------------------------------------- /recipes-extended/xen/files/libxl-block-scripts-log-to-syslog.patch: -------------------------------------------------------------------------------- 1 | --- a/tools/hotplug/Linux/xen-hotplug-common.sh.in 2 | +++ b/tools/hotplug/Linux/xen-hotplug-common.sh.in 3 | @@ -20,8 +20,6 @@ dir=$(dirname "$0") 4 | . "$dir/xen-script-common.sh" 5 | . "$dir/locking.sh" 6 | 7 | -exec 2>>@XEN_LOG_DIR@/xen-hotplug.log 8 | - 9 | export PATH="${bindir}:${sbindir}:${LIBEXEC_BIN}:/sbin:/bin:/usr/bin:/usr/sbin:$PATH" 10 | export LD_LIBRARY_PATH="${libdir}${LD_LIBRARY_PATH+:}$LD_LIBRARY_PATH" 11 | export LANG="POSIX" 12 | -------------------------------------------------------------------------------- /recipes-extended/xen/files/ocaml-makefiles-sysroot.patch: -------------------------------------------------------------------------------- 1 | Index: git/tools/ocaml/common.make 2 | =================================================================== 3 | --- git.orig/tools/ocaml/common.make 4 | +++ git/tools/ocaml/common.make 5 | @@ -12,7 +12,7 @@ OCAMLFIND ?= ocamlfind 6 | CFLAGS += -fPIC -Werror -I$(shell ocamlc -where) 7 | 8 | OCAMLOPTFLAG_G := $(shell $(OCAMLOPT) -h 2>&1 | sed -n 's/^ *\(-g\) .*/\1/p') 9 | -OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc $(CC) -w F -warn-error F 10 | +OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc "$(CC)" -w F -warn-error F 11 | OCAMLCFLAGS += -g $(OCAMLINCLUDE) -w F -warn-error F 12 | 13 | VERSION := 4.1 14 | -------------------------------------------------------------------------------- /recipes-extended/xen/files/xl.conf: -------------------------------------------------------------------------------- 1 | ## Global XL config file ## 2 | # see xl.conf(5) for details. 3 | -------------------------------------------------------------------------------- /recipes-extended/xen/xen-tools_git.bbappend: -------------------------------------------------------------------------------- 1 | SRCREV = "${AUTOREV}" 2 | XEN_REL = "4.18" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9" 4 | 5 | # OpenXT's Xen recipes share a common patchqueue so reset SRC_URI 6 | SRC_URI = "git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH}" 7 | 8 | require xen-common.inc 9 | require xen-tools-openxt.inc 10 | 11 | # Workaround for setuptools3 overriding autotools-brokensep 12 | B = "${S}" 13 | 14 | DEFAULT_PREFERENCE = "1" 15 | 16 | PACKAGES += "vchan-socket-proxy" 17 | FILES_vchan-socket-proxy = " \ 18 | ${bindir}/vchan-socket-proxy \ 19 | " 20 | RDEPENDS_${PN}-libxenlight += "vchan-socket-proxy" 21 | -------------------------------------------------------------------------------- /recipes-extended/xen/xen-xsm-policy_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XSM Policy" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM="file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | DEPENDS += "checkpolicy-native" 5 | 6 | XEN_REL ?= "4.18" 7 | PV = "${XEN_REL}+git${SRCPV}" 8 | 9 | SRCREV = "${AUTOREV}" 10 | SRC_URI = "git://github.com/OpenXT/xsm-policy.git;protocol=https" 11 | 12 | S = "${WORKDIR}/git" 13 | 14 | FILES_${PN} += "/etc/xen/refpolicy/policy/policy.24" 15 | 16 | EXTRA_OEMAKE = " -j 1 " 17 | 18 | do_compile(){ 19 | oe_runmake DESTDIR=${D} BINDIR=${STAGING_BINDIR_NATIVE} 20 | } 21 | 22 | do_install(){ 23 | mkdir -p ${D}/etc/xen/xenrefpolicy/users/ 24 | touch ${D}/etc/xen/xenrefpolicy/users/system.users 25 | touch ${D}/etc/xen/xenrefpolicy/users/local.users 26 | oe_runmake DESTDIR=${D} BINDIR=${STAGING_BINDIR_NATIVE} install 27 | } 28 | -------------------------------------------------------------------------------- /recipes-extended/xen/xen_git.bbappend: -------------------------------------------------------------------------------- 1 | SRCREV = "${AUTOREV}" 2 | XEN_REL = "4.18" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9" 4 | 5 | # OpenXT's Xen recipes share a common patchqueue so reset SRC_URI 6 | SRC_URI = "git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH}" 7 | 8 | require xen-common.inc 9 | require xen-openxt.inc 10 | 11 | DEFAULT_PREFERENCE = "1" 12 | -------------------------------------------------------------------------------- /recipes-graphics/xorg-app/xterm_%.bbappend: -------------------------------------------------------------------------------- 1 | # Enable TrueType fonts 2 | PACKAGECONFIG += "xft" 3 | 4 | do_configure_prepend() { 5 | echo >> ${S}/XTerm.ad 6 | echo '*metaSendsEscape: true' >> ${S}/XTerm.ad 7 | echo '*eightBitInput: false' >> ${S}/XTerm.ad 8 | 9 | echo >> ${S}/XTerm-col.ad 10 | echo '*metaSendsEscape: true' >> ${S}/XTerm-col.ad 11 | echo '*eightBitInput: false' >> ${S}/XTerm-col.ad 12 | } 13 | -------------------------------------------------------------------------------- /recipes-graphics/xorg-xserver/xserver-xf86-config/xenclient-uivm/xorg.conf: -------------------------------------------------------------------------------- 1 | # Xorg configuration for UIVM. 2 | 3 | Section "ServerFlags" 4 | Option "DontZap" "true" 5 | Option "DontVTSwitch" "true" 6 | Option "BlankTime" "0" 7 | Option "StandbyTime" "0" 8 | Option "SuspendTime" "0" 9 | Option "OffTime" "0" 10 | EndSection 11 | 12 | Section "Device" 13 | Identifier "openxtfb" 14 | Driver "openxtfb" 15 | EndSection 16 | -------------------------------------------------------------------------------- /recipes-graphics/xorg-xserver/xserver-xf86-config_0.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" 2 | SRC_URI += "file://xorg.conf" 3 | -------------------------------------------------------------------------------- /recipes-kernel/ivc/kernel-module-ivc_git.bbappend: -------------------------------------------------------------------------------- 1 | inherit module-signing 2 | -------------------------------------------------------------------------------- /recipes-kernel/linux-firmware/linux-firmware_%.bbappend: -------------------------------------------------------------------------------- 1 | # Extended existing 2 | FILES_${PN}-bnx2 += " \ 3 | ${nonarch_base_libdir}/firmware/bnx2/bnx2-mips*.fw \ 4 | ${nonarch_base_libdir}/firmware/bnx2/bnx2-rv2p*.fw \ 5 | " 6 | RDEPENDS_${PN}-bnx2 = "${PN}-bnx2-mips" 7 | 8 | FILES_${PN}-iwlwifi-misc += " \ 9 | ${nonarch_base_libdir}/firmware/iwlwifi-*pnvm* \ 10 | " 11 | 12 | # New 13 | FILES_${PN}-bnx2x = " \ 14 | ${nonarch_base_libdir}/firmware/bnx2x/bnx2x*.fw \ 15 | " 16 | LICENSE_${PN}-bnx2x = "WHENCE" 17 | 18 | PACKAGE_BEFORE_PN += "${PN}-bnx2x ${PN}-bnx2" 19 | -------------------------------------------------------------------------------- /recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb: -------------------------------------------------------------------------------- 1 | KORG_ARCHIVE_COMPRESSION = "xz" 2 | 3 | # Use openembedded-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc 4 | require recipes-kernel/linux-libc-headers/linux-libc-headers.inc 5 | 6 | # Hack to get the -rc* libc-headers. 7 | SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.${KORG_ARCHIVE_COMPRESSION}" 8 | 9 | S = "${WORKDIR}/linux-${PV}" 10 | 11 | SRC_URI[md5sum] = "bacdb9ffdcd922aa069a5e1520160e24" 12 | SRC_URI[sha256sum] = "f81d59477e90a130857ce18dc02f4fbe5725854911db1e7ba770c7cd350f96a7" 13 | -------------------------------------------------------------------------------- /recipes-kernel/linux-libc-headers/linux-libc-headers_4.19.bb: -------------------------------------------------------------------------------- 1 | KORG_ARCHIVE_COMPRESSION = "xz" 2 | 3 | # Use openembedded-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc 4 | require recipes-kernel/linux-libc-headers/linux-libc-headers.inc 5 | 6 | # Hack to get the -rc* libc-headers. 7 | SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.${KORG_ARCHIVE_COMPRESSION}" 8 | 9 | S = "${WORKDIR}/linux-${PV}" 10 | 11 | DEPENDS = "flex-native bison-native" 12 | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" 14 | 15 | SRC_URI[md5sum] = "740a90cf810c2105df8ee12e5d0bb900" 16 | SRC_URI[sha256sum] = "0c68f5655528aed4f99dae71a5b259edc93239fa899e2df79c055275c21749a1" 17 | -------------------------------------------------------------------------------- /recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb: -------------------------------------------------------------------------------- 1 | KORG_ARCHIVE_COMPRESSION = "xz" 2 | 3 | # Use openembedded-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc 4 | require recipes-kernel/linux-libc-headers/linux-libc-headers.inc 5 | 6 | # Hack to get the -rc* libc-headers. 7 | SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.${KORG_ARCHIVE_COMPRESSION}" 8 | 9 | S = "${WORKDIR}/linux-${PV}" 10 | 11 | SRC_URI[md5sum] = "0a68ef3615c64bd5ee54a3320e46667d" 12 | SRC_URI[sha256sum] = "029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a" 13 | -------------------------------------------------------------------------------- /recipes-kernel/linux-libc-headers/linux-libc-headers_5.10.bb: -------------------------------------------------------------------------------- 1 | KORG_ARCHIVE_COMPRESSION = "xz" 2 | 3 | # Use openembedded-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc 4 | require recipes-kernel/linux-libc-headers/linux-libc-headers.inc 5 | 6 | # Hack to get the -rc* libc-headers. 7 | SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.${KORG_ARCHIVE_COMPRESSION}" 8 | 9 | S = "${WORKDIR}/linux-${PV}" 10 | 11 | DEPENDS = "flex-native bison-native" 12 | DEPENDS += "rsync-native" 13 | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" 15 | 16 | SRC_URI[md5sum] = "753adc474bf799d569dec4f165ed92c3" 17 | SRC_URI[sha256sum] = "dcdf99e43e98330d925016985bfbc7b83c66d367b714b2de0cbbfcbf83d8ca43" 18 | -------------------------------------------------------------------------------- /recipes-kernel/linux-libc-headers/linux-libc-headers_5.15.bb: -------------------------------------------------------------------------------- 1 | KORG_ARCHIVE_COMPRESSION = "xz" 2 | 3 | # Use openembedded-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc 4 | require recipes-kernel/linux-libc-headers/linux-libc-headers.inc 5 | 6 | # Hack to get the -rc* libc-headers. 7 | SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.${KORG_ARCHIVE_COMPRESSION}" 8 | 9 | S = "${WORKDIR}/linux-${PV}" 10 | 11 | DEPENDS = "flex-native bison-native" 12 | DEPENDS += "rsync-native" 13 | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" 15 | 16 | SRC_URI[md5sum] = "071d49ff4e020d58c04f9f3f76d3b594" 17 | SRC_URI[sha256sum] = "57b2cf6991910e3b67a1b3490022e8a0674b6965c74c12da1e99d138d1991ee8" 18 | -------------------------------------------------------------------------------- /recipes-kernel/linux-libc-headers/linux-libc-headers_5.4.bb: -------------------------------------------------------------------------------- 1 | KORG_ARCHIVE_COMPRESSION = "xz" 2 | 3 | # Use openembedded-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc 4 | require recipes-kernel/linux-libc-headers/linux-libc-headers.inc 5 | 6 | # Hack to get the -rc* libc-headers. 7 | SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.${KORG_ARCHIVE_COMPRESSION}" 8 | 9 | S = "${WORKDIR}/linux-${PV}" 10 | 11 | DEPENDS = "flex-native bison-native" 12 | DEPENDS += "rsync-native" 13 | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" 15 | 16 | SRC_URI[md5sum] = "ce9b2d974d27408a61c53a30d3f98fb9" 17 | SRC_URI[sha256sum] = "bf338980b1670bca287f9994b7441c2361907635879169c64ae78364efc5f491" 18 | -------------------------------------------------------------------------------- /recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb: -------------------------------------------------------------------------------- 1 | KORG_ARCHIVE_COMPRESSION = "xz" 2 | 3 | # Use openembedded-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc 4 | require recipes-kernel/linux-libc-headers/linux-libc-headers.inc 5 | 6 | # Hack to get the -rc* libc-headers. 7 | SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v6.x/linux-${PV}.tar.${KORG_ARCHIVE_COMPRESSION}" 8 | 9 | S = "${WORKDIR}/linux-${PV}" 10 | 11 | DEPENDS = "flex-native bison-native" 12 | DEPENDS += "rsync-native" 13 | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" 15 | 16 | SRC_URI[md5sum] = "475320de08f16c9fa486fc4edfe98b30" 17 | SRC_URI[sha256sum] = "2ca1f17051a430f6fed1196e4952717507171acfd97d96577212502703b25deb" 18 | -------------------------------------------------------------------------------- /recipes-kernel/linux/6.1/patches/netback-vwif-support.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/net/xen-netback/xenbus.c 2 | +++ b/drivers/net/xen-netback/xenbus.c 3 | @@ -1158,6 +1158,7 @@ fail: 4 | 5 | static const struct xenbus_device_id netback_ids[] = { 6 | { "vif" }, 7 | + { "vwif" }, 8 | { "" } 9 | }; 10 | 11 | -------------------------------------------------------------------------------- /recipes-kernel/linux/linux-openxt-copy-objtool.inc: -------------------------------------------------------------------------------- 1 | # Backport from upstream commit to attend 4.14 and later kernels and 2 | # out-of-tree modules: 3 | # https://patchwork.openembedded.org/patch/148047/ 4 | do_shared_workdir_append () { 5 | # With CONFIG_UNWINDER_ORC (the default in 4.14), objtool is required for 6 | # out-of-tree modules to be able to generate object files. 7 | if [ -x tools/objtool/objtool ]; then 8 | mkdir -p ${kerneldir}/tools/objtool 9 | cp tools/objtool/objtool ${kerneldir}/tools/objtool/ 10 | fi 11 | } 12 | -------------------------------------------------------------------------------- /recipes-kernel/linux/linux-openxt.inc: -------------------------------------------------------------------------------- 1 | require recipes-kernel/linux/linux-openxt-copy-objtool.inc 2 | require classes/kernel-module-signing.bbclass 3 | 4 | DEPENDS += "bc-native" 5 | 6 | S = "${WORKDIR}/linux-${PV}" 7 | 8 | # Don't use update-alternatives for kernel at all. 9 | pkg_postinst_kernel-image () { 10 | mv $D/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION} $D/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} 11 | } 12 | 13 | pkg_postrm_kernel-image () { 14 | rm -f $D/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} 15 | } 16 | -------------------------------------------------------------------------------- /recipes-kernel/openxtfb/kernel-module-openxtfb_git.bbappend: -------------------------------------------------------------------------------- 1 | inherit module-signing 2 | 3 | KERNEL_MODULE_AUTOLOAD_append_xenclient-uivm += "openxtfb" 4 | -------------------------------------------------------------------------------- /recipes-kernel/openxtfb/kernel-module-pv-display-helper_git.bbappend: -------------------------------------------------------------------------------- 1 | inherit module-signing 2 | -------------------------------------------------------------------------------- /recipes-openxt/argo-exec/argo-exec/argo-input-receiver: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | port="$1" 4 | shift 5 | 6 | exec argo-exec -l -p "$port" -- input-proxy-receiver "$@" 2>&1 | logger -t argo-input-receiver & 7 | -------------------------------------------------------------------------------- /recipes-openxt/argo-exec/argo-exec/argo-input-receiver.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | OPTS="--mouse --keyboard --tablet" 4 | port=7777 5 | 6 | start() { 7 | argo-input-receiver "$port" $OPTS & 8 | } 9 | 10 | 11 | stop() { 12 | pkill argo-exec 13 | } 14 | 15 | case "$1" in 16 | start) 17 | start 18 | ;; 19 | stop) 20 | stop 21 | ;; 22 | restart) 23 | stop 24 | start 25 | ;; 26 | *) 27 | echo "Unknown command $1" >&2 28 | exit 1; 29 | ;; 30 | esac 31 | 32 | exit 0 33 | -------------------------------------------------------------------------------- /recipes-openxt/argo-exec/argo-exec/argo-input-sender: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | event=$1 4 | domain=0 5 | port=7777 6 | 7 | exec argo-exec -d "$domain" -p "$port" -- input-proxy-sender /dev/input/${event} 2>&1 | logger -t argo-input-sender & 8 | -------------------------------------------------------------------------------- /recipes-openxt/argo-exec/argo-exec/argo-input-sender-kick: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Kick udev to launch any necessary argo-input-sender processes 4 | start() { 5 | udevadm trigger -c add -t devices -s input 6 | } 7 | 8 | case "$1" in 9 | start) 10 | start 11 | ;; 12 | *) 13 | echo "Command '$1' not supported" 14 | exit 1 15 | ;; 16 | esac 17 | -------------------------------------------------------------------------------- /recipes-openxt/argo/argo-module-headers_git.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Argo Linux module headers." 2 | DESCRIPTION = "Argo UAPI available to user-land programs to implement Argo \ 3 | communications." 4 | LICENSE = "GPLv2" 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 6 | 7 | require argo.inc 8 | 9 | S = "${WORKDIR}/git/argo-linux" 10 | 11 | inherit allarch 12 | 13 | do_install() { 14 | oe_runmake INSTALL_HDR_PATH=${D}${prefix} headers_install 15 | } 16 | 17 | # Skip build steps. 18 | do_compile[noexec] = "1" 19 | do_configure[noexec] = "1" 20 | -------------------------------------------------------------------------------- /recipes-openxt/argo/argo-module_git.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Argo Linux module." 2 | DESCRIPTION = "Argo implements inter-domain communication on Xen virtualization \ 3 | platform relying on the hypervisor to broker all communications. Domains then \ 4 | manage their own data rings and no memory is shared between them. Argo module \ 5 | defines a stream and a datagram protocol." 6 | HOMEPAGE = "https://wiki.xenproject.org/wiki/Argo:_Hypervisor-Mediated_Exchange_(HMX)_for_Xen" 7 | LICENSE = "GPLv2" 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 9 | 10 | require argo.inc 11 | 12 | S = "${WORKDIR}/git/argo-linux" 13 | 14 | inherit module 15 | inherit module-signing 16 | 17 | EXTRA_OEMAKE += "INSTALL_HDR_PATH=${D}${prefix}" 18 | MODULES_INSTALL_TARGET += "headers_install" 19 | 20 | KERNEL_MODULE_AUTOLOAD += "xen-argo" 21 | -------------------------------------------------------------------------------- /recipes-openxt/argo/argo.inc: -------------------------------------------------------------------------------- 1 | PV = "0+git${SRCPV}" 2 | 3 | SRC_URI = "git://github.com/OpenXT/linux-xen-argo.git;protocol=https" 4 | SRCREV = "${AUTOREV}" 5 | -------------------------------------------------------------------------------- /recipes-openxt/argo/libargo_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient Argo library and interposer" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | DEPENDS = "argo-module-headers" 5 | 6 | require argo.inc 7 | 8 | S = "${WORKDIR}/git/libargo" 9 | 10 | inherit autotools-brokensep pkgconfig lib_package 11 | 12 | EXTRA_OECONF += "--with-pic" 13 | -------------------------------------------------------------------------------- /recipes-openxt/argo/linux-argo-headers_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient Argo kernel headers" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | 5 | require argo.inc 6 | 7 | S = "${WORKDIR}/git/argo-linux" 8 | 9 | do_configure() { 10 | : 11 | } 12 | 13 | do_compile() { 14 | : 15 | } 16 | 17 | do_install(){ 18 | install -d ${D}${includedir}/linux 19 | install ${S}/include/linux/argo_dev.h ${D}${includedir}/linux/ 20 | } 21 | -------------------------------------------------------------------------------- /recipes-openxt/dd-buffered/dd-buffered_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient buffered dd tool" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | PR = "r1" 6 | 7 | SRC_URI = "file://dd-buffered.c \ 8 | " 9 | 10 | S = "${WORKDIR}" 11 | 12 | do_compile() { 13 | oe_runmake dd-buffered 14 | } 15 | 16 | do_install() { 17 | install -d ${D}${bindir} 18 | install -m 0755 ${WORKDIR}/dd-buffered ${D}${bindir} 19 | } 20 | -------------------------------------------------------------------------------- /recipes-openxt/essential-target-builddepends/essential-target-builddepends_git.bb: -------------------------------------------------------------------------------- 1 | inherit packagegroup 2 | DESCRIPTION = "Installs packages that are needed to compile software on target" 3 | LICENSE = "GPLv2" 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 5 | INSANE_SKIP_${PN} = "dev-deps" 6 | RDEPENDS_${PN} += "binutils-symlinks gcc-symlinks g++-symlinks cpp-symlinks libc6-dev libstdc++-dev libtool libtool-dev git quilt autoconf automake make pkgconfig-dev refpolicy-mcs-dev" 7 | -------------------------------------------------------------------------------- /recipes-openxt/heimdallr/files/pci-quirks.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name" : "BCM4313", 4 | "vendor" : "14E4", 5 | "config_space_fields" : 6 | [ 7 | { 8 | "register": "00000080", 9 | "size" : "4" 10 | }, 11 | { 12 | "register": "00000094", 13 | "size" : "4" 14 | }, 15 | { 16 | "register": "000000ac", 17 | "size" : "4" 18 | } 19 | ] 20 | } 21 | ] 22 | -------------------------------------------------------------------------------- /recipes-openxt/heimdallr/heimdallr_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Application to fill pciback quirks" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | DEPENDS = "json-c pciutils" 5 | 6 | PV = "0+git${SRCPV}" 7 | 8 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:${THISDIR}/patches:" 9 | SRC_URI = "git://github.com/achartier/heimdallr.git;protocol=https \ 10 | file://pci-quirks.json \ 11 | file://fix-json-pkgconfig-name.patch \ 12 | file://json-0.13-interface-change.patch \ 13 | " 14 | SRCREV = "16b0da1e69e92ef8c0834e8a377c13aea823cfa2" 15 | 16 | S = "${WORKDIR}/git" 17 | 18 | # Hack to get CFLAGS not wiped out by OE 19 | EXTRA_OEMAKE = "" 20 | 21 | CFLAGS_append += "-Wno-deprecated-declarations" 22 | 23 | inherit pkgconfig 24 | 25 | do_install() { 26 | oe_runmake DESTDIR="${D}/usr/bin" install 27 | 28 | install -d ${D}${sysconfdir} 29 | install -m 0644 ${WORKDIR}/pci-quirks.json ${D}${sysconfdir} 30 | } 31 | -------------------------------------------------------------------------------- /recipes-openxt/heimdallr/patches/fix-json-pkgconfig-name.patch: -------------------------------------------------------------------------------- 1 | diff --git a/Makefile b/Makefile 2 | index 733055f..d1a4600 100644 3 | --- a/Makefile 4 | +++ b/Makefile 5 | @@ -1,7 +1,7 @@ 6 | CC?=gcc 7 | FLAGS = -g -ggdb -std=c99 -pedantic -W -Wall -Wextra -Werror 8 | -CFLAGS += $(FLAGS) $(shell pkg-config libpci --cflags) $(shell pkg-config json --cflags) 9 | -LDFLAGS += $(shell pkg-config libpci --libs) $(shell pkg-config json --libs) 10 | +CFLAGS += $(FLAGS) $(shell pkg-config libpci --cflags) $(shell pkg-config json-c --cflags) 11 | +LDFLAGS += $(shell pkg-config libpci --libs) $(shell pkg-config json-c --libs) 12 | DESTDIR ?= /usr/bin 13 | CFILES = main.c json.c pci.c 14 | BIN = heimdallr 15 | -------------------------------------------------------------------------------- /recipes-openxt/heimdallr/patches/json-0.13-interface-change.patch: -------------------------------------------------------------------------------- 1 | --- a/json.c 2 | +++ b/json.c 3 | @@ -42,7 +42,7 @@ json_parse_string_field(json_object *jva 4 | json_object *jfield = NULL; 5 | json_bool jres = json_object_object_get_ex(jvalue, field_name, &jfield); 6 | 7 | - if (NULL == jfield || is_error(jfield) || !jres) 8 | + if (NULL == jfield || !jres) 9 | return strdup_or_null(field_default_value); 10 | 11 | if (!json_object_is_type(jfield, json_type_string)) 12 | @@ -218,7 +218,7 @@ parse_json_file(const char *json_file) 13 | fclose(f); 14 | 15 | json_object *jobj = json_tokener_parse(json_str); 16 | - if (is_error(jobj)) 17 | + if (NULL == jobj) 18 | { 19 | fprintf(stderr, "%s is not a valid json file\n", json_file); 20 | return NULL; 21 | -------------------------------------------------------------------------------- /recipes-openxt/idl/idl.inc: -------------------------------------------------------------------------------- 1 | PV = "0+git${SRCPV}" 2 | SRC_URI = "git://github.com/OpenXT/idl.git;protocol=https" 3 | SRCREV = "${AUTOREV}" 4 | -------------------------------------------------------------------------------- /recipes-openxt/idl/xenclient-idl_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient IDL definitions + rpc stubs generation mechanism" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | require idl.inc 6 | 7 | S = "${WORKDIR}/git" 8 | 9 | inherit allarch 10 | 11 | do_install() { 12 | install -m 0755 -d ${D}${idldatadir} 13 | install -m 0644 ${S}/interfaces/* ${D}${idldatadir} 14 | } 15 | -------------------------------------------------------------------------------- /recipes-openxt/idl/xenclient-rpcgen_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "rpc stubs generation mechanism" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM="file://../COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | DEPENDS = " \ 5 | dbus \ 6 | hkg-dbus \ 7 | hkg-haxml \ 8 | libxslt-native \ 9 | " 10 | 11 | require idl.inc 12 | 13 | inherit haskell 14 | 15 | # This has to stay consistent with xc-rpcgen.bbclass. 16 | RPCGEN_VERSION = "1.0" 17 | TEMPLATES_DIR="xc-rpcgen-${RPCGEN_VERSION}/templates" 18 | 19 | BBCLASSEXTEND = "native" 20 | 21 | S = "${WORKDIR}/git/rpcgen" 22 | 23 | do_install() { 24 | install -d ${D}/${bindir} 25 | install -m 0755 ${B}/dist/build/xc-rpcgen/xc-rpcgen ${D}/${bindir} 26 | install -m 0755 -d ${D}/${datadir}/${TEMPLATES_DIR} # share 27 | install -m 0644 ${S}/templates/* ${D}/${datadir}/${TEMPLATES_DIR}/ 28 | } 29 | -------------------------------------------------------------------------------- /recipes-openxt/libicbinn/icbinn.inc: -------------------------------------------------------------------------------- 1 | PV = "0+git${SRCPV}" 2 | SRCREV = "${AUTOREV}" 3 | SRC_URI = "git://github.com/OpenXT/icbinn.git;protocol=https" 4 | -------------------------------------------------------------------------------- /recipes-openxt/libicbinn/libicbinn-resolved_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "libicbinn-resolved" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM="file://../COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | 5 | require icbinn.inc 6 | 7 | DEPENDS = "libicbinn" 8 | 9 | S = "${WORKDIR}/git/libicbinn_resolved" 10 | 11 | inherit autotools 12 | inherit pkgconfig 13 | inherit lib_package 14 | -------------------------------------------------------------------------------- /recipes-openxt/libicbinn/pyicbinn_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Python bindings for icbinn" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | 5 | require icbinn.inc 6 | 7 | S = "${WORKDIR}/git/pyicbinn" 8 | 9 | DEPENDS = "swig-native libicbinn xenclient-rpcgen-native" 10 | 11 | inherit distutils3 12 | -------------------------------------------------------------------------------- /recipes-openxt/libxcdbus/libxcdbus_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient DBUS library" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | DEPENDS = " \ 5 | libtool \ 6 | libevent \ 7 | " 8 | 9 | PV = "0+git${SRCPV}" 10 | 11 | SRCREV = "${AUTOREV}" 12 | SRC_URI = "git://github.com/OpenXT/libxcdbus.git;protocol=https" 13 | 14 | S = "${WORKDIR}/git" 15 | 16 | inherit autotools-brokensep pkgconfig lib_package xc-rpcgen-c 17 | -------------------------------------------------------------------------------- /recipes-openxt/libxenbackend/libxenbackend_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Xen PV Backend Library" 2 | LICENSE = "LGPL-2.1" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | DEPENDS = "xen-tools" 5 | 6 | PV = "0+git${SRCPV}" 7 | 8 | SRCREV = "${AUTOREV}" 9 | SRC_URI = "git://github.com/OpenXT/libxenbackend.git;protocol=https" 10 | 11 | S = "${WORKDIR}/git" 12 | 13 | EXTRA_OEMAKE += "LIBDIR=${STAGING_LIBDIR}" 14 | 15 | inherit autotools-brokensep pkgconfig lib_package 16 | -------------------------------------------------------------------------------- /recipes-openxt/manager/dbd/db-cat-dom0: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) 2014 Citrix Systems, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation; either version 2 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program; if not, write to the Free Software 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | # 19 | 20 | LD_PRELOAD=/usr/lib/libargo-1.0.so.0 INET_IS_ARGO=1 DBUS_SYSTEM_BUS_ADDRESS=tcp:host=1.0.0.0,port=5555 db-cat "$@" 21 | -------------------------------------------------------------------------------- /recipes-openxt/manager/dbd/db-exists-dom0: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) 2014 Citrix Systems, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation; either version 2 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program; if not, write to the Free Software 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | # 19 | 20 | LD_PRELOAD=/usr/lib/libargo-1.0.so.0 INET_IS_ARGO=1 DBUS_SYSTEM_BUS_ADDRESS=tcp:host=1.0.0.0,port=5555 db-exists "$@" 21 | -------------------------------------------------------------------------------- /recipes-openxt/manager/dbd/db-ls-dom0: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) 2014 Citrix Systems, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation; either version 2 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program; if not, write to the Free Software 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | # 19 | 20 | LD_PRELOAD=/usr/lib/libargo-1.0.so.0 INET_IS_ARGO=1 DBUS_SYSTEM_BUS_ADDRESS=tcp:host=1.0.0.0,port=5555 db-ls "$@" 21 | -------------------------------------------------------------------------------- /recipes-openxt/manager/dbd/db-nodes-dom0: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) 2014 Citrix Systems, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation; either version 2 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program; if not, write to the Free Software 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | # 19 | 20 | LD_PRELOAD=/usr/lib/libargo-1.0.so.0 INET_IS_ARGO=1 DBUS_SYSTEM_BUS_ADDRESS=tcp:host=1.0.0.0,port=5555 db-nodes "$@" 21 | -------------------------------------------------------------------------------- /recipes-openxt/manager/dbd/db-read-dom0: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) 2014 Citrix Systems, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation; either version 2 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program; if not, write to the Free Software 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | # 19 | 20 | LD_PRELOAD=/usr/lib/libargo-1.0.so.0 INET_IS_ARGO=1 DBUS_SYSTEM_BUS_ADDRESS=tcp:host=1.0.0.0,port=5555 db-read "$@" 21 | -------------------------------------------------------------------------------- /recipes-openxt/manager/dbd/db-rm-dom0: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) 2014 Citrix Systems, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation; either version 2 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program; if not, write to the Free Software 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | # 19 | 20 | LD_PRELOAD=/usr/lib/libargo-1.0.so.0 INET_IS_ARGO=1 DBUS_SYSTEM_BUS_ADDRESS=tcp:host=1.0.0.0,port=5555 db-rm "$@" 21 | -------------------------------------------------------------------------------- /recipes-openxt/manager/dbd/db-write-dom0: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) 2014 Citrix Systems, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation; either version 2 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program; if not, write to the Free Software 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | # 19 | 20 | LD_PRELOAD=/usr/lib/libargo-1.0.so.0 INET_IS_ARGO=1 DBUS_SYSTEM_BUS_ADDRESS=tcp:host=1.0.0.0,port=5555 db-write "$@" 21 | -------------------------------------------------------------------------------- /recipes-openxt/manager/dbd/db.default: -------------------------------------------------------------------------------- 1 | { 2 | "db-version": "9", 3 | "touchpad": { 4 | "tap-to-click-enable": "true", 5 | "scrolling-enable": "true", 6 | "speed": "5" 7 | }, 8 | "power-management": { 9 | "ac-lid-close-action": "nothing", 10 | "battery-lid-close-action": "sleep" 11 | }, 12 | "xenmgr": { "showMsgOnVmStart": true }, 13 | "display-driver-whitelist": "vga,citrix,intel,RDP,netmeeting" 14 | } 15 | -------------------------------------------------------------------------------- /recipes-openxt/manager/libxenmgr-core_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "xenmgr core" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | DEPENDS = " \ 5 | libxch-rpc \ 6 | libxchdb \ 7 | hkg-errors \ 8 | " 9 | RDEPENDS_${PN} += "glibc-gconv-utf-32" 10 | 11 | require manager.inc 12 | 13 | S = "${WORKDIR}/git/xenmgr-core" 14 | 15 | HPN = "xenmgr-core" 16 | HPV = "0.1" 17 | 18 | require recipes-openxt/xclibs/xclibs-haskell.inc 19 | inherit haskell 20 | -------------------------------------------------------------------------------- /recipes-openxt/manager/manager.inc: -------------------------------------------------------------------------------- 1 | PV = "0+git${SRCPV}" 2 | SRC_URI = "git://github.com/OpenXT/manager.git;protocol=https" 3 | SRCREV = "${AUTOREV}" 4 | 5 | # needed for ghc-provided libffi 6 | RDEPENDS_${PN} += "\ 7 | ghc-runtime \ 8 | " 9 | -------------------------------------------------------------------------------- /recipes-openxt/manager/upgrade-db_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient DB upgrade utility" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM="file://../COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | DEPENDS = " \ 5 | hkg-network \ 6 | hkg-json \ 7 | hkg-utf8-string \ 8 | openssl \ 9 | " 10 | RDEPENDS_${PN} += " \ 11 | glibc-gconv-utf-32 \ 12 | openssl-bin \ 13 | " 14 | 15 | require manager.inc 16 | 17 | S = "${WORKDIR}/git/upgrade-db" 18 | 19 | HPV = "1.0" 20 | inherit haskell 21 | -------------------------------------------------------------------------------- /recipes-openxt/manager/xec_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "xec - dbus call utility" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | DEPENDS = " \ 5 | udbus \ 6 | udbus-intro \ 7 | hkg-hsyslog \ 8 | compleat \ 9 | libxchargo \ 10 | libxchutils \ 11 | " 12 | RDEPENDS_${PN} += "\ 13 | glibc-gconv-utf-32 \ 14 | " 15 | 16 | require manager.inc 17 | 18 | S = "${WORKDIR}/git/xec" 19 | 20 | HPV = "0.1" 21 | inherit haskell 22 | 23 | do_install_append() { 24 | install -m 0755 -d ${D}/etc/compleat.d 25 | install -m 0644 ${S}/xec-vm.usage ${D}/etc/compleat.d/xec-vm.usage 26 | install -m 0644 ${S}/xec.usage ${D}/etc/compleat.d/xec.usage 27 | } 28 | 29 | -------------------------------------------------------------------------------- /recipes-openxt/manager/xenmgr/xenmgr_dbus.conf: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /recipes-openxt/network/network.inc: -------------------------------------------------------------------------------- 1 | PV = "0+git${SRCPV}" 2 | SRCREV = "${AUTOREV}" 3 | SRC_URI = "git://github.com/OpenXT/network.git;protocol=https" 4 | -------------------------------------------------------------------------------- /recipes-openxt/openxt-keymanagement/openxt-keymanagement_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "scripts to aid in the configuration and maintenance of key management" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | SRC_URI = " \ 6 | file://key-functions \ 7 | " 8 | 9 | FILES_${PN} = "${libdir}/openxt/key-functions" 10 | 11 | do_install() { 12 | install -d ${D}${libdir}/openxt 13 | install -m 0755 ${WORKDIR}/key-functions ${D}${libdir}/openxt 14 | } 15 | 16 | RDEPENDS_${PN} = " \ 17 | xenclient-tpm-scripts \ 18 | tpm-tools-sa \ 19 | " 20 | -------------------------------------------------------------------------------- /recipes-openxt/openxt-measuredlaunch/openxt-measuredlaunch/recovery-method: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | config=${1:-"/dev/xenclient/config"} 4 | 5 | if [ ! -e "${config}" ]; then 6 | echo "Unable to locate config volume: ${config}" 7 | exit 1 8 | fi 9 | 10 | slot7=$(cryptsetup luksDump "${config}"|grep 'Slot 7'|awk '{ print $4 }') 11 | 12 | case $slot7 in 13 | ENABLED) 14 | echo "System is using legacy recovery key scheme" 15 | ;; 16 | DISABLED) 17 | echo "System is using new recovery key scheme" 18 | ;; 19 | *) 20 | echo "Unable to determine recovery key scheme" 21 | ;; 22 | esac 23 | -------------------------------------------------------------------------------- /recipes-openxt/openxt-measuredlaunch/openxt-measuredlaunch/seal-system.conf: -------------------------------------------------------------------------------- 1 | # FWS_TBOOT_VERSION 2 | # Specify the TBoot version against which to seal the system. 3 | # This is only relevant to forward sealing with event-type emulation 4 | # required. Some version of TBoot will calculate different hashes based on 5 | # TBoot changes and ACM upgrades. 6 | FWS_TBOOT_VERSION="1.9.12" 7 | 8 | # FWS_EVTLOG_OVERRIDE: 9 | # Override TPM Event Log event with pre-defined values or emulation. The 10 | # variable contains a space separated list of 'event-type:hash|emulate' 11 | # pairs. 12 | FWS_EVTLOG_OVERRIDE="0x40f:emulate" 13 | -------------------------------------------------------------------------------- /recipes-openxt/secure-vm/secure-vm_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient secure vm tool" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | PR = "r0" 6 | 7 | SRC_URI = "file://secure-vm \ 8 | " 9 | 10 | S = "${WORKDIR}" 11 | 12 | do_install() { 13 | install -d ${D}${bindir} 14 | install -m 0755 ${WORKDIR}/secure-vm ${D}${bindir} 15 | } 16 | 17 | RDEPENDS_${PN} += "bash" 18 | -------------------------------------------------------------------------------- /recipes-openxt/surfman/surfman.inc: -------------------------------------------------------------------------------- 1 | PV = "0+git${SRCPV}" 2 | 3 | SRCREV = "${AUTOREV}" 4 | SRC_URI = "git://github.com/OpenXT/surfman.git;protocol=https" 5 | -------------------------------------------------------------------------------- /recipes-openxt/trousers/trousers/45-trousers.rules: -------------------------------------------------------------------------------- 1 | KERNEL=="tpm[0-9]*", MODE="0600", OWNER="tss", GROUP="tss" 2 | -------------------------------------------------------------------------------- /recipes-openxt/txt-info-module/files/sources/Kbuild: -------------------------------------------------------------------------------- 1 | obj-m += txt_info.o 2 | 3 | ccflags-y := -I$(src)/include 4 | -------------------------------------------------------------------------------- /recipes-openxt/txt-info-module/files/sources/Makefile: -------------------------------------------------------------------------------- 1 | ifneq ($(KERNELRELEASE),) 2 | # kbuild part of makefile 3 | include Kbuild 4 | 5 | else 6 | # normal makefile 7 | KERNEL_VERSION ?= `uname -r` 8 | KERNEL_SRC ?= /lib/modules/$(KERNEL_VERSION)/build 9 | INSTALL_HDR_PATH ?= /usr 10 | 11 | default: 12 | $(MAKE) -C $(KERNEL_SRC) M=$$PWD 13 | 14 | clean: 15 | $(MAKE) -C $(KERNEL_SRC) M=$$PWD clean 16 | 17 | modules_install: 18 | $(MAKE) -C $(KERNEL_SRC) M=$$PWD modules_install 19 | 20 | endif 21 | -------------------------------------------------------------------------------- /recipes-openxt/txt-info-module/txt-info-module_1.0.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Out-of-tree module to expose TXT resources to user-land." 2 | DESCRIPTION = "TXT exposes configuration registers documented in its Software \ 3 | Development Guide. Accessing these registers in sometimes necessary for \ 4 | userland software to perform checks and validate compatibility with software \ 5 | resources." 6 | LICENSE = "GPLv2" 7 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 8 | 9 | SRC_URI = " \ 10 | file://sources/Kbuild \ 11 | file://sources/Makefile \ 12 | file://sources/txt_info.c \ 13 | " 14 | 15 | S = "${WORKDIR}/sources" 16 | 17 | inherit module 18 | inherit module-signing 19 | 20 | KERNEL_MODULE_AUTOLOAD += "txt_info" 21 | 22 | RDEPENDS_${PN} += " \ 23 | kernel-module-txt \ 24 | " 25 | -------------------------------------------------------------------------------- /recipes-openxt/uid/uid/uid.conf: -------------------------------------------------------------------------------- 1 | http-port = 80 2 | daemonize = true 3 | files-dir = /usr/lib/xui 4 | max-payload = 104857600 5 | only-uuids = 00000000-0000-0000-0000-000000000001 6 | -------------------------------------------------------------------------------- /recipes-openxt/uid/uid/uid_dbus.conf: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /recipes-openxt/vhd-scripts/vhd-scripts_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient vhd tools" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | SRC_URI = "file://vhd-copy \ 6 | file://vhd-dm-create \ 7 | file://vhd-dm-remove \ 8 | " 9 | 10 | S = "${WORKDIR}" 11 | 12 | do_install() { 13 | install -d ${D}${bindir} 14 | install -m 0755 ${WORKDIR}/vhd-copy ${D}${bindir} 15 | install -m 0755 ${WORKDIR}/vhd-dm-create ${D}${bindir} 16 | install -m 0755 ${WORKDIR}/vhd-dm-remove ${D}${bindir} 17 | } 18 | 19 | RDEPENDS_${PN} += "bash" 20 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/libxch-rpc_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Haskell RPC library (wrapper around dbus)" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | DEPENDS = " \ 5 | udbus \ 6 | libxchargo \ 7 | libxchutils \ 8 | hkg-hsyslog \ 9 | hkg-transformers-base \ 10 | hkg-monad-control \ 11 | " 12 | RDEPENDS_${PN} += "glibc-gconv-utf-32" 13 | 14 | require xclibs.inc 15 | 16 | S = "${WORKDIR}/git/xch-rpc" 17 | 18 | HPN = "xch-rpc" 19 | HPV = "0.1" 20 | 21 | require xclibs-haskell.inc 22 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/libxchargo_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Haskell bindings to libargo" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | DEPENDS += " \ 5 | hkg-network \ 6 | libargo \ 7 | libxchutils \ 8 | " 9 | RDEPENDS_${PN} += "glibc-gconv-utf-32" 10 | 11 | require xclibs.inc 12 | 13 | S = "${WORKDIR}/git/xchargo" 14 | 15 | HPN = "xchargo" 16 | HPV = "0.1" 17 | 18 | require xclibs-haskell.inc 19 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/libxchdb_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "helps accessing db daemon" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | DEPENDS += "libxch-rpc xenclient-rpcgen-native xenclient-idl hkg-json libxchutils" 5 | RDEPENDS_${PN} += "glibc-gconv-utf-32" 6 | 7 | require xclibs.inc 8 | 9 | S = "${WORKDIR}/git/xchdb" 10 | 11 | HPN = "xchdb" 12 | HPV = "0.1" 13 | 14 | require xclibs-haskell.inc 15 | inherit xc-rpcgen 16 | 17 | do_configure_append() { 18 | mkdir -p Rpc/Autogen 19 | xc-rpcgen --haskell --templates-dir=${STAGING_RPCGENDATADIR_NATIVE} -c -o Rpc/Autogen --module-prefix=Rpc.Autogen ${STAGING_IDLDATADIR}/db.xml 20 | } 21 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/libxchutils_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "haskell misc utilities" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | DEPENDS += "hkg-json hkg-hsyslog hkg-utf8-string" 5 | RDEPENDS_${PN} += "glibc-gconv-utf-32" 6 | 7 | require xclibs.inc 8 | 9 | S = "${WORKDIR}/git/xchutils" 10 | 11 | HPN = "xchutils" 12 | HPV = "0.1" 13 | 14 | require xclibs-haskell.inc 15 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/libxchwebsocket_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "haskell websocket library" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | DEPENDS = " \ 5 | hkg-utf8-string \ 6 | " 7 | RDEPENDS_${PN} += "glibc-gconv-utf-32 hkg-utf8-string" 8 | 9 | require xclibs.inc 10 | 11 | S = "${WORKDIR}/git/xchwebsocket" 12 | 13 | HPN = "xchwebsocket" 14 | HPV = "0.1" 15 | 16 | require xclibs-haskell.inc 17 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/libxchxenstore_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Haskell bindings to xenstore" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | DEPENDS += " \ 5 | libxchutils \ 6 | xen-tools \ 7 | hkg-utf8-string \ 8 | " 9 | RDEPENDS_${PN} += " \ 10 | glibc-gconv-utf-32 \ 11 | ghc-runtime \ 12 | " 13 | 14 | require xclibs.inc 15 | 16 | S = "${WORKDIR}/git/xchxenstore" 17 | 18 | HPN = "xchxenstore" 19 | HPV = "0.1" 20 | 21 | require xclibs-haskell.inc 22 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/libxclogging_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient Logging Library" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | 5 | require xclibs.inc 6 | 7 | CFLAGS_append = " -Wno-unused" 8 | 9 | S = "${WORKDIR}/git/xclogging" 10 | 11 | PARALLEL_MAKE = "-j 1" 12 | 13 | inherit autotools-brokensep pkgconfig 14 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/libxcxenstore_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Xenstore library" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | DEPENDS = "xen-tools libxclogging libevent" 5 | 6 | require xclibs.inc 7 | 8 | S = "${WORKDIR}/git/xcxenstore" 9 | 10 | ASNEEDED = "" 11 | 12 | inherit autotools-brokensep pkgconfig 13 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/udbus-intro_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "introspection XML parser for udbus" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://../COPYING;md5=321bf41f280cf805086dd5a720b37785" 4 | DEPENDS += "udbus hkg-haxml" 5 | RDEPENDS_${PN} += "glibc-gconv-utf-32" 6 | 7 | require xclibs.inc 8 | 9 | S = "${WORKDIR}/git/udbus-intro" 10 | 11 | HPV = "0.1" 12 | require xclibs-haskell.inc 13 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/udbus_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "haskell dbus library" 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=784a6790a51378ef1cc78d5c6999b241" 4 | DEPENDS = " \ 5 | hkg-cereal \ 6 | hkg-network \ 7 | hkg-utf8-string \ 8 | " 9 | RDEPENDS_${PN} += "glibc-gconv-utf-32 hkg-utf8-string" 10 | 11 | require xclibs.inc 12 | 13 | S = "${WORKDIR}/git/udbus" 14 | 15 | HPV = "0.2" 16 | require xclibs-haskell.inc 17 | 18 | FILES_${PN}-doc += "/usr/share/${PN}-${HPV}" 19 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/xclibs-haskell.inc: -------------------------------------------------------------------------------- 1 | # Define the hsc2hs linker so the custom Setup.hs, used by haskell packages 2 | # binding against C libraries, from XenClient/OpenXT can use it. In this case 3 | # it will be the wrapper generated by the haskell.bbclass containing CCLD and 4 | # LDFLAGS for the target environment. 5 | EXTRA_CABAL_CONF += "--with-hsc2hs-ld=ghc-ld" 6 | 7 | inherit haskell 8 | -------------------------------------------------------------------------------- /recipes-openxt/xclibs/xclibs.inc: -------------------------------------------------------------------------------- 1 | PV = "0+git${SRCPV}" 2 | SRCREV = "${AUTOREV}" 3 | SRC_URI = "git://github.com/OpenXT/xclibs.git;protocol=https" 4 | -------------------------------------------------------------------------------- /recipes-openxt/xctools/atapi-pt-helper_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Stubdomain atapi-cdrom helper)" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | DEPENDS = "libargo xen-tools" 5 | 6 | require xctools.inc 7 | 8 | FILES_${PN} += "/usr/lib/xen/bin/atapi_pt_helper" 9 | FILES_${PN}-dbg += " /usr/lib/xen/bin/.debug " 10 | 11 | S = "${WORKDIR}/git/atapi_pt_helper" 12 | 13 | ASNEEDED = "" 14 | 15 | inherit autotools 16 | inherit pkgconfig 17 | 18 | do_install(){ 19 | install -d ${D}/usr/lib/xen/bin 20 | install -m 755 ${B}/src/atapi_pt_helper ${D}/usr/lib/xen/bin/ 21 | } 22 | -------------------------------------------------------------------------------- /recipes-openxt/xctools/audio-helper_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Audio helper (Add stubdomain audio support)" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | DEPENDS = " \ 5 | libargo \ 6 | alsa-lib \ 7 | " 8 | 9 | require xctools.inc 10 | 11 | SRC_URI += " \ 12 | file://audio_helper_start \ 13 | " 14 | 15 | S = "${WORKDIR}/git/audio_helper" 16 | 17 | inherit autotools 18 | inherit pkgconfig 19 | 20 | do_install(){ 21 | install -d "${D}${libdir}/xen/bin" 22 | install -m 755 "${B}/src/audio_helper" "${D}${libdir}/xen/bin/audio_helper" 23 | install -m 755 "${WORKDIR}/audio_helper_start" "${D}${libdir}/xen/bin/audio_helper_start" 24 | } 25 | 26 | FILES_${PN} += " \ 27 | ${libdir}/xen/bin/audio_helper \ 28 | ${libdir}/xen/bin/audio_helper_start \ 29 | " 30 | FILES_${PN}-dbg += " \ 31 | ${libdir}/xen/bin/.debug \ 32 | " 33 | RDEPENDS_${PN} += "dbd-tools" 34 | -------------------------------------------------------------------------------- /recipes-openxt/xctools/carrier-detect_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "network interface carrier detect program" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | DEPENDS = "libnl" 5 | 6 | require xctools.inc 7 | 8 | S = "${WORKDIR}/git/carrier-detect" 9 | 10 | inherit autotools pkgconfig 11 | -------------------------------------------------------------------------------- /recipes-openxt/xctools/compleat_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "bash completion for human beings" 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=acbef28775875450fdedef37d178f5c4" 4 | RDEPENDS_${PN} += "glibc-gconv-utf-32" 5 | 6 | require xctools.inc 7 | 8 | S = "${WORKDIR}/git/compleat" 9 | 10 | HPV = "0.1" 11 | inherit haskell 12 | 13 | FILES_${PN} += " \ 14 | ${datadir}/${PN}*/compleat_setup \ 15 | " 16 | 17 | do_install_append() { 18 | install -m 0755 -d ${D}/etc/compleat.d 19 | install -m 0755 -d ${D}/etc/profile.d 20 | install -m 0755 ${S}/compleat_setup ${D}/etc/profile.d/compleat_setup.sh 21 | } 22 | 23 | -------------------------------------------------------------------------------- /recipes-openxt/xctools/qmp-helper_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Stubdomain QMP helper" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | DEPENDS = "libargo" 5 | 6 | require xctools.inc 7 | 8 | FILES_${PN} += "/usr/lib/xen/bin/qmp_helper" 9 | FILES_${PN}-dbg += " /usr/lib/xen/bin/.debug " 10 | 11 | S = "${WORKDIR}/git/qmp_helper" 12 | 13 | ASNEEDED = "" 14 | 15 | inherit autotools 16 | inherit pkgconfig 17 | 18 | do_install(){ 19 | install -d ${D}/usr/lib/xen/bin 20 | install -m 755 ${B}/src/qmp_helper ${D}/usr/lib/xen/bin/ 21 | } 22 | -------------------------------------------------------------------------------- /recipes-openxt/xctools/varstored-watch_git.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Provides binary that restarts varstored on failure" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | 5 | require xctools.inc 6 | 7 | DEPENDS = " \ 8 | xen-tools \ 9 | " 10 | 11 | RDEPENDS_${PN} = " \ 12 | varstored \ 13 | " 14 | 15 | S = "${WORKDIR}/git/varstored-watch" 16 | 17 | do_install() { 18 | oe_runmake install DESTDIR=${D} 19 | } 20 | -------------------------------------------------------------------------------- /recipes-openxt/xctools/xcpmd_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Power Management Daemon for OpenXT" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b" 4 | DEPENDS = "dbus xen-tools pciutils libxcdbus libxcxenstore udev libnl yajl" 5 | 6 | require xctools.inc 7 | SRC_URI += " \ 8 | file://xcpmd.initscript \ 9 | " 10 | 11 | CFLAGS_prepend += " -I${STAGING_INCDIR}/libnl3 " 12 | 13 | CFLAGS_append += " -Wno-unused-parameter -Wno-deprecated-declarations " 14 | 15 | S = "${WORKDIR}/git/xcpmd" 16 | 17 | ASNEEDED = "" 18 | 19 | inherit autotools update-rc.d pkgconfig xc-rpcgen-c 20 | 21 | INITSCRIPT_NAME = "xcpmd" 22 | INITSCRIPT_PARAMS = "defaults 60 19" 23 | 24 | do_install_append() { 25 | # RJP TODO remove xenpmd from xenclient-tools clam bake 26 | install -d ${D}${sysconfdir}/init.d 27 | install -m 0755 ${WORKDIR}/xcpmd.initscript ${D}${sysconfdir}/init.d/xcpmd 28 | } 29 | -------------------------------------------------------------------------------- /recipes-openxt/xctools/xctools.inc: -------------------------------------------------------------------------------- 1 | PV = "0+git${SRCPV}" 2 | 3 | SRCREV = "${AUTOREV}" 4 | SRC_URI = "git://github.com/OpenXT/xctools.git;protocol=https" 5 | -------------------------------------------------------------------------------- /recipes-openxt/xen-vif-scripts/xen-vif-scripts-ndvm/xen-vif-backend.rules: -------------------------------------------------------------------------------- 1 | SUBSYSTEM=="xen-backend", KERNEL=="vif*|vwif*", RUN+="/etc/xen/scripts/vif $env{ACTION}" 2 | -------------------------------------------------------------------------------- /recipes-openxt/xen-vif-scripts/xen-vif-scripts-ndvm_1.0.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "OpenXT customized Xen hotplug script for vif/vwif in NDVM." 2 | LICENSE = "LGPLv2.1" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" 4 | 5 | SRC_URI = " \ 6 | file://vif \ 7 | file://xen-vif-backend.rules \ 8 | " 9 | 10 | S = "${WORKDIR}" 11 | 12 | inherit allarch 13 | 14 | do_install() { 15 | install -m 0755 -d ${D}${sysconfdir}/udev 16 | install -m 0755 -d ${D}${sysconfdir}/udev/rules.d 17 | install -m 0644 ${S}/xen-vif-backend.rules ${D}${sysconfdir}/udev/rules.d/xen-vif-backend.rules 18 | 19 | install -m 0755 -d ${D}${sysconfdir}/xen/scripts 20 | install -m 0755 ${S}/vif ${D}${sysconfdir}/xen/scripts/vif 21 | } 22 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-boot-sound/xenclient-boot-sound_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient set sound on boot" 2 | 3 | LICENSE = "GPLv2" 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 5 | RDEPENDS_${PN} += "alsa-utils-amixer" 6 | 7 | # This should go away with everything put into the packages it really 8 | # belongs to. For now it's just a convenient place to stash certain things. 9 | 10 | SRC_URI = "file://xenclient-boot-sound.initscript \ 11 | file://update-pcm-config" 12 | PACKAGES = "${PN}" 13 | FILES_${PN} = "/" 14 | 15 | inherit update-rc.d 16 | 17 | INITSCRIPT_NAME = "xenclient-boot-sound" 18 | INITSCRIPT_PARAMS = "defaults 75 25" 19 | 20 | do_install () { 21 | install -d ${D}/etc/init.d 22 | install -m 0755 ${WORKDIR}/xenclient-boot-sound.initscript \ 23 | ${D}/etc/init.d/xenclient-boot-sound 24 | install -d ${D}/usr/sbin 25 | install -m 0755 ${WORKDIR}/update-pcm-config \ 26 | ${D}/usr/sbin/update-pcm-config 27 | } 28 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-caps/xenclient-caps/caps.default: -------------------------------------------------------------------------------- 1 | secondary-gpu-pt = true 2 | configurable-save-changes-across-reboots = true 3 | seamless-traffic-default = false 4 | supported-languages = en-us 5 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-caps/xenclient-caps_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient capabilities" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | SRC_URI = "file://caps.default" 6 | 7 | do_install() { 8 | install -d ${D}${sysconfdir} 9 | install -m 0644 ${WORKDIR}/caps.default ${D}${sysconfdir}/ 10 | } 11 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-config-access/xenclient-config-access_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient config partition access" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | SRC_URI = "file://config-access.initscript \ 6 | " 7 | 8 | INITSCRIPT_NAME = "xenclient-config-access" 9 | INITSCRIPT_PARAMS = "start 32 S ." 10 | 11 | S = "${WORKDIR}" 12 | 13 | inherit update-rc.d 14 | 15 | do_install() { 16 | install -d ${D}${sysconfdir}/init.d 17 | install -m 0755 ${WORKDIR}/config-access.initscript \ 18 | ${D}${sysconfdir}/init.d/xenclient-config-access 19 | } 20 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-console-keymaps/xenclient-console-keymaps_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Console keymaps for XenClient" 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 | DEPENDS = "console-setup-ckbcomp-native \ 5 | xkeyboard-config \ 6 | xenclient-keyboard-list" 7 | 8 | FILES_${PN} = "${datadir}/keymaps" 9 | 10 | S = "${WORKDIR}/src" 11 | 12 | do_compile() { 13 | while read LINE ; do 14 | KEYBOARD=$(echo "${LINE}" | cut -d: -f1) 15 | LAYOUT=$(echo "${LINE}" | cut -d: -f3) 16 | VARIANT=$(echo "${LINE}" | cut -d: -f4) 17 | 18 | ckbcomp -I${STAGING_DATADIR}/X11/xkb \ 19 | "${LAYOUT}" "${VARIANT}" | gzip > "${KEYBOARD}.gz" 20 | done < ${STAGING_DATADIR}/xenclient/keyboards 21 | } 22 | 23 | do_install() { 24 | install -d ${D}${datadir}/keymaps 25 | install -m 0644 ${S}/*.gz ${D}${datadir}/keymaps 26 | } 27 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-cryptdisks/xenclient-cryptdisks/crypttab: -------------------------------------------------------------------------------- 1 | # 2 | log /dev/xenclient/log /config/keys/log.key 3 | cores /dev/xenclient/cores /config/keys/cores.key 4 | swap /dev/xenclient/swap SWAP --cipher aes-xts-plain64 --key-size 512 --hash sha512 5 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-cryptdisks/xenclient-cryptdisks_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient non-root encrypted partitions access" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | RDEPENDS_${PN} = "cryptsetup" 6 | 7 | SRC_URI = "file://cryptdisks.initscript \ 8 | file://crypttab \ 9 | " 10 | 11 | INITSCRIPT_NAME = "cryptdisks" 12 | INITSCRIPT_PARAMS = "start 34 S ." 13 | 14 | S = "${WORKDIR}" 15 | 16 | inherit update-rc.d 17 | 18 | do_install() { 19 | install -d ${D}${sysconfdir}/init.d 20 | install -m 0755 ${WORKDIR}/cryptdisks.initscript \ 21 | ${D}${sysconfdir}/init.d/cryptdisks 22 | install -m 0755 ${WORKDIR}/crypttab \ 23 | ${D}${sysconfdir}/crypttab 24 | } 25 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-dbusbouncer/xenclient-dbusbouncer_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient DBUS socket connections dom0-uivm" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | DEPENDS = "libargo xen-tools" 5 | 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" 7 | 8 | SRC_URI = "file://dbusbouncer.c \ 9 | file://dbusbouncer.initscript \ 10 | " 11 | 12 | INITSCRIPT_NAME = "dbusbouncer" 13 | INITSCRIPT_PARAMS = "defaults 29 71" 14 | 15 | S = "${WORKDIR}" 16 | 17 | inherit update-rc.d 18 | 19 | do_compile() { 20 | export LDLIBS="-largo -lxenstore" 21 | oe_runmake dbusbouncer 22 | # ${STRIP} dbusbouncer 23 | } 24 | 25 | do_install() { 26 | install -d ${D}${sbindir} 27 | install -m 0755 ${WORKDIR}/dbusbouncer ${D}${sbindir} 28 | install -d ${D}${sysconfdir}/init.d 29 | install -m 0755 ${WORKDIR}/dbusbouncer.initscript ${D}${sysconfdir}/init.d/dbusbouncer 30 | } 31 | 32 | DEBUG_BUILD = "1" 33 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-devscripts/xenclient-devscripts_1.0.bb: -------------------------------------------------------------------------------- 1 | LICENSE = "GPLv2" 2 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 3 | RDEPENDS_${PN} = "compleat" 4 | PR = "r2" 5 | 6 | SRC_URI += " file://helper.sh \ 7 | " 8 | do_install () { 9 | install -d ${D}/usr/bin 10 | install -m 0755 ${WORKDIR}/helper.sh \ 11 | ${D}/usr/bin/helper.sh 12 | } 13 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/BOOT.CSV: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/BOOT.CSV -------------------------------------------------------------------------------- /recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/USB_fakenames.conf: -------------------------------------------------------------------------------- 1 | # Names of built-in devices of various laptops 2 | 3 | 03F0:171D = "Bluetooth adapter" 4 | 03F0:231D = "Bluetooth adapter" 5 | 0461:4DB1 = "Webcam" 6 | 04F2:B053 = "Webcam" 7 | 04F2:B082 = "Webcam" 8 | 04F2:B15E = "Webcam" 9 | 04F2:B163 = "Webcam" 10 | 05CA:1814 = "Webcam" 11 | 08FF:2810 = "Fingerprint reader" 12 | 0A5C:2145 = "Bluetooth adapter" 13 | 0A5C:217F = "Bluetooth adapter" 14 | 0A5C:5800 = "Smart card reader" 15 | 0A5C:5801 = "Fingerprint / smart card reader" 16 | 0C45:63F3 = "Webcam" 17 | 0C45:63F8 = "Webcam" 18 | 138A:0007 = "Fingerprint reader" 19 | 147E:2016 = "Fingerprint reader" 20 | 17EF:1004 = "Webcam" 21 | 17EF:4807 = "Webcam" 22 | 17EF:480C = "Webcam" 23 | 17EF:480D = "Webcam" 24 | 17EF:480F = "Webcam" 25 | 17EF:4816 = "Webcam" 26 | 413C:8183 = "WWAN adapter" 27 | 413C:8185 = "WWAN adapter" 28 | 413C:8187 = "Bluetooth adapter" 29 | 8086:0182 = "WWAN adapter" 30 | 0a5c:5802 = "Integrated sensor and smartcard device" 31 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/netcon: -------------------------------------------------------------------------------- 1 | 2 | [connection] 3 | id=Wired Ethernet Connection 4 | uuid=1259e8e4-5b90-48bb-bfbb-9496c38d37ca 5 | type=802-3-ethernet 6 | autoconnect=true 7 | timestamp=0 8 | 9 | [802-3-ethernet] 10 | speed=0 11 | auto-negotiate=true 12 | mtu=0 13 | 14 | [ipv4] 15 | method=auto 16 | ignore-auto-routes=false 17 | ignore-auto-dns=false 18 | never-default=false 19 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/null.iso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/null.iso -------------------------------------------------------------------------------- /recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/unifont.pf2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/unifont.pf2 -------------------------------------------------------------------------------- /recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/usb-state: -------------------------------------------------------------------------------- 1 | dbus-send --system --type=method_call --print-reply --dest=com.citrix.xenclient.usbdaemon / com.citrix.xenclient.usbdaemon.state 2 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks/xenstore-init: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | # add xenstore entries here 4 | 5 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-dom0-tweaks/xenclient-dom0-tweaks_1.0.bb: -------------------------------------------------------------------------------- 1 | require xenclient-dom0-tweaks.inc 2 | 3 | PR="${INC_PR}.0" 4 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-eula/xenclient-eula/EULA-en-us: -------------------------------------------------------------------------------- 1 | OpenXT license placeholder 2 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-eula/xenclient-eula_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient EULA" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | SRC_URI = "file://EULA-en-us" 6 | 7 | FILES_${PN} = "${datadir}/xenclient" 8 | 9 | # Check the en-us version of the EULA doesn't contain non-ASCII characters - 10 | # the installer can't display them. 11 | do_compile() { 12 | if LC_ALL=C grep -n "[^[:print:]]" ${WORKDIR}/EULA-en-us > /dev/null ; then 13 | echo "ERROR: EULA-en-us contains non-ASCII characters:" >&2 14 | LC_ALL=C grep -n "[^[:print:]]" ${WORKDIR}/EULA-en-us >&2 15 | false 16 | fi 17 | } 18 | 19 | do_install() { 20 | install -d ${D}${datadir}/xenclient 21 | for i in en-us ; do 22 | install -m 0644 ${WORKDIR}/EULA-$i ${D}${datadir}/xenclient/ 23 | done 24 | } 25 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-get-config-key/xenclient-get-config-key_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient config partition key tool" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | SRC_URI = " \ 6 | file://get-config-key.c \ 7 | " 8 | 9 | S = "${WORKDIR}" 10 | 11 | do_compile() { 12 | oe_runmake get-config-key 13 | } 14 | 15 | do_install() { 16 | install -d ${D}${sbindir} 17 | install -m 0755 ${WORKDIR}/get-config-key ${D}${sbindir} 18 | } 19 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-installer-tweaks/xenclient-installer-tweaks/console-bell.initscript: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Disable console bell. 4 | 5 | for i in /dev/tty[0-9]* ; do 6 | echo -ne '\033[11;0]' > $i 7 | done 8 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-installer-tweaks/xenclient-installer-tweaks/i915.conf: -------------------------------------------------------------------------------- 1 | install i915 /bin/true 2 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-installer/files/network.ans: -------------------------------------------------------------------------------- 1 | false 2 | #!/bin/ash -e 3 | touch /tmp/preinstall.touch 4 | mkdir -p /config/etc/ssh 5 | touch /config/etc/ssh/enabled 6 | /etc/init.d/sshd stop >&2 7 | /etc/init.d/sshd start >&2 8 | 9 | 10 | fresh 11 | @NETBOOT_URL@ 12 | true 13 | 14 | en-us 15 | us 16 | true 17 | true 18 | ZtlMHmDPc/6k. 19 | RecoveryPassword 20 | #!/bin/ash -e 21 | touch /tmp/postinstall.touch 22 | 23 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-installer/files/network_manual.ans: -------------------------------------------------------------------------------- 1 | true 2 | #!/bin/ash -e 3 | touch /tmp/preinstall.touch 4 | mkdir -p /config/etc/ssh 5 | touch /config/etc/ssh/enabled 6 | /etc/init.d/sshd stop >&2 7 | /etc/init.d/sshd start >&2 8 | 9 | 10 | @NETBOOT_URL@ 11 | 12 | true 13 | #!/bin/ash -e 14 | touch /tmp/postinstall.touch 15 | 16 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-installer/files/network_upgrade.ans: -------------------------------------------------------------------------------- 1 | false 2 | #!/bin/ash -e 3 | touch /tmp/preinstall.touch 4 | mkdir -p /config/etc/ssh 5 | touch /config/etc/ssh/enabled 6 | /etc/init.d/sshd stop >&2 7 | /etc/init.d/sshd start >&2 8 | 9 | 10 | upgrade 11 | @NETBOOT_URL@ 12 | 13 | en-us 14 | us 15 | true 16 | true 17 | ZtlMHmDPc/6k. 18 | RecoveryPassword 19 | #!/bin/ash -e 20 | touch /tmp/postinstall.touch 21 | 22 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-keyboard-list/xenclient-keyboard-list/supported-keyboards: -------------------------------------------------------------------------------- 1 | # List of supported keyboard layouts for XenClient. 2 | # 3 | # The complete list of keyboard layouts and variants is available in the 4 | # xkeyboard-config package - see the file /usr/share/X11/xkb/rules/evdev.lst 5 | # in the UIVM filesystem. 6 | # 7 | # The first column should be in the form "LAYOUT" or "LAYOUT-VARIANT". The 8 | # second column is optional. If present, it will override the keyboard layout 9 | # name from xkeyboard-config. 10 | 11 | ch: 12 | cn: 13 | de: 14 | es: 15 | fr: 16 | gb: 17 | it: 18 | jp: 19 | us:United States 20 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-keyboard-list/xenclient-keyboard-list_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient keyboard list" 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 | DEPENDS = "xkeyboard-config" 5 | 6 | SRC_URI = "file://supported-keyboards \ 7 | file://generate-keyboard-list" 8 | 9 | FILES_${PN} = "${datadir}/xenclient/keyboards" 10 | 11 | S = "${WORKDIR}/src" 12 | 13 | do_compile() { 14 | perl ${WORKDIR}/generate-keyboard-list \ 15 | ${STAGING_DATADIR}/X11/xkb/rules/evdev.lst \ 16 | ${WORKDIR}/supported-keyboards > keyboards 17 | } 18 | 19 | do_install() { 20 | install -d ${D}${datadir}/xenclient 21 | install -m 0644 ${S}/keyboards ${D}${datadir}/xenclient/ 22 | } 23 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-language-sync/xenclient-language-sync_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient language sync daemon" 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 | RDEPENDS_${PN} += "dbus" 5 | 6 | SRC_URI = "file://language-sync \ 7 | file://language-sync.initscript" 8 | 9 | INITSCRIPT_NAME = "language-sync" 10 | INITSCRIPT_PARAMS = "defaults 80 11" 11 | 12 | S = "${WORKDIR}" 13 | 14 | inherit update-rc.d 15 | 16 | do_install() { 17 | install -d ${D}${sbindir} 18 | install -m 0755 ${WORKDIR}/language-sync ${D}${sbindir} 19 | 20 | install -d ${D}${sysconfdir}/init.d 21 | install -m 0755 ${WORKDIR}/language-sync.initscript \ 22 | ${D}${sysconfdir}/init.d/language-sync 23 | } 24 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-ndvm-tweaks/xenclient-ndvm-tweaks/iwlwifi.conf: -------------------------------------------------------------------------------- 1 | options iwlwifi bt_coex_active=0 2 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-ndvm-tweaks/xenclient-ndvm-tweaks/netcon: -------------------------------------------------------------------------------- 1 | 2 | [connection] 3 | id=Wired Ethernet connection 4 | uuid=1259e8e4-5b90-48bb-bfbb-9496c38d37ca 5 | type=802-3-ethernet 6 | autoconnect=true 7 | timestamp=0 8 | 9 | [802-3-ethernet] 10 | speed=0 11 | auto-negotiate=true 12 | mtu=0 13 | 14 | [ipv4] 15 | method=auto 16 | ignore-auto-routes=false 17 | ignore-auto-dns=false 18 | never-default=false 19 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-ndvm-tweaks/xenclient-ndvm-tweaks/xenstore-init: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | # add xenstore entries here 4 | 5 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-pcrdiff/xenclient-pcrdiff_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient pcr diff tool" 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 | 5 | SRC_URI = " \ 6 | file://pcr-state\ 7 | file://pcr-data\ 8 | " 9 | 10 | do_install() { 11 | install -d ${D}${bindir} 12 | install -m 0755 ${WORKDIR}/pcr-state ${D}${bindir} 13 | install -m 0755 ${WORKDIR}/pcr-data ${D}${bindir} 14 | } 15 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-preload-hs-libs/xenclient-preload-hs-libs_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "loads haskell libs into file system cache which reduces boot time" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | RDEPENDS_${PN} += "util-linux" 6 | PACKAGES = "${PN}" 7 | 8 | SRC_URI = "file://preload \ 9 | " 10 | 11 | S = "${WORKDIR}" 12 | 13 | do_install() { 14 | install -d ${D}/etc/init.d/ 15 | install -m 0755 ${WORKDIR}/preload ${D}/etc/init.d/preload 16 | } 17 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-root-ro/xenclient-root-ro_1.0.bb: -------------------------------------------------------------------------------- 1 | LICENSE = "GPLv2" 2 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 3 | 4 | SRC_URI = "file://init.root-ro \ 5 | " 6 | 7 | do_install() { 8 | install -d ${D}/sbin 9 | install -m 0755 ${WORKDIR}/init.root-ro ${D}/sbin/init.root-ro 10 | } 11 | 12 | FILES_${PN} = "/sbin/init.root-ro \ 13 | " 14 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-splash-images/xenclient-splash-images/black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-splash-images/xenclient-splash-images/black.png -------------------------------------------------------------------------------- /recipes-openxt/xenclient-splash-images/xenclient-splash-images/booting-en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-splash-images/xenclient-splash-images/booting-en-us.png -------------------------------------------------------------------------------- /recipes-openxt/xenclient-splash-images/xenclient-splash-images/hibernate-en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-splash-images/xenclient-splash-images/hibernate-en-us.png -------------------------------------------------------------------------------- /recipes-openxt/xenclient-splash-images/xenclient-splash-images/please-reboot-en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-splash-images/xenclient-splash-images/please-reboot-en-us.png -------------------------------------------------------------------------------- /recipes-openxt/xenclient-splash-images/xenclient-splash-images/reboot-en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-splash-images/xenclient-splash-images/reboot-en-us.png -------------------------------------------------------------------------------- /recipes-openxt/xenclient-splash-images/xenclient-splash-images/shutdown-en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-splash-images/xenclient-splash-images/shutdown-en-us.png -------------------------------------------------------------------------------- /recipes-openxt/xenclient-splash-images/xenclient-splash-images/startup-en-us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-splash-images/xenclient-splash-images/startup-en-us.png -------------------------------------------------------------------------------- /recipes-openxt/xenclient-syncvm-tweaks/xenclient-syncvm-tweaks-1.0/argo.modutils: -------------------------------------------------------------------------------- 1 | argo 2 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-syncvm-tweaks/xenclient-syncvm-tweaks-1.0/volatiles: -------------------------------------------------------------------------------- 1 | d root root 0755 /var/volatile/etc/network none 2 | l root root 0644 /etc/network/interfaces /var/volatile/etc/network/interfaces 3 | f root root 0644 /etc/network/interfaces none 4 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-syncvm-tweaks/xenclient-syncvm-tweaks_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Various syncvm tweaks" 2 | 3 | LICENSE = "GPLv2" 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 5 | 6 | SRC_URI = "file://argo.modutils \ 7 | file://volatiles \ 8 | file://network-config.initscript" 9 | 10 | PACKAGES = "${PN}" 11 | 12 | RDEPENDS_${PN} += "dbd-tools" 13 | 14 | FILES_${PN} = "/" 15 | 16 | inherit update-rc.d 17 | 18 | INITSCRIPT_NAME = "network-config" 19 | INITSCRIPT_PARAMS = "start 39 S ." 20 | 21 | do_install () { 22 | install -d ${D}/etc/modutils 23 | install -m 644 ${WORKDIR}/argo.modutils ${D}/etc/modutils 24 | 25 | install -d ${D}/etc/default/volatiles 26 | install -m 644 ${WORKDIR}/volatiles ${D}/etc/default/volatiles/01_syncvm 27 | 28 | install -d ${D}/etc/init.d 29 | install -m 0755 ${WORKDIR}/network-config.initscript ${D}/etc/init.d/network-config 30 | } 31 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-tpm-scripts/xenclient-tpm-scripts_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "scripts to aid in the configuration and maintenance of the TPM" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | SRC_URI = " \ 6 | file://tpm-functions \ 7 | file://*-detect.sh \ 8 | file://*-fix.sh \ 9 | " 10 | 11 | RDEPENDS_${PN} = " \ 12 | tpm-tools \ 13 | tpm2-tools \ 14 | " 15 | 16 | FILES_${PN} = "${libdir}/tpm-scripts" 17 | 18 | do_install() { 19 | install -d ${D}${libdir}/tpm-scripts 20 | install -m 0755 ${WORKDIR}/tpm-functions ${D}${libdir}/tpm-scripts 21 | install -d ${D}${libdir}/tpm-scripts/quirks.d 22 | for detect in $(ls -1 ${WORKDIR}/*-detect.sh); do 23 | install -m 0755 ${detect} ${D}${libdir}/tpm-scripts/quirks.d 24 | done 25 | for fix in $(ls -1 ${WORKDIR}/*-fix.sh); do 26 | install -m 0755 ${fix} ${D}${libdir}/tpm-scripts/quirks.d 27 | done 28 | } 29 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-tpm-setup/xenclient-tpm-setup_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "XenClient tpm setup tool" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | RDEPENDS_${PN} += "xenclient-tpm-scripts \ 6 | openxt-keymanagement \ 7 | openxt-measuredlaunch \ 8 | " 9 | 10 | SRC_URI = "file://tpm-setup \ 11 | file://tpm-setup-squashfs \ 12 | file://tpm-setup-quotekey \ 13 | " 14 | 15 | do_install() { 16 | install -d ${D}${bindir} 17 | install -m 0755 ${WORKDIR}/tpm-setup ${D}${bindir} 18 | install -m 0755 ${WORKDIR}/tpm-setup-squashfs ${D}${bindir} 19 | install -m 0755 ${WORKDIR}/tpm-setup-quotekey ${D}${bindir} 20 | } 21 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/Xft.xrdb: -------------------------------------------------------------------------------- 1 | Xft.antialias: 1 2 | Xft.hinting: -1 3 | Xft.rgba: none 4 | Xft.hintstyle: hintnone 5 | Xft.dpi: 96 6 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/custom-MailReader.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | NoDisplay=true 3 | Version=1.0 4 | Encoding=UTF-8 5 | Type=X-XFCE-Helper 6 | X-XFCE-Category=MailReader 7 | X-XFCE-CommandsWithParameter=true "%s" 8 | Icon=true 9 | Name=Do nothing 10 | X-XFCE-Commands=true 11 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/custom-WebBrowser.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | NoDisplay=true 3 | Version=1.0 4 | Encoding=UTF-8 5 | Type=X-XFCE-Helper 6 | X-XFCE-Category=WebBrowser 7 | X-XFCE-CommandsWithParameter=true "%s" 8 | Icon=true 9 | Name=Do nothing 10 | X-XFCE-Commands=true 11 | 12 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/custom-global.scm: -------------------------------------------------------------------------------- 1 | (define custom-activate-default-im-name? #f) 2 | (define custom-preserved-default-im-name 'direct) 3 | (define default-im-name #f) 4 | (define enabled-im-list '(py anthy)) 5 | (define enable-im-toggle? #t) 6 | (define toggle-im-key '(" ")) 7 | (define toggle-im-key? (make-key-predicate '(" "))) 8 | (define toggle-im-alt-im 'direct) 9 | (define uim-color 'uim-color-uim) 10 | (define candidate-window-position 'caret) 11 | (define enable-lazy-loading? #t) 12 | (define bridge-show-input-state? #f) 13 | (define bridge-show-input-state-time-length 3) 14 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/default: -------------------------------------------------------------------------------- 1 | default -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/default.keyring: -------------------------------------------------------------------------------- 1 | 2 | [keyring] 3 | display-name=default 4 | ctime=1263567494 5 | mtime=1263567494 6 | lock-on-idle=false 7 | lock-timeout=0 8 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/footer_bar_bgslice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/footer_bar_bgslice.png -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/framebuffer.conf: -------------------------------------------------------------------------------- 1 | options xenfb video=16,2560,1600 2 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/helpers.rc: -------------------------------------------------------------------------------- 1 | TerminalEmulator=xterm 2 | WebBrowser=custom-WebBrowser 3 | MailReader=custom-MailReader 4 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/keyboard: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ -e /tmp/xkbd.pid ] && kill -0 `cat /tmp/xkbd.pid` > /dev/null 2>&1 && exit 4 | 5 | DISPLAY=:0 /usr/bin/xkbd -display ':0' -geometry '800x200-0+10000' >/dev/null 2>&1 & 6 | echo $! > /tmp/xkbd.pid 7 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/workspaces.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/xfwm4.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-openxt/xenclient-uivm-xsessionconfig/xenclient-uivm-xsessionconfig/xfwm4.tar.gz -------------------------------------------------------------------------------- /recipes-qubes/add-fd/add-fd.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Utility pass an open file descriptor to QEMU" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = " \ 4 | file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \ 5 | " 6 | 7 | SRC_URI = " \ 8 | git://github.com/QubesOS/qubes-vmm-xen-stubdom-linux/ \ 9 | " 10 | SRCREV = "2a814bd1edaf549ef9252eb6747aa6137abf9831" 11 | 12 | S = "${WORKDIR}/git" 13 | 14 | do_configure() { 15 | } 16 | 17 | do_compile() { 18 | make -C helpers add-fd 19 | } 20 | 21 | do_install() { 22 | install -d ${D}${bindir}/ 23 | install -m 0755 helpers/add-fd ${D}${bindir}/ 24 | } 25 | -------------------------------------------------------------------------------- /recipes-qubes/qubes-input-proxy/qubes-input-proxy/uinput.conf: -------------------------------------------------------------------------------- 1 | # Load uinput for qubes's input-proxy-receiver 2 | uinput 3 | -------------------------------------------------------------------------------- /recipes-qubes/qubes-input-proxy/qubes-input-proxy_1.0.32.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Qubes Simple input events proxy" 2 | LICENSE="GPLv2+" 3 | LIC_FILES_CHKSUM = "file://debian/copyright;beginline=8;endline=22;md5=e4f60d1e5c91bab4e89cc83acb62bb9b" 4 | 5 | SRC_URI = " \ 6 | git://github.com/QubesOS/qubes-app-linux-input-proxy.git;protocol=https \ 7 | file://uinput.conf \ 8 | " 9 | SRCREV = "e952c35a7c46a18931880b0b08da7382e472406d" 10 | 11 | S = "${WORKDIR}/git" 12 | 13 | PACKAGES =+ "${PN}-sender ${PN}-receiver" 14 | 15 | FILES_${PN}-sender = "${bindir}/input-proxy-sender" 16 | FILES_${PN}-receiver = "\ 17 | ${bindir}/input-proxy-receiver \ 18 | ${sysconfdir}/modules-load.d/ \ 19 | " 20 | 21 | do_install() { 22 | oe_runmake -C src install DESTDIR=${D} 23 | 24 | install -d ${D}${sysconfdir}/modules-load.d/ 25 | install -m 0644 ${WORKDIR}/uinput.conf ${D}${sysconfdir}/modules-load.d/ 26 | } 27 | -------------------------------------------------------------------------------- /recipes-sato/surf/surf-2.0/config.mk: -------------------------------------------------------------------------------- 1 | # surf version 2 | VERSION = 2.0 3 | 4 | # Customize below to fit your system 5 | 6 | # paths 7 | PREFIX = /usr 8 | MANPREFIX = ${PREFIX}/share/man 9 | LIBPREFIX = ${PREFIX}/lib/surf 10 | 11 | GTKINC = `pkg-config --cflags gtk+-3.0 webkit2gtk-4.0 x11` 12 | GTKLIB = `pkg-config --libs gtk+-3.0 webkit2gtk-4.0 x11` 13 | 14 | # includes and libs 15 | INCS = -I. -I${X11INC} ${GTKINC} 16 | LIBS = -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0 17 | 18 | # flags 19 | CPPFLAGS += -DVERSION=\"${VERSION}\" -DWEBEXTDIR=\"${LIBPREFIX}\" -D_DEFAULT_SOURCE 20 | CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} 21 | LDFLAGS += ${LIBS} 22 | -------------------------------------------------------------------------------- /recipes-sato/surf/surf-2.0/volatiles.99_surf: -------------------------------------------------------------------------------- 1 | d root root 0755 /var/volatile/surf none 2 | l root root 0755 /root/.surf /var/volatile/surf 3 | -------------------------------------------------------------------------------- /recipes-security/audit/audit/swig-immutable.patch: -------------------------------------------------------------------------------- 1 | --- a/bindings/swig/src/auditswig.i 2 | +++ b/bindings/swig/src/auditswig.i 3 | @@ -39,6 +39,7 @@ signed 4 | #define __attribute(X) /*nothing*/ 5 | typedef unsigned __u32; 6 | typedef unsigned uid_t; 7 | +%immutable audit_rule_data::buf; 8 | %include "linux/audit.h" 9 | #define __extension__ /*nothing*/ 10 | #include 11 | -------------------------------------------------------------------------------- /recipes-security/audit/audit_2.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI += " \ 4 | file://remove-ipx-depends.patch \ 5 | file://swig-immutable.patch \ 6 | " 7 | -------------------------------------------------------------------------------- /recipes-security/libseccomp/files/run-ptest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd tests 4 | ./regression -a 5 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/fc-subs-config-aliases.patch: -------------------------------------------------------------------------------- 1 | --- a/config/file_contexts.subs_dist 2 | +++ b/config/file_contexts.subs_dist 3 | @@ -44,6 +44,11 @@ 4 | /usr/lib/busybox/sbin /usr/sbin 5 | /usr/lib/busybox/usr /usr 6 | 7 | +# config partition aliases 8 | +# ensure the policy applied to the base filesystem objects is reflected in the 9 | +# config partition. 10 | +/config/etc /etc 11 | + 12 | # The genhomedircon.py will expand /root home directory to /home/root 13 | # Add an aliase for it 14 | /root /home/root 15 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/openxt-sysadm-lsusb.patch: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/roles/sysadm.te 2 | +++ b/policy/modules/roles/sysadm.te 3 | @@ -1417,3 +1417,6 @@ ifndef(`distro_redhat',` 4 | optional_policy(` 5 | xsmutil_run(sysadm_t, sysadm_r) 6 | ') 7 | + 8 | +# For running lsusb from a nr shell. 9 | +allow sysadm_t self:netlink_kobject_uevent_socket create_socket_perms; 10 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.admin.bootloader.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/admin/bootloader.te 2 | +++ b/policy/modules/admin/bootloader.te 3 | @@ -181,8 +181,10 @@ ifdef(`distro_debian',` 4 | libs_relabelto_lib_files(bootloader_t) 5 | 6 | # for apt-cache 7 | - apt_read_db(bootloader_t) 8 | - apt_manage_cache(bootloader_t) 9 | + optional_policy(` 10 | + apt_read_db(bootloader_t) 11 | + apt_manage_cache(bootloader_t) 12 | + ') 13 | 14 | dpkg_read_db(bootloader_t) 15 | dpkg_rw_pipes(bootloader_t) 16 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.admin.brctl.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/admin/brctl.te 2 | +++ b/policy/modules/admin/brctl.te 3 | @@ -26,7 +26,8 @@ allow brctl_t self:tcp_socket create_soc 4 | kernel_request_load_module(brctl_t) 5 | kernel_read_network_state(brctl_t) 6 | kernel_read_sysctl(brctl_t) 7 | - 8 | +kernel_dontaudit_read_xen_state(brctl_t) 9 | +kernel_dontaudit_write_xen_state(brctl_t) 10 | corenet_rw_tun_tap_dev(brctl_t) 11 | 12 | dev_create_sysfs_files(brctl_t) 13 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.admin.dmidecode.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/admin/dmidecode.te 2 | +++ b/policy/modules/admin/dmidecode.te 3 | @@ -37,3 +37,19 @@ ifdef(`init_systemd',` 4 | init_use_fds(dmidecode_t) 5 | init_rw_inherited_stream_socket(dmidecode_t) 6 | ') 7 | + 8 | + 9 | +######################################## 10 | +# 11 | +# OpenXT local policy 12 | +# 13 | + 14 | +# dmidecode called from init script 15 | +init_use_fds(dmidecode_t) 16 | +term_read_console(dmidecode_t) 17 | +term_write_console(dmidecode_t) 18 | + 19 | +# dmidecode from sysadm_r 20 | +seutil_use_newrole_fds(dmidecode_t) 21 | + 22 | +xen_dontaudit_rw_unix_stream_sockets(dmidecode_t) 23 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.admin.firstboot.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/admin/firstboot.fc 2 | +++ b/policy/modules/admin/firstboot.fc 3 | @@ -5,3 +5,4 @@ 4 | /usr/sbin/firstboot -- gen_context(system_u:object_r:firstboot_exec_t,s0) 5 | 6 | /usr/share/firstboot/firstboot\.py -- gen_context(system_u:object_r:firstboot_exec_t,s0) 7 | +/usr/share/xenclient/firstboot\.sh -- gen_context(system_u:object_r:firstboot_exec_t,s0) 8 | --- a/policy/modules/admin/firstboot.te 9 | +++ b/policy/modules/admin/firstboot.te 10 | @@ -125,3 +125,8 @@ optional_policy(` 11 | xserver_unconfined(firstboot_t) 12 | xserver_stream_connect(firstboot_t) 13 | ') 14 | + 15 | +optional_policy(` 16 | + tapctl_domtrans(firstboot_t) 17 | + dev_search_xen(firstboot_t) 18 | +') 19 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.admin.logrotate.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/admin/logrotate.te 2 | +++ b/policy/modules/admin/logrotate.te 3 | @@ -29,6 +29,7 @@ files_type(logrotate_var_lib_t) 4 | type logrotate_unit_t; 5 | init_unit_file(logrotate_unit_t) 6 | 7 | +syslogd_initrc_domtrans(logrotate_t) 8 | 9 | ######################################## 10 | # 11 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.admin.su.patch: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/admin/su.if 2 | +++ b/policy/modules/admin/su.if 3 | @@ -153,6 +153,7 @@ template(`su_role_template',` 4 | allow $1_su_t self:fifo_file rw_fifo_file_perms; 5 | allow $1_su_t self:netlink_audit_socket { nlmsg_relay create_netlink_socket_perms }; 6 | allow $1_su_t self:key { search write }; 7 | + allow $1_su_t self:netlink_selinux_socket { bind create }; 8 | 9 | allow $1_su_t $3:key search; 10 | 11 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.apps.loadkeys.diff: -------------------------------------------------------------------------------- 1 | diff --git a/policy/modules/apps/loadkeys.te b/policy/modules/apps/loadkeys.te 2 | index d2f4643..9338ffa 100644 3 | --- a/policy/modules/apps/loadkeys.te 4 | +++ b/policy/modules/apps/loadkeys.te 5 | @@ -52,3 +52,10 @@ optional_policy(` 6 | optional_policy(` 7 | nscd_dontaudit_search_pid(loadkeys_t) 8 | ') 9 | + 10 | +# allow loadkeys to read symlink at /usr/share/keymaps/ppc 11 | +files_read_usr_symlinks(loadkeys_t) 12 | +kernel_read_xen_state(loadkeys_t) 13 | +kernel_write_xen_state(loadkeys_t) 14 | +dev_rw_input_dev(loadkeys_t) 15 | +files_read_usr_files(loadkeys_t) 16 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.roles.staff.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/roles/staff.te 2 | +++ b/policy/modules/roles/staff.te 3 | @@ -45,6 +45,7 @@ optional_policy(` 4 | 5 | optional_policy(` 6 | ssh_role_template(staff, staff_r, staff_t) 7 | + ssh_inherit_env(staff_t) 8 | ') 9 | 10 | optional_policy(` 11 | @@ -53,6 +54,7 @@ optional_policy(` 12 | 13 | optional_policy(` 14 | sysadm_role_change(staff_r, staff_t) 15 | + userdom_dontaudit_signal_admin_users(staff_t) 16 | userdom_dontaudit_use_user_terminals(staff_t) 17 | ') 18 | 19 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.roles.sysadm.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/roles/sysadm.te 2 | +++ b/policy/modules/roles/sysadm.te 3 | @@ -60,6 +60,8 @@ selinux_read_policy(sysadm_t) 4 | userdom_manage_user_home_dirs(sysadm_t) 5 | userdom_home_filetrans_user_home_dir(sysadm_t) 6 | 7 | +storage_rw_blktap(sysadm_t) 8 | + 9 | ifdef(`direct_sysadm_daemon',` 10 | optional_policy(` 11 | init_run_daemon(sysadm_t, sysadm_r) 12 | @@ -1089,6 +1091,7 @@ optional_policy(` 13 | 14 | optional_policy(` 15 | ssh_role_template(sysadm, sysadm_r, sysadm_t) 16 | + ssh_inherit_env(sysadm_t) 17 | ') 18 | 19 | optional_policy(` 20 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.services.acpi.diff: -------------------------------------------------------------------------------- 1 | # apmd now handled in acpi.te 2 | --- a/policy/modules/services/acpi.te 3 | +++ b/policy/modules/services/acpi.te 4 | @@ -235,3 +235,5 @@ optional_policy(` 5 | optional_policy(` 6 | xserver_domtrans(acpid_t) 7 | ') 8 | + 9 | +dev_watch_dev_dirs(acpid_t); 10 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.system.init_xt.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/system/init.if 2 | +++ b/policy/modules/system/init.if 3 | @@ -3635,3 +3635,22 @@ interface(`initrc_rw_pid_chr_files',` 4 | 5 | allow $1 initrc_runtime_t:chr_file rw_chr_file_perms; 6 | ') 7 | + 8 | +##################################### 9 | +## 10 | +## Get attributes for and unlink XC init flags 11 | +## 12 | +## 13 | +## 14 | +## Domain allowed access. 15 | +## 16 | +## 17 | +# 18 | +interface(`init_delete_flag_files',` 19 | + gen_require(` 20 | + type init_flag_t; 21 | + ') 22 | + 23 | + xc_unlink_config_objs($1) 24 | + allow $1 init_flag_t:file delete_file_perms; 25 | +') 26 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.system.libraries.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/system/libraries.te 2 | +++ b/policy/modules/system/libraries.te 3 | @@ -90,6 +90,7 @@ files_delete_etc_files(ldconfig_t) 4 | 5 | init_use_script_ptys(ldconfig_t) 6 | init_read_script_tmp_files(ldconfig_t) 7 | +init_dontaudit_use_fds(ldconfig_t) 8 | 9 | miscfiles_read_localization(ldconfig_t) 10 | 11 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.modules.system.miscfiles.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/system/miscfiles.if 2 | +++ b/policy/modules/system/miscfiles.if 3 | @@ -488,6 +488,25 @@ interface(`miscfiles_setattr_localizatio 4 | 5 | ######################################## 6 | ## 7 | +## Allow process to search localization info 8 | +## 9 | +## 10 | +## 11 | +## Domain allowed access. 12 | +## 13 | +## 14 | +# 15 | +interface(`miscfiles_search_localization',` 16 | + gen_require(` 17 | + type locale_t; 18 | + ') 19 | + 20 | + files_search_usr($1) 21 | + allow $1 locale_t:dir search_dir_perms; 22 | +') 23 | + 24 | +######################################## 25 | +## 26 | ## Allow process to read localization information. 27 | ## 28 | ## 29 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/policy.support.misc_patterns.spt.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/support/misc_patterns.spt 2 | +++ b/policy/support/misc_patterns.spt 3 | @@ -8,6 +8,7 @@ 4 | # 5 | define(`domain_transition_pattern',` 6 | allow $1 $2:file mmap_exec_file_perms; 7 | + allow $3 $2:lnk_file read_lnk_file_perms; 8 | allow $1 $3:process transition; 9 | dontaudit $1 $3:process { noatsecure siginh rlimitinh }; 10 | ') 11 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/signed-kernel-modprobe.patch: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/kernel/kernel.if 2 | +++ b/policy/modules/kernel/kernel.if 3 | @@ -381,6 +381,7 @@ interface(`kernel_load_module',` 4 | ') 5 | 6 | typeattribute $1 can_load_kernmodule; 7 | + kernel_search_key($1) 8 | ') 9 | 10 | ######################################## 11 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/stubdom-helpers-interfaces.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/apps/qemu.te 2 | +++ b/policy/modules/apps/qemu.te 3 | @@ -100,6 +100,12 @@ tunable_policy(`qemu_full_network',` 4 | ') 5 | 6 | optional_policy(` 7 | + atapi_helper_rw_lock_files(qemu_t) 8 | + atapi_helper_rw_tmpfs_files(qemu_t) 9 | + audio_helper_communicate(qemu_t, qemu_tmpfs_t) 10 | +') 11 | + 12 | +optional_policy(` 13 | fs_manage_xenfs_files(qemu_t) 14 | 15 | dev_rw_xen(qemu_t) 16 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/sysutils-interfaces.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/roles/sysadm.te 2 | +++ b/policy/modules/roles/sysadm.te 3 | @@ -641,6 +641,10 @@ optional_policy(` 4 | ') 5 | 6 | optional_policy(` 7 | + lsusb_run(sysadm_t, sysadm_r) 8 | +') 9 | + 10 | +optional_policy(` 11 | lvm_admin(sysadm_t, sysadm_r) 12 | lvm_run(sysadm_t, sysadm_r) 13 | ') 14 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/tcs-interfaces.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/roles/sysadm.te 2 | +++ b/policy/modules/roles/sysadm.te 3 | @@ -1169,6 +1169,11 @@ optional_policy(` 4 | ') 5 | 6 | optional_policy(` 7 | + tpmutil_run(sysadm_t, sysadm_r) 8 | + tpmutil_sa_run(sysadm_t, sysadm_r) 9 | +') 10 | + 11 | +optional_policy(` 12 | tripwire_run_siggen(sysadm_t, sysadm_r) 13 | tripwire_run_tripwire(sysadm_t, sysadm_r) 14 | tripwire_run_twadmin(sysadm_t, sysadm_r) 15 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/tpmsetup-interfaces.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/roles/sysadm.te 2 | +++ b/policy/modules/roles/sysadm.te 3 | @@ -1169,6 +1169,10 @@ optional_policy(` 4 | ') 5 | 6 | optional_policy(` 7 | + tpmsetup_role(sysadm_r, sysadm_t) 8 | +') 9 | + 10 | +optional_policy(` 11 | tpmutil_run(sysadm_t, sysadm_r) 12 | tpmutil_sa_run(sysadm_t, sysadm_r) 13 | ') 14 | --- a/policy/modules/system/lvm.te 15 | +++ b/policy/modules/system/lvm.te 16 | @@ -380,6 +380,11 @@ optional_policy(` 17 | rpm_manage_script_tmp_files(lvm_t) 18 | ') 19 | 20 | +# leaked fds? 21 | +optional_policy(` 22 | + tpmsetup_rw_semaphores(lvm_t) 23 | +') 24 | + 25 | optional_policy(` 26 | udev_read_db(lvm_t) 27 | udev_read_runtime_files(lvm_t) 28 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/txtstat-interfaces.diff: -------------------------------------------------------------------------------- 1 | Index: refpolicy/policy/modules/roles/sysadm.te 2 | =================================================================== 3 | --- refpolicy.orig/policy/modules/roles/sysadm.te 4 | +++ refpolicy/policy/modules/roles/sysadm.te 5 | @@ -1124,6 +1124,10 @@ optional_policy(` 6 | ') 7 | 8 | optional_policy(` 9 | + txtstat_run(sysadm_t, sysadm_r) 10 | +') 11 | + 12 | +optional_policy(` 13 | tzdata_domtrans(sysadm_t) 14 | ') 15 | 16 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/uid-interfaces.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/services/networkmanager.te 2 | +++ b/policy/modules/services/networkmanager.te 3 | @@ -391,6 +391,10 @@ optional_policy(` 4 | ') 5 | 6 | optional_policy(` 7 | + uid_dbus_send(NetworkManager_t) 8 | +') 9 | + 10 | +optional_policy(` 11 | vpn_domtrans(NetworkManager_t) 12 | vpn_kill(NetworkManager_t) 13 | vpn_signal(NetworkManager_t) 14 | --- a/policy/modules/system/xen.te 15 | +++ b/policy/modules/system/xen.te 16 | @@ -276,6 +276,7 @@ tapctl_domtrans(xend_t) 17 | tapdisk_filetrans_control_dir(xend_t) 18 | 19 | dbd_dbus_chat(xend_t) 20 | +uid_dbus_chat(xend_t) 21 | 22 | kernel_read_kernel_sysctls(xend_t) 23 | kernel_read_system_state(xend_t) 24 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/vhdutils-interfaces.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/system/xen.te 2 | +++ b/policy/modules/system/xen.te 3 | @@ -476,6 +476,10 @@ optional_policy(` 4 | virt_read_config(xend_t) 5 | ') 6 | 7 | +optional_policy(` 8 | + vhdutil_domtrans(xend_t) 9 | +') 10 | + 11 | ######################################## 12 | # 13 | # Xen console local policy 14 | --- a/policy/modules/roles/sysadm.te 15 | +++ b/policy/modules/roles/sysadm.te 16 | @@ -1280,6 +1280,10 @@ optional_policy(` 17 | ') 18 | 19 | optional_policy(` 20 | + vhdutil_run(sysadm_t, sysadm_r) 21 | +') 22 | + 23 | +optional_policy(` 24 | webalizer_run(sysadm_t, sysadm_r) 25 | ') 26 | 27 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/vusb-interfaces.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/system/xen.te 2 | +++ b/policy/modules/system/xen.te 3 | @@ -283,6 +283,10 @@ tapdisk_domtrans(xend_t) 4 | tapctl_domtrans(xend_t) 5 | tapdisk_filetrans_control_dir(xend_t) 6 | 7 | +# vusb domain transition 8 | +vusbc_exec_domtrans(xend_t) 9 | +vusbd_dbus_send(xend_t) 10 | + 11 | dbd_dbus_chat(xend_t) 12 | uid_dbus_chat(xend_t) 13 | 14 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/xc-installer-interfaces.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/system/lvm.te 2 | +++ b/policy/modules/system/lvm.te 3 | @@ -418,4 +418,6 @@ optional_policy(` 4 | updatemgr_dontaudit_rw_fifo_files(lvm_t) 5 | updatemgr_dontaudit_rw_stream_sockets(lvm_t) 6 | updatemgr_dontaudit_search_storage(lvm_t) 7 | + xc_installer_read_tmp_files(lvm_t) 8 | + xc_installer_read_tmpfs_files(lvm_t) 9 | ') 10 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/xl-sysadm-interfaces.patch: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/roles/sysadm.te 2 | +++ b/policy/modules/roles/sysadm.te 3 | @@ -1337,6 +1337,7 @@ optional_policy(` 4 | viptables_run(sysadm_t, sysadm_r) 5 | xentop_run(sysadm_t, sysadm_r) 6 | xec_run(sysadm_t, sysadm_r) 7 | + xen_run_xm(sysadm_t, sysadm_r) 8 | ') 9 | 10 | ifndef(`distro_redhat',` 11 | --- a/policy/modules/system/xen.te 12 | +++ b/policy/modules/system/xen.te 13 | @@ -660,6 +660,8 @@ files_lock_filetrans(xm_t, xen_lock_t, f 14 | 15 | manage_files_pattern(xm_t, xend_var_log_t, xend_var_log_t) 16 | 17 | +seutil_use_newrole_fds(xm_t) 18 | + 19 | manage_files_pattern(xm_t, xend_var_lib_t, xend_var_lib_t) 20 | manage_fifo_files_pattern(xm_t, xend_var_lib_t, xend_var_lib_t) 21 | manage_sock_files_pattern(xm_t, xend_var_lib_t, xend_var_lib_t) 22 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/patches/xsmutils-interfaces.diff: -------------------------------------------------------------------------------- 1 | --- a/policy/modules/roles/sysadm.te 2 | +++ b/policy/modules/roles/sysadm.te 3 | @@ -1414,3 +1414,6 @@ ifndef(`distro_redhat',` 4 | ') 5 | ') 6 | 7 | +optional_policy(` 8 | + xsmutil_run(sysadm_t, sysadm_r) 9 | +') 10 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/policy/booleans.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Enable reading of urandom for all domains. 3 | # 4 | # 5 | # 6 | # 7 | # This should be enabled when all programs 8 | # are compiled with ProPolice/SSP 9 | # stack smashing protection. All domains will 10 | # be allowed to read from /dev/urandom. 11 | # 12 | global_ssp = false 13 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/policy/modules/services/argo-input.fc: -------------------------------------------------------------------------------- 1 | /usr/bin/argo-input-receiver -- gen_context(system_u:object_r:argo_input_receiver_exec_t,s0) 2 | /usr/bin/argo-input-sender -- gen_context(system_u:object_r:argo_input_sender_exec_t,s0) 3 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/policy/modules/services/argo-input.if: -------------------------------------------------------------------------------- 1 | ## argo-input-sender 2 | 3 | ####################################### 4 | ## 5 | ## Run and transition into the 6 | ## argo_input_sender_t domain 7 | ## 8 | ## 9 | ## 10 | ## The type of the process launching argo-input-sender 11 | ## 12 | ## 13 | # 14 | interface(`argo_input_sender_domtrans',` 15 | gen_require(` 16 | type argo_input_sender_t, argo_input_sender_exec_t; 17 | class dbus send_msg; 18 | ') 19 | 20 | corecmd_search_bin($1) 21 | domtrans_pattern($1, argo_input_sender_exec_t, argo_input_sender_t) 22 | ') 23 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/policy/modules/services/disman.fc: -------------------------------------------------------------------------------- 1 | /etc/init\.d/disman -- gen_context(system_u:object_r:disman_initrc_exec_t,s0) 2 | 3 | /usr/bin/disman -- gen_context(system_u:object_r:disman_exec_t,s0) 4 | /usr/bin/disman-hotplug\.sh -- gen_context(system_u:object_r:disman_script_exec_t,s0) 5 | 6 | /run/disman\.pid -- gen_context(system_u:object_r:disman_var_run_t,s0) 7 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/policy/modules/services/disman.if: -------------------------------------------------------------------------------- 1 | ######################################## 2 | ## 3 | ## Send and receive messages from 4 | ## disman over dbus. 5 | ## 6 | ## 7 | ## 8 | ## Domain allowed access. 9 | ## 10 | ## 11 | # 12 | interface(`disman_dbus_chat',` 13 | gen_require(` 14 | type disman_t; 15 | class dbus send_msg; 16 | ') 17 | 18 | allow $1 disman_t:dbus send_msg; 19 | allow disman_t $1:dbus send_msg; 20 | ') 21 | 22 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/policy/modules/services/glass.fc: -------------------------------------------------------------------------------- 1 | /etc/vglass(/.*)? gen_context(system_u:object_r:glass_etc_t,s0) 2 | /etc/init\.d/vglass -- gen_context(system_u:object_r:glass_initrc_exec_t,s0) 3 | 4 | /usr/bin/glass -- gen_context(system_u:object_r:glass_exec_t,s0) 5 | 6 | /run/glass\.pid -- gen_context(system_u:object_r:glass_var_run_t,s0) 7 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/policy/modules/services/glass.if: -------------------------------------------------------------------------------- 1 | ######################################## 2 | ## 3 | ## Send and receive messages from 4 | ## glass over dbus. 5 | ## 6 | ## 7 | ## 8 | ## Domain allowed access. 9 | ## 10 | ## 11 | # 12 | interface(`glass_dbus_chat',` 13 | gen_require(` 14 | type glass_t; 15 | class dbus send_msg; 16 | ') 17 | 18 | allow $1 glass_t:dbus send_msg; 19 | allow glass_t $1:dbus send_msg; 20 | ') 21 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/policy/modules/services/ivcd.fc: -------------------------------------------------------------------------------- 1 | /etc/init\.d/ivcdaemon -- gen_context(system_u:object_r:ivcd_initrc_exec_t,s0) 2 | 3 | /usr/bin/ivcdaemon -- gen_context(system_u:object_r:ivcd_exec_t,s0) 4 | 5 | /run/ivc_control -s gen_context(system_u:object_r:ivcd_var_run_t,s0) 6 | 7 | /run/ivcdaemon\.pid -- gen_context(system_u:object_r:ivcd_var_run_t,s0) 8 | -------------------------------------------------------------------------------- /recipes-security/refpolicy/refpolicy-mcs/policy/modules/services/ivcd.if: -------------------------------------------------------------------------------- 1 | ######################################## 2 | ## 3 | ## Connect to ivcdaemon over a unix stream socket. 4 | ## 5 | ## 6 | ## 7 | ## Domain allowed access. 8 | ## 9 | ## 10 | # 11 | interface(`ivcd_stream_connect',` 12 | gen_require(` 13 | type ivcd_t, ivcd_var_run_t; 14 | ') 15 | 16 | files_search_pids($1) 17 | stream_connect_pattern($1, ivcd_var_run_t, ivcd_var_run_t, ivcd_t) 18 | ') 19 | -------------------------------------------------------------------------------- /recipes-security/selinux/libselinux/libselinux_3.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/patches:" 2 | SRC_URI += " \ 3 | file://libselinux-mount-procfs-before-check.patch;patch=1 \ 4 | " 5 | 6 | # We need to support stat on files >2GB in size. 7 | CFLAGS += "-D_FILE_OFFSET_BITS=64" 8 | -------------------------------------------------------------------------------- /recipes-security/selinux/policycoreutils/policycoreutils_%.bbappend: -------------------------------------------------------------------------------- 1 | AUDITH="`test -f ${STAGING_INCDIR}/libaudit.h >/dev/null 2>&1 && echo y `" 2 | PAMH="`test -f ${STAGING_INCDIR}/security/pam_appl.h >/dev/null 2>&1 && echo y `" 3 | -------------------------------------------------------------------------------- /recipes-security/selinux/selinux-load_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Small script to load SELinux policy." 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM="file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 4 | 5 | SRC_URI = " \ 6 | file://selinux-load.sh \ 7 | " 8 | 9 | S = "${WORKDIR}" 10 | 11 | inherit allarch 12 | 13 | do_install() { 14 | install -d ${D}/sbin 15 | install -m 0755 ${WORKDIR}/selinux-load.sh ${D}/sbin 16 | } 17 | -------------------------------------------------------------------------------- /recipes-security/selinux/svirt-interpose_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "SELinux qemu-dm interposer" 2 | DEPENDS = "libselinux xen-tools" 3 | LICENSE = "GPLv2" 4 | LIC_FILES_CHKSUM="file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" 5 | 6 | SRC_URI = "file://svirt-interpose.c" 7 | 8 | S = "${WORKDIR}" 9 | 10 | LDFLAGS += "-lxenstore -lselinux" 11 | 12 | ASNEEDED = "" 13 | 14 | do_compile() { 15 | oe_runmake svirt-interpose 16 | # ${STRIP} svirt-interpose 17 | } 18 | 19 | do_install() { 20 | install -d ${D}${sbindir} 21 | install -m 0755 ${WORKDIR}/svirt-interpose ${D}${sbindir} 22 | } 23 | 24 | DEBUG_BUILD = "1" 25 | -------------------------------------------------------------------------------- /recipes-security/tboot/tboot-arch.inc: -------------------------------------------------------------------------------- 1 | valid_tboot_archs = " \ 2 | x86_64 x86_32 \ 3 | " 4 | 5 | def map_tboot_arch(a, d): 6 | import re 7 | valid_archs = d.getVar('valid_tboot_archs').split() 8 | 9 | if re.match("i.86", a): return "x86_32" 10 | elif re.match("x86.64", a): return "x86_64" 11 | else: 12 | return "INVALID" 13 | 14 | -------------------------------------------------------------------------------- /recipes-security/tss2/tpm2-tools_3.1.3.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Tools for TPM2." 2 | DESCRIPTION = "tpm2-tools" 3 | SECTION = "tpm" 4 | 5 | LICENSE = "BSD" 6 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=91b7c548d73ea16537799e8060cea819" 7 | DEPENDS = "tpm2-tss openssl curl autoconf-archive pkgconfig libgcrypt" 8 | 9 | SRCREV = "74ba065e5914bc5d713ca3709d62a5751b097369" 10 | SRC_URI = "git://github.com/01org/tpm2-tools.git;protocol=https;branch=3.X \ 11 | file://tpm2-tools-lib-support.patch \ 12 | file://tpm2-sealing-support.patch \ 13 | file://tpm2-unsealing-support.patch \ 14 | file://tpm2-extendpcr-support.patch \ 15 | file://tpm2-nvlist-drop-ntoh.patch \ 16 | " 17 | 18 | S = "${WORKDIR}/git" 19 | 20 | inherit autotools pkgconfig 21 | 22 | PACKAGES =+ "tpm2-tools-initrd" 23 | FILES_${PN}-initrd = " \ 24 | ${bindir}/tpm2_pcrlist \ 25 | ${bindir}/tpm2_extendpcr \ 26 | " 27 | RDEPENDS_${PN} += "${PN}-initrd" 28 | -------------------------------------------------------------------------------- /recipes-support/anthy/anthy-native_9100e.bb: -------------------------------------------------------------------------------- 1 | require anthy_${PV}.bb 2 | 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 4 | 5 | DEPENDS = "" 6 | PACKAGES = "" 7 | PR = "r1" 8 | 9 | S = "${WORKDIR}/anthy-${PV}" 10 | 11 | inherit native 12 | -------------------------------------------------------------------------------- /recipes-support/anthy/files/2ch_t.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-support/anthy/files/2ch_t.patch -------------------------------------------------------------------------------- /recipes-support/anthy/files/format-security-fixes.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenXT/xenclient-oe/d900429f6640acc6f68a3d3a4c945d7da60625d8/recipes-support/anthy/files/format-security-fixes.patch -------------------------------------------------------------------------------- /recipes-support/anthy/files/not_build_elc.patch: -------------------------------------------------------------------------------- 1 | upstream: not applicable 2 | source: stolen from debian 3 | 4 | diff -Naur anthy-7811/src-util.orig/Makefile.am anthy-7811/src-util/Makefile.am 5 | --- anthy-7811/src-util.orig/Makefile.am 2006-06-18 10:47:55.790000000 +0900 6 | +++ anthy-7811/src-util/Makefile.am 2006-06-18 10:48:23.860000000 +0900 7 | @@ -6,7 +6,8 @@ 8 | anthy-isearch.el anthy-azik.el anthy-kyuri.el 9 | EXTRA_DIST = $(ELISP_FILES) typetab dic-tool-usage.txt rcsize.rb 10 | bin_PROGRAMS = anthy-dic-tool anthy-agent anthy-morphological-analyzer 11 | -ELCFILES = anthy.elc anthy-dic.elc anthy-azik.elc anthy-conf.elc anthy-isearch.elc anthy-kyuri.elc leim-list.elc 12 | +#ELCFILES = anthy.elc anthy-dic.elc anthy-azik.elc anthy-conf.elc anthy-isearch.elc anthy-kyuri.elc leim-list.elc 13 | +ELCFILES = 14 | if ELISP 15 | lisp_LISP = $(ELISP_FILES) 16 | endif 17 | -------------------------------------------------------------------------------- /recipes-support/console-setup/console-setup-ckbcomp-native_1.191.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Convert XKB keymap to console keymap" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM="file://COPYRIGHT;md5=49cab1cfd397b014807c5b2bcc63e04f" 4 | RDEPENDS_${PN} = "perl-native" 5 | 6 | # Don't bother building the whole package. We only want the ckbcomp script. 7 | 8 | SRC_URI = "git://salsa.debian.org/installer-team/console-setup.git;protocol=https" 9 | # The hash of the 1.191 tag: 10 | SRCREV = "681544fa6481fb62b362f4fadeda5bbdf3389307" 11 | 12 | S = "${WORKDIR}/git" 13 | 14 | inherit native 15 | 16 | do_compile() { 17 | : 18 | } 19 | 20 | do_install() { 21 | mkdir -p "${D}/${bindir}" 22 | install -m 755 Keyboard/ckbcomp "${D}/${bindir}" 23 | } 24 | 25 | #do_stage() { 26 | # mkdir -p ${STAGING_BINDIR} 27 | # install -m 755 Keyboard/ckbcomp ${STAGING_BINDIR}/ 28 | #} 29 | -------------------------------------------------------------------------------- /recipes-support/consolekit/consolekit_0.4.6.bbappend: -------------------------------------------------------------------------------- 1 | DEPENDS += " \ 2 | polkit \ 3 | libpam \ 4 | " 5 | PACKAGECONFIG_append += "polkit pam" 6 | -------------------------------------------------------------------------------- /recipes-support/dnsmasq/dnsmasq_2.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/patches:" 2 | SRC_URI += " \ 3 | file://dnsmasq_dnsout_interface.patch;patch=1 \ 4 | " 5 | 6 | # we don't want all the "goodies" in dnsmasq package, 7 | # instead we split the package into dnsmasq-full containing everything 8 | # and very minimal dnsmasq containing just a single binary 9 | PACKAGES =+ "${PN}-full" 10 | INITSCRIPT_PACKAGES = "${PN}-full" 11 | RDEPENDS_${PN}-full = "${PN}" 12 | FILES_${PN}-full = "${sysconfdir}/*" 13 | CONFFILES_${PN}-full = "${sysconfdir}/dnsmasq.conf" 14 | CONFFILES_${PN} = "" 15 | -------------------------------------------------------------------------------- /recipes-support/lvm2/lvm2/volatiles.99_cryptsetup: -------------------------------------------------------------------------------- 1 | d root root 0755 /var/run/lvm none 2 | -------------------------------------------------------------------------------- /recipes-support/pesign/files/0001-Disable-warning.patch: -------------------------------------------------------------------------------- 1 | From b27e3c385e66594687f58a6f7eedff4374f5929c Mon Sep 17 00:00:00 2001 2 | From: Tamas K Lengyel 3 | Date: Fri, 2 Mar 2018 12:59:39 -0700 4 | Subject: [PATCH] Disable #warning 5 | 6 | --- 7 | libdpe/pe_updatefile.c | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/libdpe/pe_updatefile.c b/libdpe/pe_updatefile.c 11 | index 7caefd9..6ac4309 100644 12 | --- a/libdpe/pe_updatefile.c 13 | +++ b/libdpe/pe_updatefile.c 14 | @@ -132,7 +132,7 @@ __pe_updatemmap(Pe *pe, size_t shnum __attribute__((__unused__))) 15 | char *msync_end = (char *)dd + sizeof(*dd); 16 | msync(msync_start, msync_end - msync_start, MS_SYNC); 17 | 18 | - #warning this is not done yet. 19 | + //#warning this is not done yet. 20 | //struct section_header *sh = __get_last_section(pe); 21 | 22 | size_t dd_size = sizeof (*dd) / sizeof (dd->exports); 23 | -- 24 | 2.11.0 25 | 26 | -------------------------------------------------------------------------------- /recipes-support/pesign/files/0002-Init-error.patch: -------------------------------------------------------------------------------- 1 | From 95ca2a91d7d72f179cb245fdbc5018bd7b57605c Mon Sep 17 00:00:00 2001 2 | From: Tamas K Lengyel 3 | Date: Fri, 2 Mar 2018 13:37:18 -0700 4 | Subject: [PATCH 2/2] Init error 5 | 6 | --- 7 | src/pesign.c | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/src/pesign.c b/src/pesign.c 11 | index 6ceda34..39a5757 100644 12 | --- a/src/pesign.c 13 | +++ b/src/pesign.c 14 | @@ -660,7 +660,7 @@ main(int argc, char *argv[]) 15 | 16 | if (!daemon) { 17 | SECStatus status; 18 | - int error; 19 | + int error = 0; 20 | if (need_db) { 21 | status = NSS_Init(certdir); 22 | if (status != SECSuccess) { 23 | -- 24 | 2.11.0 25 | 26 | -------------------------------------------------------------------------------- /recipes-support/read-edid/read-edid_3.0.2.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "read-edid elucidates various very useful informations from a conforming PnP monitor" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=292c42e2aedc4af636636bf7af0e2b26" 4 | 5 | SRC_URI = "http://polypux.org/projects/read-edid/read-edid-${PV}.tar.gz " 6 | 7 | SRC_URI[md5sum] = "016546e438bf6c98739ff74061df9854" 8 | SRC_URI[sha256sum] = "c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f" 9 | 10 | inherit pkgconfig cmake 11 | 12 | # Don't build the classic VBE interface at all 13 | EXTRA_OECMAKE = " -DCLASSICBUILD=OFF " 14 | 15 | do_install() { 16 | install -d ${D}${bindir} 17 | install -m 0755 ${B}/parse-edid/parse-edid ${D}${bindir} 18 | install -m 0755 ${B}/get-edid/get-edid ${D}${bindir} 19 | } 20 | 21 | -------------------------------------------------------------------------------- /recipes-support/rng-tools/rng-tools/default: -------------------------------------------------------------------------------- 1 | EXTRA_ARGS="-r /dev/hwrng -q" 2 | -------------------------------------------------------------------------------- /recipes-support/rng-tools/rng-tools_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | -------------------------------------------------------------------------------- /recipes-support/uim/patches/disable-right-click-menu.patch: -------------------------------------------------------------------------------- 1 | --- a/gtk2/toolbar/common-gtk.c 2 | +++ b/gtk2/toolbar/common-gtk.c 3 | @@ -345,11 +345,12 @@ right_click_menu_activated(GtkMenu *menu 4 | static gboolean 5 | right_button_pressed(GtkButton *button, GdkEventButton *event, gpointer data) 6 | { 7 | +#ifndef OPENXT_BRANDING 8 | gtk_menu_popup(GTK_MENU(right_click_menu), NULL, NULL, 9 | (GtkMenuPositionFunc)calc_menu_position, 10 | (gpointer)button, event->button, 11 | gtk_get_current_event_time()); 12 | - 13 | +#endif /* OPENXT_BRANDING */ 14 | return FALSE; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /recipes-support/uim/patches/hide-toolbar-from-env.patch: -------------------------------------------------------------------------------- 1 | --- a/gtk2/toolbar/standalone-gtk.c 2 | +++ b/gtk2/toolbar/standalone-gtk.c 3 | @@ -290,6 +290,9 @@ main(int argc, char *argv[]) 4 | GtkWidget *frame; 5 | #endif /* OPENXT_BRANDING */ 6 | 7 | + const char *env_show_toolbar = getenv("UIM_SHOW_TOOLBAR"); 8 | + int show_toolbar = !env_show_toolbar || !strcmp(env_show_toolbar, "1"); 9 | + 10 | setlocale(LC_ALL, ""); 11 | bindtextdomain(PACKAGE, LOCALEDIR); 12 | textdomain(PACKAGE); 13 | @@ -369,6 +372,9 @@ main(int argc, char *argv[]) 14 | G_CALLBACK(size_request_cb), NULL); 15 | #endif 16 | 17 | + if (!show_toolbar) 18 | + goto skip_toolbar; 19 | + 20 | gtk_widget_show_all(GTK_WIDGET(window)); 21 | 22 | #ifdef OPENXT_BRANDING 23 | @@ -409,6 +415,7 @@ main(int argc, char *argv[]) 24 | helper_win_set_position(window, x, y); 25 | } 26 | 27 | +skip_toolbar: 28 | gtk_main(); 29 | 30 | uim_quit(); 31 | -------------------------------------------------------------------------------- /recipes-support/uim/uim_1.8.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/patches:" 2 | 3 | SRC_URI += " \ 4 | file://openxt-branding.patch \ 5 | file://disable-right-click-menu.patch \ 6 | file://filter-input-methods.patch \ 7 | file://hide-toolbar-from-env.patch \ 8 | " 9 | 10 | EXTRA_OEMAKE_append += "CFLAGS+=-DOPENXT_BRANDING" 11 | 12 | # This should not be necessary, yet autoconf will not set PKG_CONFIG 13 | # automatically (it does for other projects...), which in turn will fail all 14 | # PKG_CHECK_MODULES. 15 | export PKG_CONFIG="pkg-config" 16 | -------------------------------------------------------------------------------- /recipes-support/vim/vim-tiny_%.bbappend: -------------------------------------------------------------------------------- 1 | # Don't build graphical support to avoid X11/GTK3 depends 2 | PACKAGECONFIG_remove = "gtkgui x11" 3 | --------------------------------------------------------------------------------