Skip to contentSkip to conversation

create meta-installer layer

PATCH In review Hongxu Jia 4 participants 24 messages Nov 23, 2017 – Nov 25, 2017

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

cover create meta-installer layer

The meta-installer layer provides a collection of installation programs based on OE platform.

One implementation is the target installer 'anaconda', the version is 26.21.11 which is based on Fedora 26.

The anacoda requires:
- systemd as init manager
- python3
- dnf2/rpm4
- gobject-introspection which requires qemu-usermode in MACHINE_FEATURES

The anaconda provides:
- graphic install and text install.

- package based (dnf/rpm) install and image (copy) based install.

- package based (dnf/rpm) install from local and
remote rpm sources such as CDs and DVDs, images
stored on a hard drive, NFS, HTTP, and FTP.

- kickstart install which provides a fully unattended installation that can be duplicated on scores of machines.

- install over VNC on headless machines.

- timezone setting.

- root password setting.

- user account creation.

- a variety of advanced storage devices including
LVM, Btrfs, Ext4, and filesystem encryption.

TODO (currently not support):
- keyboard setting

- language support setting

- network & host name setting

//Hongxu

The following changes since commit 34aa4c3202b427f59f843dc43a4e1afda4f81d13:

usb-modeswitch: add [email protected] (2017-11-19 13:45:38 -0800)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib hongxu/meta-installer
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/meta-installer

Hongxu Jia (15):
meta-installer: create layer
meta-installer: add kernel config
meta-installer: add anaconda support for target build
meta-installer: add distro anaconda for host build
meta-installer: add systemd/systemd-serialgetty bbappend
meta-installer: add gtk+3 bbappend
meta-installer: add initramfs-live-boot bbappend
meta-installer: add xserver-xf86-config bbappend
meta-installer: add multipath-tools bbappend
meta-installer: add recipe packagegroup-installer-x11-anaconda
meta-installer: add recipe yocto-compat-logos
meta-installer: add recipe anaconda-init
meta-installer: add recipe anaconda 26.21.11
meta-installer: add recipe core-image-anaconda
meta-installer: add recipe core-image-anaconda-initramfs

 meta-installer/COPYING.MIT                         |  17 +
 meta-installer/README                              |  47 ++
 meta-installer/README.anaconda                     | 341 ++++++++++++
 meta-installer/classes/anaconda_image.bbclass      | 321 +++++++++++
 meta-installer/classes/anaconda_kernel.bbclass     |  14 +
 .../classes/anaconda_support_image.bbclass         |  40 ++
 .../classes/anaconda_support_kernel.bbclass        |   8 +
 meta-installer/conf/distro/anaconda.conf           |  33 ++
 meta-installer/conf/layer.conf                     |  31 ++
 meta-installer/licenses/FLTK                       | 530 ++++++++++++++++++
 .../systemd/files/[email protected]            |  40 ++
 .../systemd/files/serial-screen-anaconda.sh        |   5 +
 .../systemd/systemd-serialgetty.bbappend           |  12 +
 .../recipes-core/systemd/systemd_%.bbappend        |   6 +
 ...for-anaconda-installer-while-loading-libA.patch |  84 +++
 .../recipes-gnome/gtk+/gtk+3_%.%.%.bbappend        |   3 +
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |  12 +
 .../anaconda-init/anaconda-init.bb                 |  77 +++
 .../anaconda-init/anaconda-init/COPYING            | 339 ++++++++++++
 .../anaconda-init/anaconda-init/Xusername          |   1 +
 .../anaconda-init/anaconda-init/anaconda-init      | 362 +++++++++++++
 .../anaconda-init/[email protected]    |  22 +
 .../anaconda-init/anaconda-init.service            |  13 +
 .../anaconda-init/anaconda-init.target             |   6 +
 .../anaconda/files/0001-do-not-support-po.patch    |  41 ++
 ...02-widgets-Makefile.am-do-not-compile-doc.patch |  28 +
 ...t-Use-system-Python-when-running-Anaconda.patch |  42 ++
 ...4-pyanaconda-flags.py-drop-selinux-module.patch |  48 ++
 ...ckage-site-dir-for-installclass-searching.patch |  38 ++
 ...06-do-not-load-the-system-wide-Xresources.patch |  53 ++
 .../0007-tweak-iso-mount-dir-and-kernel-name.patch |  95 ++++
 .../0008-dnfpayload.py-customize-for-WRLinux.patch | 597 +++++++++++++++++++++
 ...cessary-noverifyssl-for-http-ftp-protocol.patch |  32 ++
 .../0010-dynamic-detect-workable-locale.patch      |  77 +++
 .../files/0011-improve-thread-monitor.patch        |  55 ++
 .../anaconda/files/0012-disable-audit.patch        |  64 +++
 ...py-Change-grub2-settings-to-match-oe-core.patch | 137 +++++
 .../files/0014-tweak-detect-kernel-version.patch   |  96 ++++
 .../0015-tweak-grub-config-file-for-WRLinux.patch  |  28 +
 ...time.tzset-to-apply-timezone-changes-when.patch |  66 +++
 ...rt-Authconfig-Firewall-Firstboot-Timezone.patch | 216 ++++++++
 .../files/0018-invisible-help-button.patch         |  32 ++
 .../0019-disable-non-implemented-functions.patch   |  41 ++
 .../files/0020-disable-geoloc-by-default.patch     |  30 ++
 .../anaconda/files/0021-support-UEFI-boot.patch    |  38 ++
 ...o-not-verify-ssl-certification-by-default.patch |  44 ++
 .../files/0023-tweak-default-nfs-mount-point.patch |  30 ++
 .../0024-fix-quoted-empty-string-failed.patch      |  46 ++
 ...support-ISO-hold-by-hard-drive-partitions.patch |  31 ++
 ...x-cannot-stat-usr-share-gettext-gettext.h.patch |  27 +
 .../0027-fix-Wind-River-boot-menu-not-work.patch   |  35 ++
 .../files/0028-tweak-bootloader-fs-type.patch      |  31 ++
 .../files/0029-support-timezone-setting.patch      |  95 ++++
 .../anaconda/files/0030-disable-ntp-support.patch  | 230 ++++++++
 .../0031-do-not-support-manually-set-time.patch    |  32 ++
 .../files/0032-support-user-account-creation.patch |  73 +++
 .../files/0033-detect-existence-of-Xorg.patch      |  45 ++
 ...-write-network-conf-failed-while-liveinst.patch |  40 ++
 ...mmits-to-support-reboot-for-live-installs.patch |  72 +++
 ...tory-setting-do-not-support-local-ISO-fil.patch |  72 +++
 ...ext-repository-setting-support-http-proxy.patch |  95 ++++
 ...-set-keyboard-xlayouts-with-us-by-default.patch |  50 ++
 ...xt-do-not-support-network-setting-for-now.patch |  33 ++
 .../0040-tweak-boot-storage-sanity-check.patch     |  31 ++
 ...tart-do-not-support-network-configuration.patch |  29 +
 ...042-support-to-get-kickstart-from-network.patch |  48 ++
 ...0043-support-authentication-for-kickstart.patch | 133 +++++
 ...nloading-file-from-http-ftp-server-to-tar.patch | 175 ++++++
 .../0045-live-install-supports-kickstart.patch     |  47 ++
 .../files/0046-support-initramfs-boot.patch        |  48 ++
 ...47-fix-hang-while-installed-system-reboot.patch |  30 ++
 ...talled-system-boot-from-encrypt-fs-failed.patch |  48 ++
 ...n-destination-disable-iSCSI-network-disks.patch |  29 +
 .../0050-update-region-while-city-changes.patch    |  32 ++
 .../0051-timezone-fix-set-US-Alaska-failed.patch   |  38 ++
 ...remove-incorrect-prefix-of-addon-repo-url.patch |  42 ++
 .../0053-fix-write-sysconfig-network-failed.patch  |  32 ++
 ...naconda-ui-gui-utils.py-tweak-mouse-arrow.patch |  31 ++
 ...5-tweak-search-location-of-new-kernel-pkg.patch |  30 ++
 .../0056-always-write-fstab-after-install.patch    |  31 ++
 ...e-grub-install-to-generate-efi-filesystem.patch |  60 +++
 .../files/0058-do-not-support-closest-mirror.patch |  96 ++++
 .../0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch |  42 ++
 .../anaconda/files/0060-tweak-time-setting.patch   | 106 ++++
 ...62-Add-dracut-args-for-home-to-bootloader.patch |  35 ++
 .../files/0063-do-not-customize-window-theme.patch |  55 ++
 .../files/0064-tweak-product-short-name.patch      |  33 ++
 .../anaconda/files/0065-disable-dmraid.patch       |  57 ++
 .../files/0066-tweak-shebang-of-bash.patch         |  25 +
 .../anaconda/files/0067-Tweak-label-name.patch     |  56 ++
 ...068-livepayload.py-copy-grub-from-host-os.patch |  51 ++
 .../files/0069-test-existence-of-noverifyssl.patch |  31 ++
 .../anaconda/files/81-edit-sudoers.ks              |   3 +
 .../recipes-installer/anaconda/files/wrlinux.py    | 112 ++++
 .../anaconda/python3-anaconda_26.21.11.bb          | 161 ++++++
 .../images/core-image-anaconda-initramfs.bb        |  33 ++
 .../images/core-image-anaconda.bb                  |  34 ++
 .../initrdscripts/files/init-live.sh               | 249 +++++++++
 .../initrdscripts/initramfs-live-boot_1.0.bbappend |   5 +
 .../recipes-installer/logos/yocto-compat-logos.bb  |  24 +
 .../logos/yocto-compat-logos/COPYING               | 339 ++++++++++++
 .../logos/yocto-compat-logos/banner_yocto1.png     | Bin 0 -> 44650 bytes
 .../logos/yocto-compat-logos/banner_yocto2.png     | Bin 0 -> 39223 bytes
 .../logos/yocto-compat-logos/sidebar-logo.png      | Bin 0 -> 17651 bytes
 .../logos/yocto-compat-logos/topbar-bg.png         | Bin 0 -> 77956 bytes
 .../packagegroup-installer-x11-anaconda.bb         |  28 +
 .../packagegroups/packagegroup-anaconda-support.bb |  26 +
 .../recipes-kernel/linux/files/crypt.cfg           |   2 +
 .../recipes-kernel/linux/files/crypt.scc           |   1 +
 .../recipes-kernel/linux/files/dmthin.cfg          |   1 +
 .../recipes-kernel/linux/files/dmthin.scc          |   1 +
 .../recipes-kernel/linux/files/efivars.cfg         |   1 +
 .../recipes-kernel/linux/files/efivars.scc         |   1 +
 meta-installer/recipes-kernel/linux/files/ide.cfg  |   5 +
 meta-installer/recipes-kernel/linux/files/ide.scc  |   1 +
 .../recipes-kernel/linux/files/liveinstall.cfg     |   5 +
 .../recipes-kernel/linux/files/liveinstall.scc     |   1 +
 .../recipes-kernel/linux/files/multipath.cfg       |   3 +
 .../recipes-kernel/linux/files/multipath.scc       |   1 +
 .../multipath-tools/multipath-tools_%.bbappend     |   8 +
 120 files changed, 7845 insertions(+)
 create mode 100644 meta-installer/COPYING.MIT
 create mode 100644 meta-installer/README
 create mode 100644 meta-installer/README.anaconda
 create mode 100644 meta-installer/classes/anaconda_image.bbclass
 create mode 100644 meta-installer/classes/anaconda_kernel.bbclass
 create mode 100644 meta-installer/classes/anaconda_support_image.bbclass
 create mode 100644 meta-installer/classes/anaconda_support_kernel.bbclass
 create mode 100644 meta-installer/conf/distro/anaconda.conf
 create mode 100644 meta-installer/conf/layer.conf
 create mode 100644 meta-installer/licenses/FLTK
 create mode 100644 meta-installer/recipes-core/systemd/files/[email protected]
 create mode 100644 meta-installer/recipes-core/systemd/files/serial-screen-anaconda.sh
 create mode 100644 meta-installer/recipes-core/systemd/systemd-serialgetty.bbappend
 create mode 100644 meta-installer/recipes-core/systemd/systemd_%.bbappend
 create mode 100644 meta-installer/recipes-gnome/gtk+/files/workaround-for-anaconda-installer-while-loading-libA.patch
 create mode 100644 meta-installer/recipes-gnome/gtk+/gtk+3_%.%.%.bbappend
 create mode 100644 meta-installer/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init.bb
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/COPYING
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/Xusername
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/[email protected]
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.service
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.target
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0001-do-not-support-po.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0002-widgets-Makefile.am-do-not-compile-doc.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0003-Revert-Use-system-Python-when-running-Anaconda.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0004-pyanaconda-flags.py-drop-selinux-module.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0005-add-package-site-dir-for-installclass-searching.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0006-do-not-load-the-system-wide-Xresources.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0007-tweak-iso-mount-dir-and-kernel-name.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0008-dnfpayload.py-customize-for-WRLinux.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0009-Remove-unnecessary-noverifyssl-for-http-ftp-protocol.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0010-dynamic-detect-workable-locale.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0011-improve-thread-monitor.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0012-disable-audit.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0013-bootloader.py-Change-grub2-settings-to-match-oe-core.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0014-tweak-detect-kernel-version.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0015-tweak-grub-config-file-for-WRLinux.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0016-Revert-Use-time.tzset-to-apply-timezone-changes-when.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0017-kickstart-Authconfig-Firewall-Firstboot-Timezone.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0018-invisible-help-button.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0019-disable-non-implemented-functions.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0020-disable-geoloc-by-default.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0021-support-UEFI-boot.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0022-do-not-verify-ssl-certification-by-default.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0023-tweak-default-nfs-mount-point.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0024-fix-quoted-empty-string-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0025-do-not-support-ISO-hold-by-hard-drive-partitions.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0026-fix-cannot-stat-usr-share-gettext-gettext.h.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0027-fix-Wind-River-boot-menu-not-work.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0028-tweak-bootloader-fs-type.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0029-support-timezone-setting.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0030-disable-ntp-support.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0031-do-not-support-manually-set-time.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0032-support-user-account-creation.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0033-detect-existence-of-Xorg.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0034-fix-write-network-conf-failed-while-liveinst.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0035-revert-commits-to-support-reboot-for-live-installs.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0036-text-repository-setting-do-not-support-local-ISO-fil.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0037-text-repository-setting-support-http-proxy.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0038-set-keyboard-xlayouts-with-us-by-default.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0039-text-do-not-support-network-setting-for-now.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0040-tweak-boot-storage-sanity-check.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0041-kickstart-do-not-support-network-configuration.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0042-support-to-get-kickstart-from-network.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0043-support-authentication-for-kickstart.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0044-support-downloading-file-from-http-ftp-server-to-tar.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0045-live-install-supports-kickstart.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0046-support-initramfs-boot.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0047-fix-hang-while-installed-system-reboot.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0048-fix-installed-system-boot-from-encrypt-fs-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0049-installation-destination-disable-iSCSI-network-disks.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0050-update-region-while-city-changes.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0051-timezone-fix-set-US-Alaska-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0052-remove-incorrect-prefix-of-addon-repo-url.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0053-fix-write-sysconfig-network-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0054-pyanaconda-ui-gui-utils.py-tweak-mouse-arrow.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0055-tweak-search-location-of-new-kernel-pkg.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0056-always-write-fstab-after-install.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0057-invoke-grub-install-to-generate-efi-filesystem.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0058-do-not-support-closest-mirror.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0060-tweak-time-setting.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0062-Add-dracut-args-for-home-to-bootloader.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0063-do-not-customize-window-theme.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0064-tweak-product-short-name.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0065-disable-dmraid.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0066-tweak-shebang-of-bash.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0067-Tweak-label-name.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0068-livepayload.py-copy-grub-from-host-os.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0069-test-existence-of-noverifyssl.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/81-edit-sudoers.ks
 create mode 100644 meta-installer/recipes-installer/anaconda/files/wrlinux.py
 create mode 100755 meta-installer/recipes-installer/anaconda/python3-anaconda_26.21.11.bb
 create mode 100644 meta-installer/recipes-installer/images/core-image-anaconda-initramfs.bb
 create mode 100644 meta-installer/recipes-installer/images/core-image-anaconda.bb
 create mode 100644 meta-installer/recipes-installer/initrdscripts/files/init-live.sh
 create mode 100644 meta-installer/recipes-installer/initrdscripts/initramfs-live-boot_1.0.bbappend
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos.bb
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos/COPYING
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto1.png
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto2.png
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos/sidebar-logo.png
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos/topbar-bg.png
 create mode 100644 meta-installer/recipes-installer/packagegroups/packagegroup-installer-x11-anaconda.bb
 create mode 100644 meta-installer/recipes-installersupport/packagegroups/packagegroup-anaconda-support.bb
 create mode 100644 meta-installer/recipes-kernel/linux/files/crypt.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/crypt.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/dmthin.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/dmthin.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/efivars.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/efivars.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/ide.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/ide.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/liveinstall.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/liveinstall.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/multipath.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/multipath.scc
 create mode 100644 meta-installer/recipes-support/multipath-tools/multipath-tools_%.bbappend
Signature · 1 line
2.8.1
author
#1 lore raw

PATCH 1/15 meta-installer: create layer

Create meta-installer as a collection of installation programs based on OE platform.

The target installer 'anaconda' has been maintained by Wind River for several years, and now we want to contribute it to OE community.

There are two images in target installer, one is target image which to be installed to target, another is installer image which to do the installation. Each image requires a standalone build.

For target build, enable it by DISTRO_FEATURES_append = " anaconda-support";

For host build, enable it by DISTRO = "anaconda"

Without above setting, the anaconda installer does not work even though including meta-installer, and the other installer programs in this layer will not be influenced by anaconda.

---
 meta-installer/COPYING.MIT     |  17 ++
 meta-installer/README          |  47 ++++
 meta-installer/README.anaconda | 341 ++++++++++++++++++++++++++
 meta-installer/conf/layer.conf |  29 +++
 meta-installer/licenses/FLTK   | 530 +++++++++++++++++++++++++++++++++++++++++
 5 files changed, 964 insertions(+)
 create mode 100644 meta-installer/COPYING.MIT
 create mode 100644 meta-installer/README
 create mode 100644 meta-installer/README.anaconda
 create mode 100644 meta-installer/conf/layer.conf
 create mode 100644 meta-installer/licenses/FLTK
meta-installer/COPYING.MIT new file +17 -0
new file mode 100644
index 0000000..89de354
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
meta-installer/README new file +47 -0

47 lines not on this page · raw message

meta-installer/README.anaconda new file +341 -0

341 lines not on this page · raw message

meta-installer/conf/layer.conf new file +29 -0
new file mode 100644
index 0000000..2788d1c
@@ -0,0 +1,29 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH =. "${LAYERDIR}:"
+
+# We have a packages directory, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+            ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "meta-installer"
+BBFILE_PATTERN_meta-installer = "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-installer = "10"
+
+LAYERVERSION_meta-installer = "2"
+
+LAYERDEPENDS_meta-installer = " \
+    core \
+    openembedded-layer \
+    filesystems-layer \
+    gnome-layer \
+    meta-python \
+    networking-layer \
+    meta-initramfs \
+"
+
+LICENSE_PATH += "${LAYERDIR}/licenses"
+SRC_DISTRIBUTE_LICENSES += "X11"
+SRC_DISTRIBUTE_LICENSES += "FLTK"
+
+LAYER_PATH_meta-installer = "${LAYERDIR}"
+
meta-installer/licenses/FLTK new file +530 -0

530 lines not on this page · raw message

Signature · 1 line
2.8.1
author
#2 lore raw

PATCH 2/15 meta-installer: add kernel config

In reply to Hongxu Jia

The set of kernel scc/cfg are required by target build and host build.

- For target build, add anaconda_support_kernel to KERNEL_CLASSES

- For host build, add anaconda_kernel to KERNEL_CLASSES

---
 meta-installer/classes/anaconda_kernel.bbclass            | 14 ++++++++++++++
 meta-installer/classes/anaconda_support_kernel.bbclass    |  8 ++++++++
 meta-installer/recipes-kernel/linux/files/crypt.cfg       |  2 ++
 meta-installer/recipes-kernel/linux/files/crypt.scc       |  1 +
 meta-installer/recipes-kernel/linux/files/dmthin.cfg      |  1 +
 meta-installer/recipes-kernel/linux/files/dmthin.scc      |  1 +
 meta-installer/recipes-kernel/linux/files/efivars.cfg     |  1 +
 meta-installer/recipes-kernel/linux/files/efivars.scc     |  1 +
 meta-installer/recipes-kernel/linux/files/ide.cfg         |  5 +++++
 meta-installer/recipes-kernel/linux/files/ide.scc         |  1 +
 meta-installer/recipes-kernel/linux/files/liveinstall.cfg |  5 +++++
 meta-installer/recipes-kernel/linux/files/liveinstall.scc |  1 +
 meta-installer/recipes-kernel/linux/files/multipath.cfg   |  3 +++
 meta-installer/recipes-kernel/linux/files/multipath.scc   |  1 +
 14 files changed, 45 insertions(+)
 create mode 100644 meta-installer/classes/anaconda_kernel.bbclass
 create mode 100644 meta-installer/classes/anaconda_support_kernel.bbclass
 create mode 100644 meta-installer/recipes-kernel/linux/files/crypt.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/crypt.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/dmthin.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/dmthin.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/efivars.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/efivars.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/ide.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/ide.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/liveinstall.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/liveinstall.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/multipath.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/multipath.scc
meta-installer/classes/anaconda_kernel.bbclass new file +14 -0
new file mode 100644
index 0000000..bc73210
@@ -0,0 +1,14 @@
+FILESEXTRAPATHS_prepend := "${LAYER_PATH_meta-installer}/recipes-kernel/linux/files/:"
+SRC_URI_append = " \
+    file://dmthin.scc \
+    file://crypt.scc \
+    file://liveinstall.scc \
+    file://efivars.scc \
+    file://multipath.scc \
+    file://ide.scc \
+"
+
+KERNEL_FEATURES_append = " \
+    features/overlayfs/overlayfs.scc \
+    cfg/systemd.scc \
+"
meta-installer/classes/anaconda_support_kernel.bbclass new file +8 -0
new file mode 100644
index 0000000..ee37106
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS_prepend := "${LAYER_PATH_meta-installer}/recipes-kernel/linux/files/:"
+SRC_URI_append = " \
+    file://dmthin.scc \
+    file://crypt.scc \
+"
+
+KERNEL_FEATURES_append = " cfg/systemd.scc"
+
meta-installer/recipes-kernel/linux/files/crypt.cfg new file +2 -0
new file mode 100644
index 0000000..2594462
@@ -0,0 +1,2 @@
+CONFIG_CRYPTO_AES_NI_INTEL=m
+CONFIG_CRYPTO_AES_X86_64=m
meta-installer/recipes-kernel/linux/files/crypt.scc new file +1 -0
new file mode 100644
index 0000000..daeab36
@@ -0,0 +1 @@
+kconf non-hardware crypt.cfg
meta-installer/recipes-kernel/linux/files/dmthin.cfg new file +1 -0
new file mode 100644
index 0000000..1ac07c0
@@ -0,0 +1 @@
+CONFIG_DM_THIN_PROVISIONING=y
meta-installer/recipes-kernel/linux/files/dmthin.scc new file +1 -0
new file mode 100644
index 0000000..38cfac7
@@ -0,0 +1 @@
+kconf non-hardware dmthin.cfg
meta-installer/recipes-kernel/linux/files/efivars.cfg new file +1 -0
new file mode 100644
index 0000000..b9206d9
@@ -0,0 +1 @@
+CONFIG_EFI_VARS=y
meta-installer/recipes-kernel/linux/files/efivars.scc new file +1 -0
new file mode 100644
index 0000000..25bd34d
@@ -0,0 +1 @@
+kconf non-hardware efivars.cfg
meta-installer/recipes-kernel/linux/files/ide.cfg new file +5 -0
new file mode 100644
index 0000000..9d973ce
@@ -0,0 +1,5 @@
+CONFIG_BLK_DEV_IDEDMA_SFF=y
+CONFIG_BLK_DEV_IDEPCI=y
+CONFIG_IDEPCI_PCIBUS_ORDER=y
+CONFIG_BLK_DEV_PIIX=y
+CONFIG_BLK_DEV_IDEDMA=y
meta-installer/recipes-kernel/linux/files/ide.scc new file +1 -0
new file mode 100644
index 0000000..81e57f5
@@ -0,0 +1 @@
+kconf non-hardware ide.cfg
meta-installer/recipes-kernel/linux/files/liveinstall.cfg new file +5 -0
new file mode 100644
index 0000000..37c9f47
@@ -0,0 +1,5 @@
+CONFIG_ISO9660_FS=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_SQUASHFS=y
+CONFIG_SQUASHFS_XATTR=y
+# CONFIG_BLK_DEV_PIIX is not set
meta-installer/recipes-kernel/linux/files/liveinstall.scc new file +1 -0
new file mode 100644
index 0000000..042e047
@@ -0,0 +1 @@
+kconf non-hardware liveinstall.cfg
\ No newline at end of file
meta-installer/recipes-kernel/linux/files/multipath.cfg new file +3 -0
new file mode 100644
index 0000000..39cf942
@@ -0,0 +1,3 @@
+CONFIG_DM_MULTIPATH=y
+CONFIG_DM_MULTIPATH_QL=y
+CONFIG_DM_MULTIPATH_ST=y
meta-installer/recipes-kernel/linux/files/multipath.scc new file +1 -0
new file mode 100644
index 0000000..36a4cdd
@@ -0,0 +1 @@
+kconf non-hardware multipath.cfg
Signature · 1 line
2.8.1
author
#3 lore raw

PATCH 3/15 meta-installer: add anaconda support for target build

In reply to Hongxu Jia

While "anaconda-support" in DISTRO_FEATURES, it enable features of target build.

The target build requires:
- packages to help installation

- append anaconda_support_kernel to KERNEL_CLASSES which add dmthin.scc and crypt.scc to kernel config

- manually install grub/grub-efi for image install to workaround grub/grub-efi confliction

- add distro feature check of systemd and ldconfig

- add init manager checking

- add rpm packages check

- emit target image env to help installation

---
 .../classes/anaconda_support_image.bbclass         | 40 ++++++++++++++++++++++
 meta-installer/conf/layer.conf                     |  2 ++
 .../packagegroups/packagegroup-anaconda-support.bb | 26 ++++++++++++++
 3 files changed, 68 insertions(+)
 create mode 100644 meta-installer/classes/anaconda_support_image.bbclass
 create mode 100644 meta-installer/recipes-installersupport/packagegroups/packagegroup-anaconda-support.bb
meta-installer/classes/anaconda_support_image.bbclass new file +40 -0
new file mode 100644
index 0000000..d11e85b
@@ -0,0 +1,40 @@
+FEATURE_PACKAGES_anaconda-support = "packagegroup-anaconda-support"
+IMAGE_FEATURES_append = " anaconda-support"
+
+# Generate filesystem images for image copy install
+IMAGE_FSTYPES += "ext4"
+
+ROOTFS_POSTPROCESS_COMMAND_append = " copy_grub_lib;"
+IMAGE_POSTPROCESS_COMMAND_append = " emit_image_env;"
+
+inherit distro_features_check
+REQUIRED_DISTRO_FEATURES = "systemd ldconfig"
+
+DEPENDS += "grub grub-efi"
+
+copy_grub_lib() {
+    if [ -d ${STAGING_DIR_HOST}${libdir}/grub ]; then
+        echo "Copy grub & grub-efi lib"
+        mkdir -p ${IMAGE_ROOTFS}${libdir}/grub
+        cp -rf ${STAGING_DIR_HOST}${libdir}/grub/* ${IMAGE_ROOTFS}${libdir}/grub
+    fi
+}
+
+python emit_image_env () {
+    localdata = bb.data.createCopy(d)
+
+    # Export DISTRO for installer build
+    localdata.setVarFlag("DISTRO", "unexport", "")
+
+    dumpfile = d.expand("${TOPDIR}/installersupport_${PN}")
+    with open(dumpfile , "w") as f:
+        bb.data.emit_env(f, localdata, True)
+}
+
+python __anonymous () {
+    if not bb.utils.contains("PACKAGE_CLASSES", "package_rpm", True, False, d):
+        raise bb.parse.SkipPackage('Target build requires RPM packages to be the default in PACKAGE_CLASSES.')
+
+    if d.getVar("VIRTUAL-RUNTIME_init_manager", True) != "systemd":
+        raise bb.parse.SkipPackage('Target build requires systemd, set VIRTUAL-RUNTIME_init_manager = "systemd" in local.conf')
+}
meta-installer/conf/layer.conf +2 -0
index 2788d1c..95b5004 100644
@@ -27,3 +27,5 @@ SRC_DISTRIBUTE_LICENSES += "FLTK"
 
 LAYER_PATH_meta-installer = "${LAYERDIR}"
 
+KERNEL_CLASSES_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'anaconda-support', 'anaconda_support_kernel', '', d)}"
+IMAGE_CLASSES_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'anaconda-support', 'anaconda_support_image', '', d)}"
meta-installer/recipes-installersupport/packagegroups/packagegroup-anaconda-support.bb new file +26 -0
new file mode 100644
index 0000000..0617d90
@@ -0,0 +1,26 @@
+DESCRIPTION = "Packages required by target build to help the installation"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = " \
+    sudo \
+    kernel-image \
+    grubby \
+    shadow \
+    efibootmgr \
+    kmod \
+    lvm2 \
+    util-linux-mount \
+    init-ifupdown \
+    libuser \
+    dracut \
+    cryptsetup \
+    sed \
+    grep \
+    dosfstools \
+    e2fsprogs \
+    btrfs-tools \
+"
+
Signature · 1 line
2.8.1
author
#4 lore raw

PATCH 4/15 meta-installer: add distro anaconda for host build

In reply to Hongxu Jia

While DISTRO = "anaconda", it enable features of host build.

The host build requires:

- append anaconda_kernel to KERNEL_CLASSES to add kernel configs

- misc setting in conf/distro/anaconda.conf for host build

- copy package/image from target build to host image

- add rpm packages check

---
 meta-installer/classes/anaconda_image.bbclass | 321 ++++++++++++++++++++++++++
 meta-installer/conf/distro/anaconda.conf      |  33 +++
 2 files changed, 354 insertions(+)
 create mode 100644 meta-installer/classes/anaconda_image.bbclass
 create mode 100644 meta-installer/conf/distro/anaconda.conf
meta-installer/classes/anaconda_image.bbclass new file +321 -0
new file mode 100644
index 0000000..be37a09
@@ -0,0 +1,321 @@
+RPM_POSTPROCESS_COMMANDS_append = "wrl_installer;"
+
+INSTPRODUCT ?= "${DISTRO_NAME}"
+INSTVER     ?= "${DISTRO_VERSION}"
+INSTBUGURL  ?= "http://www.windriver.com/"
+
+# NOTE: Please update anaconda-init when you change INSTALLER_CONFDIR, use "="
+#       but not "?=" since this is not configurable.
+INSTALLER_CONFDIR = "${IMAGE_ROOTFS}/installer-config"
+KICKSTART_FILE ?= ""
+WRL_INSTALLER_CONF ?= ""
+
+build_iso_prepend() {
+	install -d ${ISODIR}
+	ln -snf /.discinfo ${ISODIR}/.discinfo
+	ln -snf /.buildstamp ${ISODIR}/.buildstamp
+	ln -snf /Packages ${ISODIR}/Packages
+}
+
+build_iso_append() {
+	implantisomd5 ${IMGDEPLOYDIR}/${IMAGE_NAME}.iso
+}
+
+# Check WRL_INSTALLER_CONF and copy it to
+# ${IMAGE_ROOTFS}/.buildstamp.$prj_name when exists
+wrl_installer_copy_buildstamp() {
+    prj_name=$1
+    buildstamp=$2
+    if [ -f $buildstamp ]; then
+        bbnote "Using $buildstamp as the buildstamp"
+        cp $buildstamp ${IMAGE_ROOTFS}/.buildstamp.$prj_name
+    else
+        bbfatal "Can't find WRL_INSTALLER_CONF: $buildstamp"
+    fi
+}
+
+# Hardlink when possible, otherwise copy.
+# $1: src
+# $2: target
+wrl_installer_hardlinktree() {
+    src_dev="`stat -c %d $1`"
+    if [ -e "$2" ]; then
+        tgt_dev="`stat -c %d $2`"
+    else
+        tgt_dev="`stat -c %d $(dirname $2)`"
+    fi
+    hdlink=""
+    if [ "$src_dev" = "$tgt_dev" ]; then
+        hdlink="--link"
+    fi
+    cp -rvf $hdlink $1 $2
+}
+
+wrl_installer_copy_local_repos() {
+    deploy_dir_rpm=$1
+
+    if [ -d "$deploy_dir_rpm" ]; then
+        echo "Copy rpms from target build to installer image."
+        mkdir -p ${IMAGE_ROOTFS}/Packages.$prj_name
+
+        : > ${IMAGE_ROOTFS}/Packages.$prj_name/.treeinfo
+        echo "[general]" >> ${IMAGE_ROOTFS}/Packages.$prj_name/.treeinfo
+        echo "version = ${DISTRO_VERSION}" >> ${IMAGE_ROOTFS}/Packages.$prj_name/.treeinfo
+
+        # Determine the max channel priority
+        channel_priority=5
+        for pt in $installer_target_archs ; do
+            channel_priority=$(expr $channel_priority + 5)
+        done
+
+        : > ${IMAGE_ROOTFS}/Packages.$prj_name/.feedpriority
+        for arch in $installer_target_archs; do
+            if [ -d "$deploy_dir_rpm/"$arch -a ! -d "${IMAGE_ROOTFS}/Packages.$prj_name/"$arch ]; then
+                channel_priority=$(expr $channel_priority - 5)
+                echo "$channel_priority $arch" >> ${IMAGE_ROOTFS}/Packages.$prj_name/.feedpriority
+                wrl_installer_hardlinktree "$deploy_dir_rpm/"$arch "${IMAGE_ROOTFS}/Packages.$prj_name/."
+            fi
+        done
+        createrepo_c --update -q ${IMAGE_ROOTFS}/Packages.$prj_name/
+    fi
+}
+
+# Update .buildstamp and copy rpm packages to IMAGE_ROOTFS
+wrl_installer_copy_pkgs() {
+
+    target_build="$1"
+    target_image="$2"
+    prj_name="$3"
+    if [ -n "$4" ]; then
+        installer_conf="$4"
+    else
+        installer_conf=""
+    fi
+
+    common_grep="-e '^ALL_MULTILIB_PACKAGE_ARCHS=.*' \
+            -e '^MULTILIB_VARIANTS=.*' -e '^PACKAGE_ARCHS=.*'\
+            -e '^PACKAGE_ARCH=.*' -e '^PACKAGE_INSTALL_ATTEMPTONLY=.*' \
+            -e '^DISTRO=.*' -e '^DISTRO_NAME=.*' -e '^DISTRO_VERSION=.*' \
+            "
+
+    if [ -f "$installer_conf" ]; then
+        eval "grep -e \"^PACKAGE_INSTALL=.*\" $common_grep $installer_conf \
+            | sed -e 's/=/=\"/' -e 's/$/\"/' > ${BB_LOGFILE}.distro_vals"
+
+        eval "cat $target_build/installersupport_$target_image | \
+            grep -e 'DEPLOY_DIR_RPM=.*' >> ${BB_LOGFILE}.distro_vals"
+
+        eval `cat ${BB_LOGFILE}.distro_vals`
+        if [ $? -ne 0 ]; then
+            bbfatal "Something is wrong in $installer_conf, please correct it"
+        fi
+        if [ -z "$PACKAGE_ARCHS" -o -z "$PACKAGE_INSTALL" ]; then
+            bbfatal "PACKAGE_ARCHS or PACKAGE_INSTALL is null, please check $installer_conf"
+        fi
+    else
+        eval "cat $target_build/installersupport_$target_image | \
+            grep $common_grep -e '^PN=.*' -e '^SUMMARY=.*' -e 'DEPLOY_DIR_RPM=.*'\
+            -e '^DESCRIPTION=.*' -e '^export PACKAGE_INSTALL=.*' > ${BB_LOGFILE}.distro_vals"
+
+        eval `cat ${BB_LOGFILE}.distro_vals`
+    fi
+
+    export installer_default_arch="$PACKAGE_ARCH"
+    # Reverse it for priority
+    export installer_default_archs="`for arch in $PACKAGE_ARCHS; do echo $arch; done | tac | tr - _`"
+    installer_target_archs="$installer_default_archs"
+    if [ -n "$MULTILIB_VARIANTS" ]; then
+        export MULTILIB_VARIANTS
+        mlarchs_reversed="`for mlarch in $ALL_MULTILIB_PACKAGE_ARCHS; do echo $mlarch; \
+            done | tac | tr - _`"
+        for arch in $mlarchs_reversed; do
+            if [ "$arch" != "noarch" -a "$arch" != "all" -a "$arch" != "any" ]; then
+                installer_target_archs="$installer_target_archs $arch"
+            fi
+        done
+    fi
+    export installer_target_archs
+
+    # Save the vars to .buildstamp when no installer_conf
+    if [ ! -f "$installer_conf" ]; then
+        cat >> ${IMAGE_ROOTFS}/.buildstamp.$prj_name <<_EOF
+DISTRO=$DISTRO
+DISTRO_NAME=$DISTRO_NAME
+DISTRO_VERSION=$DISTRO_VERSION
+
+[Rootfs]
+LIST=$PN
+
+[$PN]
+SUMMARY=$SUMMARY
+DESCRIPTION=$DESCRIPTION
+
+PACKAGE_INSTALL=$PACKAGE_INSTALL
+PACKAGE_INSTALL_ATTEMPTONLY=$PACKAGE_INSTALL_ATTEMPTONLY
+ALL_MULTILIB_PACKAGE_ARCHS=$ALL_MULTILIB_PACKAGE_ARCHS
+MULTILIB_VARIANTS=$MULTILIB_VARIANTS
+PACKAGE_ARCHS=$PACKAGE_ARCHS
+PACKAGE_ARCH=$PACKAGE_ARCH
+IMAGE_LINGUAS=${IMAGE_LINGUAS}
+_EOF
+    fi
+
+    if [ -d "$DEPLOY_DIR_RPM" ]; then
+        # Copy local repos while the image is not initramfs
+        bpn=${BPN}
+        if [ "${bpn##*initramfs}" = "${bpn%%initramfs*}" ]; then
+            wrl_installer_copy_local_repos $DEPLOY_DIR_RPM
+        fi
+        echo "$DISTRO::$prj_name::$DISTRO_NAME::$DISTRO_VERSION" >> ${IMAGE_ROOTFS}/.target_build_list
+    fi
+}
+
+wrl_installer_get_count() {
+    sum=0
+    for i in $*; do
+        sum=$(expr $sum + 1)
+    done
+    echo $sum
+}
+
+wrl_installer[vardepsexclude] = "DATETIME"
+wrl_installer() {
+    cat >${IMAGE_ROOTFS}/.discinfo <<_EOF
+${DATETIME}
+${DISTRO_NAME} ${DISTRO_VERSION}
+${TARGET_ARCH}
+_EOF
+
+    : > ${IMAGE_ROOTFS}/.target_build_list
+    counter=0
+    targetimage_counter=0
+    for target_build in ${INSTALLER_TARGET_BUILD}; do
+        target_build="`readlink -f $target_build`"
+        echo "Installer Target Build: $target_build"
+        counter=$(expr $counter + 1)
+        prj_name="`echo $target_build | sed -e 's#/ *$##g' -e 's#.*/##'`"
+        prj_name="$prj_name-$counter"
+
+	    # Generate .buildstamp
+	    if [ -n "${WRL_INSTALLER_CONF}" ]; then
+	        installer_conf="`echo ${WRL_INSTALLER_CONF} | awk '{print $'"$counter"'}'`"
+	        wrl_installer_copy_buildstamp $prj_name $installer_conf
+	    else
+	        cat >${IMAGE_ROOTFS}/.buildstamp.$prj_name <<_EOF
+[Main]
+Product=${INSTPRODUCT}
+Version=${INSTVER}
+BugURL=${INSTBUGURL}
+IsFinal=True
+UUID=${DATETIME}.${TARGET_ARCH}
+_EOF
+	    fi
+
+	    if [ -f "$target_build" ]; then
+	        filename=$(basename "$target_build")
+	        extension="${filename##*.}"
+	        bpn=${BPN}
+	        # Do not copy image for initramfs
+	        if [ "${bpn##*initramfs}" != "${bpn%%initramfs*}" ]; then
+	            continue
+	        elif [ "x$extension" = "xext2" -o "x$extension" = "xext3" -o "x$extension" = "xext4" ]; then
+	            echo "Image based target install selected."
+	            mkdir -p "${IMAGE_ROOTFS}/LiveOS.$prj_name"
+	            wrl_installer_hardlinktree "$target_build" "${IMAGE_ROOTFS}/LiveOS.$prj_name/rootfs.img"
+	            echo "::$prj_name::" >> ${IMAGE_ROOTFS}/.target_build_list
+	        else
+	            bberror "Unsupported image: $target_build."
+	            bberror "The image must be ext2, ext3 or ext4"
+	            exit 1
+	        fi
+	    elif [ -d "$target_build" ]; then
+	        targetimage_counter=$(expr $targetimage_counter + 1)
+	        target_image="`echo ${INSTALLER_TARGET_IMAGE} | awk '{print $'"$targetimage_counter"'}'`"
+	        echo "Target Image: $target_image"
+	        wrl_installer_copy_pkgs $target_build $target_image $prj_name $installer_conf
+	    else
+	        bberror "Invalid configuration of INSTALLER_TARGET_BUILD: $target_build."
+	        bberror "It must either point to an image (ext2, ext3 or ext4) or to the root of another build directory"
+	        exit 1
+	    fi
+
+	    ks_cfg="${INSTALLER_CONFDIR}/ks.cfg.$prj_name"
+	    if [ -n "${KICKSTART_FILE}" ]; then
+	        ks_file="`echo ${KICKSTART_FILE} | awk '{print $'"$counter"'}'`"
+	        bbnote "Copying kickstart file $ks_file to $ks_cfg ..."
+	        mkdir -p ${INSTALLER_CONFDIR}
+	        cp $ks_file $ks_cfg
+	    fi
+    done
+
+    # Setup the symlink if only one target build dir.
+    if [ "$counter" = "1" ]; then
+        prj_name="`awk -F:: '{print $2}' ${IMAGE_ROOTFS}/.target_build_list`"
+        entries=".buildstamp LiveOS Packages installer-config/ks.cfg"
+        for i in $entries; do
+            if [ -e ${IMAGE_ROOTFS}/$i.$prj_name ]; then
+                ln -sf `basename $i.$prj_name` ${IMAGE_ROOTFS}/$i
+            fi
+        done
+    fi
+}
+
+python __anonymous() {
+    if "selinux" in d.getVar("DISTRO_FEATURES", True).split():
+        raise bb.parse.SkipPackage("Unable to build the installer when selinux is enabled.")
+
+    if bb.data.inherits_class('image', d):
+        if d.getVar("DISTRO", True) != "anaconda":
+            raise bb.parse.SkipPackage("Set DISTRO = 'anaconda' in local.conf")
+
+        target_builds = d.getVar('INSTALLER_TARGET_BUILD', True)
+        if not target_builds:
+            errmsg = "No INSTALLER_TARGET_BUILD is found,\n"
+            errmsg += "set INSTALLER_TARGET_BUILD = '<target-build-topdir>' and\n"
+            errmsg += "INSTALLER_TARGET_IMAGE = '<target-image-pn>' to do RPMs\n"
+            errmsg += "install, or\n"
+            errmsg += "set INSTALLER_TARGET_BUILD = '<target-build-image>' to do\n"
+            errmsg += "image copy install"
+            raise bb.parse.SkipPackage(errmsg)
+
+        count = 0
+        for target_build in target_builds.split():
+            if not os.path.exists(target_build):
+                raise bb.parse.SkipPackage("The %s of INSTALLER_TARGET_BUILD does not exist" % target_build)
+
+            if os.path.isdir(target_build):
+                count += 1
+
+        # While do package management install
+        if count > 0:
+            target_images = d.getVar('INSTALLER_TARGET_IMAGE', True)
+            if not target_images:
+                errmsg = "The INSTALLER_TARGET_BUILD is a dir, but not found INSTALLER_TARGET_IMAGE,\n"
+                errmsg += "set INSTALLER_TARGET_IMAGE = '<target-image-pn>' to do RPMs install"
+                raise bb.parse.SkipPackage(errmsg)
+
+            elif count != len(target_images.split()):
+                errmsg = "The INSTALLER_TARGET_BUILD has %s build dirs: %s\n" % (count, target_builds)
+                errmsg += "But INSTALLER_TARGET_IMAGE has %s build images: %s\n" % (len(target_images.split()), target_images)
+                raise bb.parse.SkipPackage(errmsg)
+
+        # The count of INSTALLER_TARGET_BUILD and WRL_INSTALLER_CONF must match when set.
+        wrlinstaller_confs = d.getVar('WRL_INSTALLER_CONF', True)
+        if wrlinstaller_confs:
+            if len(wrlinstaller_confs.split()) != len(target_builds.split()):
+                raise bb.parse.SkipPackage("The count of INSTALLER_TARGET_BUILD and WRL_INSTALLER_CONF not match!")
+            for wrlinstaller_conf in wrlinstaller_confs.split():
+                if not os.path.exists(wrlinstaller_conf):
+                    raise bb.parse.SkipPackage("The installer conf %s in WRL_INSTALLER_CONF doesn't exist!" % wrlinstaller_conf)
+
+        # The count of INSTALLER_TARGET_BUILD and KICKSTART_FILE must match when set.
+        kickstart_files = d.getVar('KICKSTART_FILE', True)
+        if kickstart_files:
+            if len(kickstart_files.split()) != len(target_builds.split()):
+                raise bb.parse.SkipPackage("The count of INSTALLER_TARGET_BUILD and KICKSTART_FILE not match!")
+            for kickstart_file in kickstart_files.split():
+                if not os.path.exists(kickstart_file):
+                    raise bb.parse.SkipPackage("The kickstart file %s in KICKSTART_FILE doesn't exist!" % kickstart_file)
+
+}
+
meta-installer/conf/distro/anaconda.conf new file +33 -0
new file mode 100644
index 0000000..fc3f23d
@@ -0,0 +1,33 @@
+# use systemd as the default init manager
+# comment the following lines to use 'sysvinit' as the init manager
+VIRTUAL-RUNTIME_init_manager = "systemd"
+DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " sysvinit"
+DISTRO_FEATURES_append = " systemd"
+
+DISTRO_FEATURES_append = " \
+    x11 \
+    opengl \
+"
+
+VIRTUAL-RUNTIME_base-utils = "busybox"
+
+SYSTEMD_AUTO_ENABLE_pn-lvm2 = "enable"
+
+KERNEL_CLASSES_append = " anaconda_kernel"
+
+IMAGE_FEATURES_append = " package-management"
+
+# Want ldconfig in the output package
+# The python module require it
+DISTRO_FEATURES_append = " ldconfig"
+
+# It works for both of syslinux and grub-efi
+LABELS_LIVE = "boot"
+
+QB_MEM_qemux86-64 = "-m 2048"
+
+HOSTTOOLS_append = " tac"
+
+MACHINE_FEATURES_append = " efi pcbios"
+
+UVESA_MODE = "1024x768-32"
Signature · 1 line
2.8.1
author
#5 lore raw

PATCH 5/15 meta-installer: add systemd/systemd-serialgetty bbappend

In reply to Hongxu Jia

Use screen for text install, the serail console and tty1 will have the same input/output.

The bbappend works only if DISTRO = "anaconda".

---
 .../systemd/files/[email protected]            | 40 ++++++++++++++++++++++
 .../systemd/files/serial-screen-anaconda.sh        |  5 +++
 .../systemd/systemd-serialgetty.bbappend           | 12 +++++++
 .../recipes-core/systemd/systemd_%.bbappend        |  6 ++++
 4 files changed, 63 insertions(+)
 create mode 100644 meta-installer/recipes-core/systemd/files/[email protected]
 create mode 100644 meta-installer/recipes-core/systemd/files/serial-screen-anaconda.sh
 create mode 100644 meta-installer/recipes-core/systemd/systemd-serialgetty.bbappend
 create mode 100644 meta-installer/recipes-core/systemd/systemd_%.bbappend
meta-installer/recipes-core/systemd/files/[email protected] new file +40 -0
new file mode 100644
index 0000000..52530a3
@@ -0,0 +1,40 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
+#  (at your option) any later version.
+
+[Unit]
+Description=Serial Getty on %I
+Documentation=man:agetty(8) man:systemd-getty-generator(8)
+Documentation=http://0pointer.de/blog/projects/serial-console.html
+BindsTo=dev-%i.device
+Requires=anaconda-init.service
+After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
+After=rc-local.service
+After=anaconda-init.target anaconda-init.service
+
+# If additional gettys are spawned during boot then we should make
+# sure that this is synchronized before getty.target, even though
+# getty.target didn't actually pull it in.
+Before=getty.target
+IgnoreOnIsolate=yes
+
+[Service]
+Environment=TERM=xterm HOME=@ROOT_HOME@ PATH=/usr/bin:/bin:/sbin:/usr/sbin LANG=en_US.UTF-8
+ExecStart=-/sbin/agetty -8 --keep-baud  -n -l /bin/bash -o '--login' %I @BAUDRATE@ $TERM
+WorkingDirectory=@ROOT_HOME@
+Type=idle
+Restart=always
+RestartSec=0
+UtmpIdentifier=%I
+TTYPath=/dev/%I
+TTYReset=yes
+TTYVHangup=yes
+KillMode=process
+IgnoreSIGPIPE=no
+SendSIGHUP=yes
+
+[Install]
+WantedBy=getty.target
meta-installer/recipes-core/systemd/files/serial-screen-anaconda.sh new file +5 -0
new file mode 100644
index 0000000..8ab9471
@@ -0,0 +1,5 @@
+# Detect if it is serial tty, if yes, we need to invoke
+# screen to attach anaconda
+console=`/usr/bin/tty`
+[ "${console##/dev/ttyS}" != "${console}" ] && /usr/bin/screen -x anaconda-init
+
meta-installer/recipes-core/systemd/systemd-serialgetty.bbappend new file +12 -0
new file mode 100644
index 0000000..afbd9b6
@@ -0,0 +1,12 @@
+FILESEXTRAPATHS_prepend_anaconda := "${THISDIR}/files:"
+
+SRC_URI_append_anaconda = " file://[email protected] \
+           file://serial-screen-anaconda.sh \
+"
+
+do_install_append_anaconda() {
+	install -d ${D}${sysconfdir}/profile.d
+	install -m 644 ${WORKDIR}/serial-screen-anaconda.sh ${D}${sysconfdir}/profile.d/
+
+	sed -i -e 's,@ROOT_HOME@,${ROOT_HOME},g' ${D}${systemd_unitdir}/system/[email protected]
+}
meta-installer/recipes-core/systemd/systemd_%.bbappend new file +6 -0
new file mode 100644
index 0000000..3145f68
@@ -0,0 +1,6 @@
+FILESEXTRAPATHS_prepend_anaconda := "${THISDIR}/files:"
+
+do_install_append_anaconda() {
+	ln -nsf ${systemd_unitdir}/system/[email protected] \
+		${D}${sysconfdir}/systemd/system/getty.target.wants/[email protected]
+}
Signature · 1 line
2.8.1
author
#6 lore raw

PATCH 6/15 meta-installer: add gtk+3 bbappend

In reply to Hongxu Jia

Here is easy way to reproduce the failure:
...

root@localhost:~# python
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

from gi.repository import Gtk, AnacondaWidgets builder = Gtk.Builder() builder.get_type_from_name("AnacondaStandaloneWindow")

<GType invalid (0)>
...

Which is expected:
...

root@localhost:~# python
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

from gi.repository import Gtk, AnacondaWidgets builder = Gtk.Builder() builder.get_type_from_name("AnacondaStandaloneWindow")

<GType AnacondaStandaloneWindow (7297024)>
...

The root cause is the issue of 'g_module_open' and 'g_module_symbol' in libgmodule-2.0.so.0:
While invoking 'g_module_open("libAnacondaWidgets.so.4.0.0",G_MODULE_BIND_LAZY);', the following invoking 'g_module_open(NULL, G_MODULE_BIND_LAZY);'
could not find its symbol by invoking g_module_symbol.

So hardcode to load the anaconda module explicitly to workaround failure while anaconda installer loading libAnacondaWidgets.

The bbappend works only if DISTRO = "anaconda".

---
 ...for-anaconda-installer-while-loading-libA.patch | 84 ++++++++++++++++++++++
 .../recipes-gnome/gtk+/gtk+3_%.%.%.bbappend        |  3 +
 2 files changed, 87 insertions(+)
 create mode 100644 meta-installer/recipes-gnome/gtk+/files/workaround-for-anaconda-installer-while-loading-libA.patch
 create mode 100644 meta-installer/recipes-gnome/gtk+/gtk+3_%.%.%.bbappend
meta-installer/recipes-gnome/gtk+/files/workaround-for-anaconda-installer-while-loading-libA.patch new file +84 -0
new file mode 100644
index 0000000..581618d
@@ -0,0 +1,84 @@
+From a99480777c259c1ef0db3ac972abae348d930b41 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Fri, 9 Oct 2015 07:12:36 -0400
+Subject: [PATCH] workaround for anaconda installer while loading
+ libAnacondaWidgets
+
+Here is easy way to reproduce the failure:
+...
+root@localhost:~# python
+>>> from gi.repository import Gtk, AnacondaWidgets
+>>> builder = Gtk.Builder()
+>>> builder.get_type_from_name("AnacondaStandaloneWindow")
+<GType invalid (0)>
+...
+
+Which is expected:
+...
+root@localhost:~# python
+>>> from gi.repository import Gtk, AnacondaWidgets
+>>> builder = Gtk.Builder()
+>>> builder.get_type_from_name("AnacondaStandaloneWindow")
+<GType AnacondaStandaloneWindow (7297024)>
+...
+
+The root cause is the issue of 'g_module_open' and 'g_module_symbol'
+in libgmodule-2.0.so.0:
+While invoking 'g_module_open("libAnacondaWidgets.so.4.0.0", G_MODULE_BIND_LAZY);'
+, the following invoking 'g_module_open(NULL, G_MODULE_BIND_LAZY);' could not
+find its symbol by invoking g_module_symbol.
+
+So we hardcode to load the anaconda module explicitly.
+
+Upstream-Status: inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ gtk/gtkbuilder.c | 24 ++++++++++++++++++++++++
+ 1 file changed, 24 insertions(+)
+
+diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
+index f9599ab..8315638 100644
+--- a/gtk/gtkbuilder.c
++++ b/gtk/gtkbuilder.c
+@@ -398,6 +398,27 @@ type_name_mangle (const gchar *name)
+ }
+ 
+ static GType
++_gtk_builder_resolve_type_lazily_anaconda (const gchar *name)
++{
++  static GModule *module = NULL;
++  GTypeGetFunc func;
++  gchar *symbol;
++  GType gtype = G_TYPE_INVALID;
++
++  if (!module)
++  {
++    module = g_module_open ("libAnacondaWidgets.so.4", 0);
++  }
++  symbol = type_name_mangle (name);
++  if (g_module_symbol (module, symbol, (gpointer)&func))
++    gtype = func ();
++
++  g_free (symbol);
++
++  return gtype;
++}
++
++static GType
+ _gtk_builder_resolve_type_lazily (const gchar *name)
+ {
+   static GModule *module = NULL;
+@@ -405,6 +426,9 @@ _gtk_builder_resolve_type_lazily (const gchar *name)
+   gchar *symbol;
+   GType gtype = G_TYPE_INVALID;
+ 
++  if (strncmp(name, "Anaconda", strlen("Anaconda")) == 0)
++    return _gtk_builder_resolve_type_lazily_anaconda(name);
++
+   if (!module)
+     module = g_module_open (NULL, 0);
+   
+-- 
+1.9.1
+
meta-installer/recipes-gnome/gtk+/gtk+3_%.%.%.bbappend new file +3 -0
new file mode 100644
index 0000000..752b2f1
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS_prepend_anaconda := "${THISDIR}/files:"
+SRC_URI_append_anaconda = " file://workaround-for-anaconda-installer-while-loading-libA.patch \
+"
Signature · 1 line
2.8.1
author
#7 lore raw

PATCH 7/15 meta-installer: add initramfs-live-boot bbappend

In reply to Hongxu Jia

Customize init-live.sh to override the one in oe-core

- Add option to enter a debug shell in initrd

- Add option to run anaconda installer from initrd. (required by PXE install)

- Remove -c while invoking switch_root which
is not supported by util-linux

The bbappend works only if DISTRO = "anaconda".

---
 .../initrdscripts/files/init-live.sh               | 249 +++++++++++++++++++++
 .../initrdscripts/initramfs-live-boot_1.0.bbappend |   5 +
 2 files changed, 254 insertions(+)
 create mode 100644 meta-installer/recipes-installer/initrdscripts/files/init-live.sh
 create mode 100644 meta-installer/recipes-installer/initrdscripts/initramfs-live-boot_1.0.bbappend
meta-installer/recipes-installer/initrdscripts/files/init-live.sh new file +249 -0
new file mode 100644
index 0000000..965375b
@@ -0,0 +1,249 @@
+#!/bin/sh
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+ROOT_MOUNT="/rootfs"
+ROOT_IMAGE="rootfs.img"
+MOUNT="/bin/mount"
+UMOUNT="/bin/umount"
+ISOLINUX=""
+
+ROOT_DISK=""
+
+# Copied from initramfs-framework. The core of this script probably should be
+# turned into initramfs-framework modules to reduce duplication.
+udev_daemon() {
+	OPTIONS="/sbin/udev/udevd /sbin/udevd /lib/udev/udevd /lib/systemd/systemd-udevd"
+
+	for o in $OPTIONS; do
+		if [ -x "$o" ]; then
+			echo $o
+			return 0
+		fi
+	done
+
+	return 1
+}
+
+_UDEV_DAEMON=`udev_daemon`
+
+early_setup() {
+    mkdir -p /proc
+    mkdir -p /sys
+    mount -t proc proc /proc
+    mount -t sysfs sysfs /sys
+    mount -t devtmpfs none /dev
+
+    # support modular kernel
+    modprobe isofs 2> /dev/null
+
+    mkdir -p /run
+    mkdir -p /var/run
+
+    $_UDEV_DAEMON --daemon
+    udevadm trigger --action=add
+}
+
+read_args() {
+    [ -z "$CMDLINE" ] && CMDLINE=`cat /proc/cmdline`
+    for arg in $CMDLINE; do
+        optarg=`expr "x$arg" : 'x[^=]*=\(.*\)'`
+        case $arg in
+            root=*)
+                ROOT_DEVICE=$optarg ;;
+            rootimage=*)
+                ROOT_IMAGE=$optarg ;;
+            rootfstype=*)
+                modprobe $optarg 2> /dev/null ;;
+            LABEL=*)
+                label=$optarg ;;
+            video=*)
+                video_mode=$arg ;;
+            vga=*)
+                vga_mode=$arg ;;
+            console=*)
+                if [ -z "${console_params}" ]; then
+                    console_params=$arg
+                else
+                    console_params="$console_params $arg"
+                fi ;;
+            shelltimeout*)
+                if [ -z "$optarg" ]; then
+                        shelltimeout=30
+                else
+                        shelltimeout=$optarg
+                fi ;;
+            debugshell)
+                debugshell=y
+        esac
+    done
+}
+
+boot_live_root() {
+    # Watches the udev event queue, and exits if all current events are handled
+    udevadm settle --timeout=3
+    killall "${_UDEV_DAEMON##*/}" 2>/dev/null
+
+    # Allow for identification of the real root even after boot
+    mkdir -p  ${ROOT_MOUNT}/media/realroot
+    mount -n --move "/run/media/${ROOT_DISK}" ${ROOT_MOUNT}/media/realroot
+
+    # Umount other media for anaconda
+    for dir in `awk '/\/dev.* \/run\/media/{print $2}' /proc/mounts`; do
+        umount $dir
+    done
+    mount -n --move /proc ${ROOT_MOUNT}/proc
+    mount -n --move /sys ${ROOT_MOUNT}/sys
+    mount -n --move /dev ${ROOT_MOUNT}/dev
+
+    cd $ROOT_MOUNT
+
+    exec switch_root $ROOT_MOUNT /sbin/init $CMDLINE ||
+        fatal "Couldn't switch_root, dropping to shell"
+}
+
+fatal() {
+    echo $1 >$CONSOLE
+    echo >$CONSOLE
+    exec sh
+}
+
+early_setup
+
+[ -z "$CONSOLE" ] && CONSOLE="/dev/console"
+
+read_args
+
+if test x$debugshell = xy ; then
+        echo "Entering debug shell..."
+        exec /bin/sh
+fi
+
+case $label in
+    initrd-install)
+    # Watches the udev event queue, and exits if all current events are handled
+    udevadm settle --timeout=3
+    killall "${_UDEV_DAEMON##*/}" 2>/dev/null
+    for dir in `awk '/\/dev.* \/run\/media/{print $2}' /proc/mounts`; do
+        umount $dir
+    done
+    echo "" > /etc/udev/scripts/mount.sh
+    echo "init_bin /sbin/init"
+    [ -x /sbin/init ] && exec /sbin/init
+    ;;
+esac
+
+
+echo "Waiting for removable media..."
+C=0
+while true
+do
+  for i in `ls /run/media 2>/dev/null`; do
+      if [ -f /run/media/$i/$ROOT_IMAGE ] ; then
+		found="yes"
+		ROOT_DISK="$i"
+		break
+	  elif [ -f /run/media/$i/isolinux/$ROOT_IMAGE ]; then
+		found="yes"
+		ISOLINUX="isolinux"
+		ROOT_DISK="$i"
+		break
+      fi
+  done
+  if [ "$found" = "yes" ]; then
+      break;
+  fi
+  # don't wait for more than $shelltimeout seconds, if it's set
+  if [ -n "$shelltimeout" ]; then
+      echo -n " " $(( $shelltimeout - $C ))
+      if [ $C -ge $shelltimeout ]; then
+           echo "..."
+	   echo "Mounted filesystems"
+           mount | grep media
+           echo "Available block devices"
+           cat /proc/partitions
+           fatal "Cannot find $ROOT_IMAGE file in /run/media/* , dropping to a shell "
+      fi
+      C=$(( C + 1 ))
+  fi
+  sleep 1
+done
+
+# Try to mount the root image read-write and then boot it up.
+# This function distinguishes between a read-only image and a read-write image.
+# In the former case (typically an iso), it tries to make a union mount if possible.
+# In the latter case, the root image could be mounted and then directly booted up.
+mount_and_boot() {
+    mkdir $ROOT_MOUNT
+    mknod /dev/loop0 b 7 0 2>/dev/null
+
+    if ! mount -o rw,loop,noatime,nodiratime /run/media/$ROOT_DISK/$ISOLINUX/$ROOT_IMAGE $ROOT_MOUNT ; then
+	fatal "Could not mount rootfs image"
+    fi
+
+    if touch $ROOT_MOUNT/bin 2>/dev/null; then
+	# The root image is read-write, directly boot it up.
+	boot_live_root
+    fi
+
+    # determine which unification filesystem to use
+    union_fs_type=""
+    if grep -q -w "overlay" /proc/filesystems; then
+	union_fs_type="overlay"
+    elif grep -q -w "aufs" /proc/filesystems; then
+	union_fs_type="aufs"
+    else
+	union_fs_type=""
+    fi
+
+    # make a union mount if possible
+    case $union_fs_type in
+	"overlay")
+	    mkdir -p /rootfs.ro /rootfs.rw
+	    if ! mount -n --move $ROOT_MOUNT /rootfs.ro; then
+		rm -rf /rootfs.ro /rootfs.rw
+		fatal "Could not move rootfs mount point"
+	    else
+		mount -t tmpfs -o rw,noatime,mode=755 tmpfs /rootfs.rw
+		mkdir -p /rootfs.rw/upperdir /rootfs.rw/work
+		mount -t overlay overlay -o "lowerdir=/rootfs.ro,upperdir=/rootfs.rw/upperdir,workdir=/rootfs.rw/work" $ROOT_MOUNT
+		mkdir -p $ROOT_MOUNT/rootfs.ro $ROOT_MOUNT/rootfs.rw
+		mount --move /rootfs.ro $ROOT_MOUNT/rootfs.ro
+		mount --move /rootfs.rw $ROOT_MOUNT/rootfs.rw
+	    fi
+	    ;;
+	"aufs")
+	    mkdir -p /rootfs.ro /rootfs.rw
+	    if ! mount -n --move $ROOT_MOUNT /rootfs.ro; then
+		rm -rf /rootfs.ro /rootfs.rw
+		fatal "Could not move rootfs mount point"
+	    else
+		mount -t tmpfs -o rw,noatime,mode=755 tmpfs /rootfs.rw
+		mount -t aufs -o "dirs=/rootfs.rw=rw:/rootfs.ro=ro" aufs $ROOT_MOUNT
+		mkdir -p $ROOT_MOUNT/rootfs.ro $ROOT_MOUNT/rootfs.rw
+		mount --move /rootfs.ro $ROOT_MOUNT/rootfs.ro
+		mount --move /rootfs.rw $ROOT_MOUNT/rootfs.rw
+	    fi
+	    ;;
+	"")
+	    mount -t tmpfs -o rw,noatime,mode=755 tmpfs $ROOT_MOUNT/media
+	    ;;
+    esac
+
+    # boot the image
+    boot_live_root
+}
+
+if [ "$label" != "boot" -a -f $label.sh ] ; then
+	if [ -f /run/media/$i/$ISOLINUX/$ROOT_IMAGE ] ; then
+	    ./$label.sh $i/$ISOLINUX $ROOT_IMAGE $video_mode $vga_mode $console_params
+	else
+	    fatal "Could not find $label script"
+	fi
+
+	# If we're getting here, we failed...
+	fatal "Target $label failed"
+fi
+
+mount_and_boot
+
meta-installer/recipes-installer/initrdscripts/initramfs-live-boot_1.0.bbappend new file +5 -0
new file mode 100644
index 0000000..4a644ad
@@ -0,0 +1,5 @@
+FILESEXTRAPATHS_append_anaconda := ":${THISDIR}/files"
+
+SRC_URI_append_anaconda = " \
+    file://init-live.sh \
+"
Signature · 1 line
2.8.1
author
#8 lore raw

PATCH 8/15 meta-installer: add xserver-xf86-config bbappend

In reply to Hongxu Jia

Tweak display rate from "640x480" to "1024x768". The xorg.conf is already overridden by qemux86-64 in oe-core, so we have to use sed to do the modification.

The bbappend works only if DISTRO = "anaconda".

---
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend            | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-installer/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
meta-installer/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend new file +12 -0
new file mode 100644
index 0000000..5447273
@@ -0,0 +1,12 @@
+do_install_prepend_qemux86-64_anaconda () {
+    if test -s ${WORKDIR}/xorg.conf; then
+        sed -i 's/Modes *"640x480"/Modes    "1024x768"/g' ${WORKDIR}/xorg.conf
+    fi
+}
+
+do_install_prepend_qemux86_anaconda () {
+    if test -s ${WORKDIR}/xorg.conf; then
+        sed -i 's/Modes *"640x480"/Modes    "1024x768"/g' ${WORKDIR}/xorg.conf
+    fi
+}
+
Signature · 1 line
2.8.1
author
#9 lore raw

PATCH 9/15 meta-installer: add multipath-tools bbappend

In reply to Hongxu Jia

- Explicitly disable auto service to help installer work

- Copy multipath.conf from example

The bbappend works only if DISTRO = "anaconda".

---
 .../recipes-support/multipath-tools/multipath-tools_%.bbappend    | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta-installer/recipes-support/multipath-tools/multipath-tools_%.bbappend
meta-installer/recipes-support/multipath-tools/multipath-tools_%.bbappend new file +8 -0
new file mode 100644
index 0000000..5bd2b03
@@ -0,0 +1,8 @@
+SYSTEMD_AUTO_ENABLE_anaconda = "disable"
+
+do_install_append_anaconda () {
+    install -d ${D}${sysconfdir}/multipath
+    install -m 0644 ${WORKDIR}/multipath.conf.example \
+    ${D}${sysconfdir}/multipath.conf
+}
+
Signature · 1 line
2.8.1
author
#10 lore raw

PATCH 10/15 meta-installer: add recipe packagegroup-installer-x11-anaconda

In reply to Hongxu Jia

It provides desktop X11 applications to support anaconda.

---
 .../packagegroup-installer-x11-anaconda.bb         | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-installer/recipes-installer/packagegroups/packagegroup-installer-x11-anaconda.bb
meta-installer/recipes-installer/packagegroups/packagegroup-installer-x11-anaconda.bb new file +28 -0
new file mode 100644
index 0000000..5255b3a
@@ -0,0 +1,28 @@
+DESCRIPTION = "Tasks for desktop X11 applications to support anaconda"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+inherit packagegroup distro_features_check
+REQUIRED_DISTRO_FEATURES = "x11"
+
+XSERVER ??= ""
+
+RDEPENDS_packagegroup-installer-x11-anaconda = "\
+    dbus \
+    xinput-calibrator \
+    xserver-nodm-init \
+    ${XSERVER} \
+    liberation-fonts \
+    xauth \
+    xhost \
+    xset \
+    settings-daemon \
+    xrandr \
+    libsdl \
+    metacity \
+    gnome-themes \
+    adwaita-icon-theme \
+    pango \
+    pango-modules \
+    createrepo-c"
+
Signature · 1 line
2.8.1
author
#11 lore raw

PATCH 11/15 meta-installer: add recipe yocto-compat-logos

In reply to Hongxu Jia

The anaconda installer program requires the pictures to display during installation.

---
 .../recipes-installer/logos/yocto-compat-logos.bb  |  24 ++
 .../logos/yocto-compat-logos/COPYING               | 339 +++++++++++++++++++++
 .../logos/yocto-compat-logos/banner_yocto1.png     | Bin 0 -> 44650 bytes
 .../logos/yocto-compat-logos/banner_yocto2.png     | Bin 0 -> 39223 bytes
 .../logos/yocto-compat-logos/sidebar-logo.png      | Bin 0 -> 17651 bytes
 .../logos/yocto-compat-logos/topbar-bg.png         | Bin 0 -> 77956 bytes
 6 files changed, 363 insertions(+)
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos.bb
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos/COPYING
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto1.png
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto2.png
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos/sidebar-logo.png
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-logos/topbar-bg.png
meta-installer/recipes-installer/logos/yocto-compat-logos.bb new file +24 -0
new file mode 100644
index 0000000..16d56e6
@@ -0,0 +1,24 @@
+DESCRIPTION = "Yocto project compatible logos for branding"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+SRC_URI = "file://sidebar-logo.png \
+           file://topbar-bg.png \
+           file://banner_yocto1.png \
+           file://banner_yocto2.png \
+           file://COPYING"
+
+S = "${WORKDIR}"
+
+PACKAGE_ARCH = "all"
+
+FILES_${PN} = "${datadir}/anaconda"
+
+do_install() {
+    install -d ${D}/${datadir}/anaconda/boot
+    install -d ${D}/${datadir}/anaconda/pixmaps
+    install -m 0755 sidebar-logo.png ${D}${datadir}/anaconda/pixmaps
+    install -m 0755 topbar-bg.png ${D}${datadir}/anaconda/pixmaps
+    install -d ${D}/${datadir}/anaconda/pixmaps/rnotes/en
+    install -m 0755 banner_*.png ${D}/${datadir}/anaconda/pixmaps/rnotes/en
+}
meta-installer/recipes-installer/logos/yocto-compat-logos/COPYING new file +339 -0

339 lines not on this page · raw message

meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto1.png new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..fa14f48e4629cf53d9b3e2402159a9a6797903b6
GIT binary patch
meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto2.png new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..3e090a02358978cbb7c1da88d6e90c6f36311a95
GIT binary patch
meta-installer/recipes-installer/logos/yocto-compat-logos/sidebar-logo.png new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..7bb2f1eceb38ad2da3256df079b4c4f2f89ad88b
GIT binary patch
meta-installer/recipes-installer/logos/yocto-compat-logos/topbar-bg.png new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..d42d39a11d0be662ea53a76145be1b5865816747
GIT binary patch
Signature · 1 line
2.8.1
author
#12 lore raw

PATCH 12/15 meta-installer: add recipe anaconda-init

In reply to Hongxu Jia

The init script to boot anaconda at startup.

---
 .../anaconda-init/anaconda-init.bb                 |  77 +++++
 .../anaconda-init/anaconda-init/COPYING            | 339 +++++++++++++++++++
 .../anaconda-init/anaconda-init/Xusername          |   1 +
 .../anaconda-init/anaconda-init/anaconda-init      | 362 +++++++++++++++++++++
 .../anaconda-init/[email protected]    |  22 ++
 .../anaconda-init/anaconda-init.service            |  13 +
 .../anaconda-init/anaconda-init.target             |   6 +
 7 files changed, 820 insertions(+)
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init.bb
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/COPYING
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/Xusername
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/[email protected]
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.service
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.target
meta-installer/recipes-installer/anaconda-init/anaconda-init.bb new file +77 -0
new file mode 100644
index 0000000..a7da0c5
@@ -0,0 +1,77 @@
+DESCRIPTION = "Simple Init Script for Anaconda"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+SRC_URI = "file://anaconda-init \
+           file://anaconda-init.service \
+           file://[email protected] \
+           file://anaconda-init.target \
+           file://Xusername \
+           file://COPYING"
+
+S = "${WORKDIR}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+# For nm-online
+#RDEPENDS_${PN} = "networkmanager-tests"
+
+# For mount -oloop=/dev/loopX, busybox's mount doesn't support this.
+RDEPENDS_${PN} = "util-linux"
+
+# While systemd, we need screen to control anaconda-init first boot
+RDEPENDS_${PN} += " \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'screen', '', d)} \
+"
+
+inherit systemd
+
+SYSTEMD_SERVICE_${PN} = "anaconda-init.service \
+                         [email protected] \
+                         anaconda-init.target \
+"
+
+CLEANBROKEN = "1"
+
+do_install() {
+    install -d ${D}/${sbindir}
+    install -m 0755 ${WORKDIR}/anaconda-init ${D}${sbindir}/anaconda-init
+    if [ -n "${EULA_DIR}" ]; then
+        sed -i "s#@EULA_DIR@#${EULA_DIR}#g" ${D}${sbindir}/anaconda-init
+    else
+        bbwarn "EULA_DIR is NULL, please set it in a local conf"
+        bbwarn "The EULA_DIR helps user to locate End User License Agreement during image installation"
+        sed -i "s#@EULA_DIR@##g" ${D}${sbindir}/anaconda-init
+    fi
+    install -d ${D}/${sysconfdir}
+    install -d ${D}/${sysconfdir}/init.d
+    ln -sf ${sbindir}/anaconda-init ${D}/${sysconfdir}/init.d/anaconda-init
+    install -d ${D}${systemd_unitdir}/system
+    install -m 0644 ${WORKDIR}/anaconda-init.service \
+                    ${WORKDIR}/[email protected] \
+                    ${WORKDIR}/anaconda-init.target \
+               ${D}${systemd_unitdir}/system
+
+
+    sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@ROOT_HOME@,${ROOT_HOME},g' ${D}${systemd_unitdir}/system/anaconda-init.service \
+                                                                           ${D}${systemd_unitdir}/system/[email protected]
+    if [ "${ROOTLESS_X}" = "1" ] ; then
+        install -d ${D}/etc/X11
+        install Xusername ${D}/etc/X11
+    fi
+}
+
+inherit update-rc.d useradd
+
+INITSCRIPT_NAME = "anaconda-init"
+INITSCRIPT_PARAMS = "start 30 2 3 4 5 . stop 20 0 1 6 ."
+
+# Use fixed Xusername of xuser for now, this will need to be
+# fixed if the Xusername changes from xuser
+USERADD_PACKAGES = "${PN}"
+USERADD_PARAM_${PN} = "--create-home \
+                       --groups video,tty,audio \
+                       --user-group xuser"
+
+# Location of End User License Agreement
+EULA_DIR ??= ""
meta-installer/recipes-installer/anaconda-init/anaconda-init/COPYING new file +339 -0

339 lines not on this page · raw message

meta-installer/recipes-installer/anaconda-init/anaconda-init/Xusername new file +1 -0
new file mode 100644
index 0000000..7060e5e
@@ -0,0 +1 @@
+xuser
meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init new file +362 -0

362 lines not on this page · raw message

meta-installer/recipes-installer/anaconda-init/anaconda-init/[email protected] new file +22 -0
new file mode 100644
index 0000000..a4b3050
@@ -0,0 +1,22 @@
+[Unit]
+Description=Anaconda Text Console
+Requires=anaconda-init.service
+After=anaconda-init.target anaconda-init.service
+
+[Service]
+Type=idle
+WorkingDirectory=@ROOT_HOME@
+Environment=LANG=en_US.UTF-8
+ExecStart=/usr/bin/screen -x anaconda-init
+StandardInput=tty
+StandardOutput=tty
+TTYPath=/dev/%I
+TTYReset=yes
+TTYVHangup=yes
+TTYVTDisallocate=yes
+Restart=always
+RestartSec=0
+
+[Install]
+WantedBy=getty.target
+DefaultInstance=tty1
meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.service new file +13 -0
new file mode 100644
index 0000000..3275282
@@ -0,0 +1,13 @@
+[Unit]
+Description=Anaconda Installer Daemon
+After=network.target
+After=anaconda-init.target
+
+[Service]
+Type=forking
+Environment=HOME=@ROOT_HOME@ MALLOC_CHECK_=2 MALLOC_PERTURB_=204 PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin:/mnt/sysimage/usr/sbin:/mnt/sysimage/sbin LANG=en_US.UTF-8 GDK_BACKEND=x11 XDG_RUNTIME_DIR=/tmp GIO_USE_VFS=local
+WorkingDirectory=@ROOT_HOME@
+ExecStart=/usr/bin/screen -dmS anaconda-init /usr/sbin/anaconda-init start
+
+[Install]
+WantedBy=multi-user.target
meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.target new file +6 -0
new file mode 100644
index 0000000..1886399
@@ -0,0 +1,6 @@
+[Unit]
+Description=The anaconda installation program
+Requires=basic.target
+Conflicts=rescue.service rescue.target
+After=basic.target rescue.service rescue.target
+AllowIsolate=yes
Signature · 1 line
2.8.1
author
#13 lore raw

PATCH 13/15 meta-installer: add recipe anaconda 26.21.11

In reply to Hongxu Jia

The anaconda is from fedora 26 and customized based on OE platform.

---
 .../anaconda/files/0001-do-not-support-po.patch    |  41 ++
 ...02-widgets-Makefile.am-do-not-compile-doc.patch |  28 +
 ...t-Use-system-Python-when-running-Anaconda.patch |  42 ++
 ...4-pyanaconda-flags.py-drop-selinux-module.patch |  48 ++
 ...ckage-site-dir-for-installclass-searching.patch |  38 ++
 ...06-do-not-load-the-system-wide-Xresources.patch |  53 ++
 .../0007-tweak-iso-mount-dir-and-kernel-name.patch |  95 ++++
 .../0008-dnfpayload.py-customize-for-WRLinux.patch | 597 +++++++++++++++++++++
 ...cessary-noverifyssl-for-http-ftp-protocol.patch |  32 ++
 .../0010-dynamic-detect-workable-locale.patch      |  77 +++
 .../files/0011-improve-thread-monitor.patch        |  55 ++
 .../anaconda/files/0012-disable-audit.patch        |  64 +++
 ...py-Change-grub2-settings-to-match-oe-core.patch | 137 +++++
 .../files/0014-tweak-detect-kernel-version.patch   |  96 ++++
 .../0015-tweak-grub-config-file-for-WRLinux.patch  |  28 +
 ...time.tzset-to-apply-timezone-changes-when.patch |  66 +++
 ...rt-Authconfig-Firewall-Firstboot-Timezone.patch | 216 ++++++++
 .../files/0018-invisible-help-button.patch         |  32 ++
 .../0019-disable-non-implemented-functions.patch   |  41 ++
 .../files/0020-disable-geoloc-by-default.patch     |  30 ++
 .../anaconda/files/0021-support-UEFI-boot.patch    |  38 ++
 ...o-not-verify-ssl-certification-by-default.patch |  44 ++
 .../files/0023-tweak-default-nfs-mount-point.patch |  30 ++
 .../0024-fix-quoted-empty-string-failed.patch      |  46 ++
 ...support-ISO-hold-by-hard-drive-partitions.patch |  31 ++
 ...x-cannot-stat-usr-share-gettext-gettext.h.patch |  27 +
 .../0027-fix-Wind-River-boot-menu-not-work.patch   |  35 ++
 .../files/0028-tweak-bootloader-fs-type.patch      |  31 ++
 .../files/0029-support-timezone-setting.patch      |  95 ++++
 .../anaconda/files/0030-disable-ntp-support.patch  | 230 ++++++++
 .../0031-do-not-support-manually-set-time.patch    |  32 ++
 .../files/0032-support-user-account-creation.patch |  73 +++
 .../files/0033-detect-existence-of-Xorg.patch      |  45 ++
 ...-write-network-conf-failed-while-liveinst.patch |  40 ++
 ...mmits-to-support-reboot-for-live-installs.patch |  72 +++
 ...tory-setting-do-not-support-local-ISO-fil.patch |  72 +++
 ...ext-repository-setting-support-http-proxy.patch |  95 ++++
 ...-set-keyboard-xlayouts-with-us-by-default.patch |  50 ++
 ...xt-do-not-support-network-setting-for-now.patch |  33 ++
 .../0040-tweak-boot-storage-sanity-check.patch     |  31 ++
 ...tart-do-not-support-network-configuration.patch |  29 +
 ...042-support-to-get-kickstart-from-network.patch |  48 ++
 ...0043-support-authentication-for-kickstart.patch | 133 +++++
 ...nloading-file-from-http-ftp-server-to-tar.patch | 175 ++++++
 .../0045-live-install-supports-kickstart.patch     |  47 ++
 .../files/0046-support-initramfs-boot.patch        |  48 ++
 ...47-fix-hang-while-installed-system-reboot.patch |  30 ++
 ...talled-system-boot-from-encrypt-fs-failed.patch |  48 ++
 ...n-destination-disable-iSCSI-network-disks.patch |  29 +
 .../0050-update-region-while-city-changes.patch    |  32 ++
 .../0051-timezone-fix-set-US-Alaska-failed.patch   |  38 ++
 ...remove-incorrect-prefix-of-addon-repo-url.patch |  42 ++
 .../0053-fix-write-sysconfig-network-failed.patch  |  32 ++
 ...naconda-ui-gui-utils.py-tweak-mouse-arrow.patch |  31 ++
 ...5-tweak-search-location-of-new-kernel-pkg.patch |  30 ++
 .../0056-always-write-fstab-after-install.patch    |  31 ++
 ...e-grub-install-to-generate-efi-filesystem.patch |  60 +++
 .../files/0058-do-not-support-closest-mirror.patch |  96 ++++
 .../0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch |  42 ++
 .../anaconda/files/0060-tweak-time-setting.patch   | 106 ++++
 ...62-Add-dracut-args-for-home-to-bootloader.patch |  35 ++
 .../files/0063-do-not-customize-window-theme.patch |  55 ++
 .../files/0064-tweak-product-short-name.patch      |  33 ++
 .../anaconda/files/0065-disable-dmraid.patch       |  57 ++
 .../files/0066-tweak-shebang-of-bash.patch         |  25 +
 .../anaconda/files/0067-Tweak-label-name.patch     |  56 ++
 ...068-livepayload.py-copy-grub-from-host-os.patch |  51 ++
 .../files/0069-test-existence-of-noverifyssl.patch |  31 ++
 .../anaconda/files/81-edit-sudoers.ks              |   3 +
 .../recipes-installer/anaconda/files/wrlinux.py    | 112 ++++
 .../anaconda/python3-anaconda_26.21.11.bb          | 161 ++++++
 71 files changed, 4712 insertions(+)
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0001-do-not-support-po.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0002-widgets-Makefile.am-do-not-compile-doc.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0003-Revert-Use-system-Python-when-running-Anaconda.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0004-pyanaconda-flags.py-drop-selinux-module.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0005-add-package-site-dir-for-installclass-searching.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0006-do-not-load-the-system-wide-Xresources.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0007-tweak-iso-mount-dir-and-kernel-name.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0008-dnfpayload.py-customize-for-WRLinux.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0009-Remove-unnecessary-noverifyssl-for-http-ftp-protocol.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0010-dynamic-detect-workable-locale.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0011-improve-thread-monitor.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0012-disable-audit.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0013-bootloader.py-Change-grub2-settings-to-match-oe-core.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0014-tweak-detect-kernel-version.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0015-tweak-grub-config-file-for-WRLinux.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0016-Revert-Use-time.tzset-to-apply-timezone-changes-when.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0017-kickstart-Authconfig-Firewall-Firstboot-Timezone.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0018-invisible-help-button.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0019-disable-non-implemented-functions.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0020-disable-geoloc-by-default.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0021-support-UEFI-boot.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0022-do-not-verify-ssl-certification-by-default.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0023-tweak-default-nfs-mount-point.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0024-fix-quoted-empty-string-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0025-do-not-support-ISO-hold-by-hard-drive-partitions.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0026-fix-cannot-stat-usr-share-gettext-gettext.h.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0027-fix-Wind-River-boot-menu-not-work.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0028-tweak-bootloader-fs-type.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0029-support-timezone-setting.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0030-disable-ntp-support.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0031-do-not-support-manually-set-time.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0032-support-user-account-creation.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0033-detect-existence-of-Xorg.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0034-fix-write-network-conf-failed-while-liveinst.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0035-revert-commits-to-support-reboot-for-live-installs.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0036-text-repository-setting-do-not-support-local-ISO-fil.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0037-text-repository-setting-support-http-proxy.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0038-set-keyboard-xlayouts-with-us-by-default.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0039-text-do-not-support-network-setting-for-now.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0040-tweak-boot-storage-sanity-check.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0041-kickstart-do-not-support-network-configuration.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0042-support-to-get-kickstart-from-network.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0043-support-authentication-for-kickstart.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0044-support-downloading-file-from-http-ftp-server-to-tar.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0045-live-install-supports-kickstart.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0046-support-initramfs-boot.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0047-fix-hang-while-installed-system-reboot.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0048-fix-installed-system-boot-from-encrypt-fs-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0049-installation-destination-disable-iSCSI-network-disks.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0050-update-region-while-city-changes.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0051-timezone-fix-set-US-Alaska-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0052-remove-incorrect-prefix-of-addon-repo-url.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0053-fix-write-sysconfig-network-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0054-pyanaconda-ui-gui-utils.py-tweak-mouse-arrow.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0055-tweak-search-location-of-new-kernel-pkg.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0056-always-write-fstab-after-install.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0057-invoke-grub-install-to-generate-efi-filesystem.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0058-do-not-support-closest-mirror.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0060-tweak-time-setting.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0062-Add-dracut-args-for-home-to-bootloader.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0063-do-not-customize-window-theme.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0064-tweak-product-short-name.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0065-disable-dmraid.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0066-tweak-shebang-of-bash.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0067-Tweak-label-name.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0068-livepayload.py-copy-grub-from-host-os.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0069-test-existence-of-noverifyssl.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/81-edit-sudoers.ks
 create mode 100644 meta-installer/recipes-installer/anaconda/files/wrlinux.py
 create mode 100755 meta-installer/recipes-installer/anaconda/python3-anaconda_26.21.11.bb
meta-installer/recipes-installer/anaconda/files/0001-do-not-support-po.patch new file +41 -0
new file mode 100644
index 0000000..7bde9f3
@@ -0,0 +1,41 @@
+From 063bb9bc5a21564c2935e94ca21c71d54a27fdae Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Tue, 9 May 2017 04:10:03 -0400
+Subject: [PATCH 01/65] do not support po
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ Makefile.am  | 2 +-
+ configure.ac | 1 -
+ 2 files changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 552afd1..387614b 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -17,7 +17,7 @@
+ 
+ ACLOCAL_AMFLAGS = -I m4
+ 
+-SUBDIRS = data docs dracut po pyanaconda scripts tests widgets utils
++SUBDIRS = data docs dracut pyanaconda scripts tests widgets utils
+ 
+ EXTRA_DIST = COPYING .coveragerc
+ 
+diff --git a/configure.ac b/configure.ac
+index 9a9955d..1237f76 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -128,7 +128,6 @@ AC_CONFIG_FILES([Makefile
+                  data/window-manager/Makefile
+                  data/window-manager/config/Makefile
+                  data/window-manager/theme/Makefile
+-                 po/Makefile
+                  scripts/Makefile
+                  pyanaconda/Makefile
+                  pyanaconda/version.py
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0002-widgets-Makefile.am-do-not-compile-doc.patch new file +28 -0
new file mode 100644
index 0000000..8c4224f
@@ -0,0 +1,28 @@
+From a1787c64202305aa374e287572ba2c855a35b378 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Tue, 9 May 2017 04:36:48 -0400
+Subject: [PATCH 02/65] widgets/Makefile.am: do not compile doc
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ widgets/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/widgets/Makefile.am b/widgets/Makefile.am
+index 6478ce8..222aeaa 100644
+--- a/widgets/Makefile.am
++++ b/widgets/Makefile.am
+@@ -19,7 +19,7 @@
+ 
+ ACLOCAL_AMFLAGS = -I m4
+ 
+-SUBDIRS = src python glade doc
++SUBDIRS = src python glade
+ 
+ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in config.sub \
+ 	configure depcomp install-sh ltmain.sh missing py-compile \
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0003-Revert-Use-system-Python-when-running-Anaconda.patch new file +42 -0

42 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0004-pyanaconda-flags.py-drop-selinux-module.patch new file +48 -0

48 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0005-add-package-site-dir-for-installclass-searching.patch new file +38 -0
new file mode 100644
index 0000000..f2423e6
@@ -0,0 +1,38 @@
+From c23cb67a0bf9960357c66651527e959ccb754076 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Mon, 15 May 2017 13:47:30 +0800
+Subject: [PATCH 05/65] add package site dir for installclass searching
+
+The default dir searching is incorrect.
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/installclass.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/pyanaconda/installclass.py b/pyanaconda/installclass.py
+index 4bb7dff..0311ca7 100644
+--- a/pyanaconda/installclass.py
++++ b/pyanaconda/installclass.py
+@@ -22,6 +22,7 @@
+ #
+ 
+ from distutils.sysconfig import get_python_lib
++from site import getsitepackages
+ import os, sys
+ import imp
+ 
+@@ -192,7 +193,7 @@ def availableClasses(showHidden=False):
+ 
+     path = []
+ 
+-    env_path = []
++    env_path = ["%s/pyanaconda/installclasses" % p for p in getsitepackages()]
+     if "ANACONDA_INSTALL_CLASSES" in os.environ:
+         env_path += os.environ["ANACONDA_INSTALL_CLASSES"].split(":")
+ 
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0006-do-not-load-the-system-wide-Xresources.patch new file +53 -0

53 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0007-tweak-iso-mount-dir-and-kernel-name.patch new file +95 -0

95 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0008-dnfpayload.py-customize-for-WRLinux.patch new file +597 -0

597 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0009-Remove-unnecessary-noverifyssl-for-http-ftp-protocol.patch new file +32 -0
new file mode 100644
index 0000000..72c92d9
@@ -0,0 +1,32 @@
+From cb5140f12ba1dbe2f67f5f47eddaecc1b54790ed Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Fri, 19 May 2017 14:03:54 +0800
+Subject: [PATCH 09/65] Remove unnecessary --noverifyssl for http/ftp protocol
+
+We set --noverifyssl by default, but it makes sense for https only
+
+Upstream-Status: Pending
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/install.py | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/pyanaconda/install.py b/pyanaconda/install.py
+index 224ef8f..929b89d 100644
+--- a/pyanaconda/install.py
++++ b/pyanaconda/install.py
+@@ -68,6 +68,10 @@ def _writeKS(ksdata):
+                 ksdata.partition.dataList() + ksdata.raid.dataList():
+         obj.passphrase = ""
+ 
++    # The true of '--noverifyssl' makes sense for https only
++    if ksdata.method.method == "url" and not ksdata.method.url.startswith("https://"):
++        ksdata.method.noverifyssl = False
++
+     # Make it so only root can read - could have passwords
+     with iutil.open_with_perm(path, "w", 0o600) as f:
+         f.write(str(ksdata))
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0010-dynamic-detect-workable-locale.patch new file +77 -0

77 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0011-improve-thread-monitor.patch new file +55 -0

55 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0012-disable-audit.patch new file +64 -0

64 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0013-bootloader.py-Change-grub2-settings-to-match-oe-core.patch new file +137 -0

137 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0014-tweak-detect-kernel-version.patch new file +96 -0

96 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0015-tweak-grub-config-file-for-WRLinux.patch new file +28 -0
new file mode 100644
index 0000000..16a7c27
@@ -0,0 +1,28 @@
+From 9f516ae49d4ce95dc9054934733ee63eb8ba37bc Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Fri, 19 May 2017 16:22:20 +0800
+Subject: [PATCH 15/65] tweak grub config file for WRLinux
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/bootloader.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
+index a8fc01f..2a91759 100644
+--- a/pyanaconda/bootloader.py
++++ b/pyanaconda/bootloader.py
+@@ -1506,7 +1506,7 @@ class GRUB2(GRUB):
+ 
+         defaults = open(defaults_file, "w+")
+         defaults.write("GRUB_TIMEOUT=%d\n" % self.timeout)
+-        defaults.write("GRUB_DISTRIBUTOR=\"$(sed 's, release .*$,,g' /etc/system-release)\"\n")
++        defaults.write("GRUB_DISTRIBUTOR=\"%s\"\n" % productName)
+         defaults.write("GRUB_DEFAULT=saved\n")
+         defaults.write("GRUB_DISABLE_SUBMENU=true\n")
+         if self.console and self.has_serial_console:
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0016-Revert-Use-time.tzset-to-apply-timezone-changes-when.patch new file +66 -0

66 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0017-kickstart-Authconfig-Firewall-Firstboot-Timezone.patch new file +216 -0

216 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0018-invisible-help-button.patch new file +32 -0
new file mode 100644
index 0000000..6015dbf
@@ -0,0 +1,32 @@
+From 2ff2e7147f3dc618c6dfda298acc0a57874fdc8a Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Fri, 26 May 2017 14:10:54 +0800
+Subject: [PATCH 18/65] invisible help button
+
+WRLinux do not support help button, so we should not display it.
+
+Do not display layout indicator neither.
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ widgets/src/BaseWindow.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/widgets/src/BaseWindow.c b/widgets/src/BaseWindow.c
+index 6a1e372..8d86cd9 100644
+--- a/widgets/src/BaseWindow.c
++++ b/widgets/src/BaseWindow.c
+@@ -415,8 +415,6 @@ G_GNUC_END_IGNORE_DEPRECATIONS
+     gtk_grid_attach(GTK_GRID(win->priv->nav_area), win->priv->name_label, 0, 0, 1, 1);
+     gtk_grid_attach(GTK_GRID(win->priv->nav_area), win->priv->distro_label, 1, 0, 2, 1);
+     gtk_grid_attach(GTK_GRID(win->priv->nav_area), win->priv->beta_label, 1, 1, 1, 1);
+-    gtk_grid_attach(GTK_GRID(win->priv->nav_area), win->priv->layout_indicator, 1, 2, 1, 1);
+-    gtk_grid_attach(GTK_GRID(win->priv->nav_area), win->priv->help_button, 2, 1, 1, 2);
+ 
+     /* Last thing for the main_box is a revealer for the info bar */
+     win->priv->info_revealer = gtk_revealer_new();
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0019-disable-non-implemented-functions.patch new file +41 -0

41 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0020-disable-geoloc-by-default.patch new file +30 -0
new file mode 100644
index 0000000..6baf839
@@ -0,0 +1,30 @@
+From 23bbe43b72154be12f23523258fd918704ccd570 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Fri, 26 May 2017 14:19:58 +0800
+Subject: [PATCH 20/65] disable geoloc by default
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ anaconda.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/anaconda.py b/anaconda.py
+index ad7bf6b..5163fb3 100755
+--- a/anaconda.py
++++ b/anaconda.py
+@@ -695,8 +695,8 @@ if __name__ == "__main__":
+     else:
+         # flags.cmdline.getbool is used as it handles values such as
+         # 0, no, off and also nogeoloc as False
+-        # and other values or geoloc not being present as True
+-        use_geolocation = flags.cmdline.getbool('geoloc', True)
++        # and other values or geoloc not being present as False
++        use_geolocation = flags.cmdline.getbool('geoloc', False)
+ 
+     if use_geolocation:
+         startup_utils.start_geolocation(provider_id=opts.geoloc)
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0021-support-UEFI-boot.patch new file +38 -0
new file mode 100644
index 0000000..4324374
@@ -0,0 +1,38 @@
+From ec8da5a284de623253687fbe3d36a8cabcf94696 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Fri, 26 May 2017 14:24:37 +0800
+Subject: [PATCH 21/65] support UEFI boot
+
+- tweak grub efi package name based on oe-core
+
+- tweak efi_dir according to oe-core's EFI layout
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/bootloader.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
+index 2a91759..50fdac1 100644
+--- a/pyanaconda/bootloader.py
++++ b/pyanaconda/bootloader.py
+@@ -1846,12 +1846,12 @@ class EFIGRUB1(EFIBase, GRUB):
+ 
+ 
+ class EFIGRUB(EFIBase, GRUB2):
+-    packages = ["grub2-efi", "efibootmgr", "shim"]
++    packages = ["grub-efi", "efibootmgr"]
+     can_dual_boot = False
+     stage2_is_valid_stage1 = False
+     stage2_bootable = False
+ 
+-    _efi_binary = "\\shim.efi"
++    _efi_binary = "\\boot*.efi"
+ 
+     def __init__(self):
+         super(EFIGRUB, self).__init__()
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0022-do-not-verify-ssl-certification-by-default.patch new file +44 -0

44 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0023-tweak-default-nfs-mount-point.patch new file +30 -0
new file mode 100644
index 0000000..60b62b2
@@ -0,0 +1,30 @@
+From b9f0d13df1a467c4eedf11820ffb0e0e3f04feba Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Thu, 19 May 2016 22:28:14 -0400
+Subject: [PATCH 23/65] tweak default nfs mount point
+
+Tweak nfs mount point of base repository to "/media/source".
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/constants.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyanaconda/constants.py b/pyanaconda/constants.py
+index b514bf5..d15767b 100644
+--- a/pyanaconda/constants.py
++++ b/pyanaconda/constants.py
+@@ -57,7 +57,7 @@ DRACUT_REPODIR = MOUNT_DIR + "/Packages"
+ DRACUT_ISODIR = "/run/install/source"
+ ISO_DIR = MOUNT_DIR + "/isodir"
+ IMAGE_DIR = MOUNT_DIR + "/image"
+-INSTALL_TREE = MOUNT_DIR + "/source"
++INSTALL_TREE = "/media/source"
+ BASE_REPO_NAME = "anaconda"
+ 
+ # NOTE: this should be LANG_TERRITORY.CODESET, e.g. en_US.UTF-8
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0024-fix-quoted-empty-string-failed.patch new file +46 -0

46 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0025-do-not-support-ISO-hold-by-hard-drive-partitions.patch new file +31 -0
new file mode 100644
index 0000000..dbce135
@@ -0,0 +1,31 @@
+From b40eb535b039d39623b775a483df9cfa8eecdbc4 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Tue, 24 May 2016 22:40:21 -0400
+Subject: [PATCH 25/65] do not support ISO hold by hard drive partitions
+
+We do not plan to have hard drive partitions to hold an ISO.
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/ui/gui/spokes/source.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
+index 61033a3..b8bd739 100644
+--- a/pyanaconda/ui/gui/spokes/source.py
++++ b/pyanaconda/ui/gui/spokes/source.py
+@@ -810,7 +810,8 @@ class SourceSpoke(NormalSpoke, GUISpokeInputCheckHandler):
+             added = True
+             idx += 1
+ 
+-        # Again, only display these widgets if an HDISO source was found.
++        # Do not support an HDISO source.
++        added = False
+         self._isoBox.set_no_show_all(not added)
+         self._isoBox.set_visible(added)
+         self._isoButton.set_no_show_all(not added)
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0026-fix-cannot-stat-usr-share-gettext-gettext.h.patch new file +27 -0
new file mode 100644
index 0000000..4adbff8
@@ -0,0 +1,27 @@
+From fc969fc3eec744fc9a1fbcb3c1b13d7fc1bfb410 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Sat, 11 Jun 2016 23:25:30 -0400
+Subject: [PATCH 26/65] fix cannot stat '/usr/share/gettext/gettext.h'
+
+Tweak location of gettext.h, use sysroots dir to replace host dir.
+
+Upstream-Status: Inappropriate <oe-core specific>
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ widgets/autogen.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/widgets/autogen.sh b/widgets/autogen.sh
+index 55ed5de..eb70eb6 100755
+--- a/widgets/autogen.sh
++++ b/widgets/autogen.sh
+@@ -9,4 +9,4 @@ rm -rf autom4te.cache
+ 
+ # Remove the old symlink if present
+ if [ -h src/gettext.h ] ; then rm src/gettext.h ; fi
+-cp -f /usr/share/gettext/gettext.h src
++cp -f ${STAGING_DATADIR_NATIVE}/gettext/gettext.h src
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0027-fix-Wind-River-boot-menu-not-work.patch new file +35 -0
new file mode 100644
index 0000000..0646dac
@@ -0,0 +1,35 @@
+From 5f37502599b7a7fdbb5d49725bd1a5da71b79298 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Fri, 26 May 2017 14:48:43 +0800
+Subject: [PATCH 27/65] fix "Wind River" boot menu not work
+
+While efi installation finished, and reboot target.
+There is a "Wind River Linux" in bios boot menu
+(not grub menu), this patch to make it work.
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/bootloader.py | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
+index 50fdac1..8ad2926 100644
+--- a/pyanaconda/bootloader.py
++++ b/pyanaconda/bootloader.py
+@@ -1851,7 +1851,10 @@ class EFIGRUB(EFIBase, GRUB2):
+     stage2_is_valid_stage1 = False
+     stage2_bootable = False
+ 
+-    _efi_binary = "\\boot*.efi"
++    if os.uname()[4] == "x86_64":
++        _efi_binary = "\\bootx64.efi"
++    else:
++        _efi_binary = "\\bootia32.efi"
+ 
+     def __init__(self):
+         super(EFIGRUB, self).__init__()
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0028-tweak-bootloader-fs-type.patch new file +31 -0
new file mode 100644
index 0000000..df77f4b
@@ -0,0 +1,31 @@
+From dd105dcf13c6351a0a35208030ab23ecde07fa95 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Fri, 26 May 2017 14:51:26 +0800
+Subject: [PATCH 28/65] tweak bootloader fs type
+
+Use ext2 as default fs of bootloader to workaround grub-probe
+failure while e2fsprogs upgraded to 1.43
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/bootloader.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
+index 8ad2926..2c86603 100644
+--- a/pyanaconda/bootloader.py
++++ b/pyanaconda/bootloader.py
+@@ -1429,7 +1429,7 @@ class GRUB2(GRUB):
+         if productName.startswith("Red Hat "):              # pylint: disable=no-member
+             return ["xfs", "ext4", "ext3", "ext2", "btrfs"]
+         else:
+-            return ["ext4", "ext3", "ext2", "btrfs", "xfs"]
++            return ["ext2", "ext3", "ext4", "btrfs", "xfs"]
+ 
+     #
+     # grub-related conveniences
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0029-support-timezone-setting.patch new file +95 -0

95 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0030-disable-ntp-support.patch new file +230 -0

230 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0031-do-not-support-manually-set-time.patch new file +32 -0
new file mode 100644
index 0000000..2f8a29f
@@ -0,0 +1,32 @@
+From 265adffc84235b9cbc0ea68e576e4e8afe2e3d3f Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Fri, 31 Mar 2017 13:40:00 +0800
+Subject: [PATCH 31/65] do not support manually set time
+
+Since NTP setting is not supported in anaconda, it does not
+support set time manually neither.
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/ui/gui/spokes/datetime_spoke.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.py b/pyanaconda/ui/gui/spokes/datetime_spoke.py
+index ecf32f7..4cc9f60 100644
+--- a/pyanaconda/ui/gui/spokes/datetime_spoke.py
++++ b/pyanaconda/ui/gui/spokes/datetime_spoke.py
+@@ -541,6 +541,9 @@ class DatetimeSpoke(FirstbootSpokeMixIn, NormalSpoke):
+                              _("Restoring hardware time..."))
+             threadMgr.wait(constants.THREAD_TIME_INIT)
+ 
++        # Do not support manually set time
++        self._set_date_time_setting_sensitive(False)
++
+         hubQ.send_ready(self.__class__.__name__, False)
+ 
+         # report that we are done
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0032-support-user-account-creation.patch new file +73 -0

73 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0033-detect-existence-of-Xorg.patch new file +45 -0

45 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0034-fix-write-network-conf-failed-while-liveinst.patch new file +40 -0
new file mode 100644
index 0000000..465829a
@@ -0,0 +1,40 @@
+From 16940d79490ef191cbabf0bbfc8ff7e9416e7425 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Tue, 19 Jul 2016 04:36:06 -0400
+Subject: [PATCH 34/65] fix write network conf failed while liveinst
+
+While liveinst, the network conf writing will overwrite copy
+"/etc/resolv.conf" to "/mnt/sysimage/etc/resolv.conf". But in
+wrlinux, the "/etc/resolv.conf" and "/mnt/sysimage/etc/resolv.conf"
+are the same file which is a symlink to /run/resolve.conf.
+
+Test same file before copy.
+
+Upstream-Status: Pending
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/network.py | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/pyanaconda/network.py b/pyanaconda/network.py
+index c3f0dd1..36676ad 100644
+--- a/pyanaconda/network.py
++++ b/pyanaconda/network.py
+@@ -1198,6 +1198,13 @@ def copyFileToPath(fileName, destPath='', overwrite=False):
+         return False
+     if not os.path.isdir(os.path.dirname(destfile)):
+         iutil.mkdirChain(os.path.dirname(destfile))
++
++    # Same file test
++    if os.path.exists(fileName) and os.path.exists(destfile) and \
++       os.stat(fileName).st_ino == os.stat(destfile).st_ino:
++        log.info("%s and %s are the same file" % (fileName, destfile))
++        return False
++
+     shutil.copy(fileName, destfile)
+     return True
+ 
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0035-revert-commits-to-support-reboot-for-live-installs.patch new file +72 -0

72 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0036-text-repository-setting-do-not-support-local-ISO-fil.patch new file +72 -0

72 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0037-text-repository-setting-support-http-proxy.patch new file +95 -0

95 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0038-set-keyboard-xlayouts-with-us-by-default.patch new file +50 -0

50 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0039-text-do-not-support-network-setting-for-now.patch new file +33 -0
new file mode 100644
index 0000000..b223e1b
@@ -0,0 +1,33 @@
+From f282390815a67d876044ba6ec9803bcc4d413f22 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Thu, 1 Jun 2017 13:34:20 +0800
+Subject: [PATCH 39/65] text: do not support network setting for now
+
+We have a long term plan to support it, but not now.
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/ui/tui/spokes/network.py | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/pyanaconda/ui/tui/spokes/network.py b/pyanaconda/ui/tui/spokes/network.py
+index 0bdee5d..7af5da3 100644
+--- a/pyanaconda/ui/tui/spokes/network.py
++++ b/pyanaconda/ui/tui/spokes/network.py
+@@ -58,6 +58,11 @@ class NetworkSpoke(FirstbootSpokeMixIn, EditTUISpoke):
+         self.errors = []
+         self._apply = False
+ 
++    @classmethod
++    def should_run(cls, environment, data):
++        # Do not support network config for now
++        return False
++
+     def initialize(self):
+         self.initialize_start()
+         self._load_new_devices()
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0040-tweak-boot-storage-sanity-check.patch new file +31 -0
new file mode 100644
index 0000000..4b6abb0
@@ -0,0 +1,31 @@
+From f72aa915e7a7c510587447725af40ed1050422a2 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Thu, 1 Jun 2017 13:48:00 +0800
+Subject: [PATCH 40/65] tweak /boot storage sanity check
+
+Since kernel-vmlinux (200MB+) was installed to /boot,
+tweak /boot storage sanity check from 200MB to 300MB.
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/storage_utils.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyanaconda/storage_utils.py b/pyanaconda/storage_utils.py
+index ca49f86..23160bc 100644
+--- a/pyanaconda/storage_utils.py
++++ b/pyanaconda/storage_utils.py
+@@ -642,7 +642,7 @@ class StorageChecker(object):
+             '/tmp': Size("50 MiB"),
+             '/var': Size("384 MiB"),
+             '/home': Size("100 MiB"),
+-            '/boot': Size("200 MiB")
++            '/boot': Size("300 MiB")
+         })
+ 
+         self.add_new_constraint(STORAGE_MUST_BE_ON_LINUXFS, {
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0041-kickstart-do-not-support-network-configuration.patch new file +29 -0
new file mode 100644
index 0000000..d4c73d8
@@ -0,0 +1,29 @@
+From a3bf304f1016a39249d0882644d0365be93bd18b Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Thu, 1 Jun 2017 13:50:15 +0800
+Subject: [PATCH 41/65] kickstart do not support network configuration
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ pyanaconda/install.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/pyanaconda/install.py b/pyanaconda/install.py
+index 929b89d..555d7b0 100644
+--- a/pyanaconda/install.py
++++ b/pyanaconda/install.py
+@@ -72,6 +72,9 @@ def _writeKS(ksdata):
+     if ksdata.method.method == "url" and not ksdata.method.url.startswith("https://"):
+         ksdata.method.noverifyssl = False
+ 
++    # Do not support network configuration
++    ksdata.network.network = []
++
+     # Make it so only root can read - could have passwords
+     with iutil.open_with_perm(path, "w", 0o600) as f:
+         f.write(str(ksdata))
+-- 
+2.7.4
+
meta-installer/recipes-installer/anaconda/files/0042-support-to-get-kickstart-from-network.patch new file +48 -0

5 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0043-support-authentication-for-kickstart.patch new file +133 -0

133 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0044-support-downloading-file-from-http-ftp-server-to-tar.patch new file +175 -0

175 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0045-live-install-supports-kickstart.patch new file +47 -0

47 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0046-support-initramfs-boot.patch new file +48 -0

48 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0047-fix-hang-while-installed-system-reboot.patch new file +30 -0
new file mode 100644
index 0000000..68171ad

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/0048-fix-installed-system-boot-from-encrypt-fs-failed.patch new file +48 -0

48 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0049-installation-destination-disable-iSCSI-network-disks.patch new file +29 -0
new file mode 100644
index 0000000..e38d37e

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/0050-update-region-while-city-changes.patch new file +32 -0
new file mode 100644
index 0000000..e6a6622

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/0051-timezone-fix-set-US-Alaska-failed.patch new file +38 -0
new file mode 100644
index 0000000..dc9845d

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/0052-remove-incorrect-prefix-of-addon-repo-url.patch new file +42 -0

42 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0053-fix-write-sysconfig-network-failed.patch new file +32 -0
new file mode 100644
index 0000000..627dda2

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/0054-pyanaconda-ui-gui-utils.py-tweak-mouse-arrow.patch new file +31 -0
new file mode 100644
index 0000000..24484e5

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/0055-tweak-search-location-of-new-kernel-pkg.patch new file +30 -0
new file mode 100644
index 0000000..6414976

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/0056-always-write-fstab-after-install.patch new file +31 -0
new file mode 100644
index 0000000..488539c

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/0057-invoke-grub-install-to-generate-efi-filesystem.patch new file +60 -0

60 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0058-do-not-support-closest-mirror.patch new file +96 -0

96 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch new file +42 -0

42 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0060-tweak-time-setting.patch new file +106 -0

106 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0062-Add-dracut-args-for-home-to-bootloader.patch new file +35 -0
new file mode 100644
index 0000000..f65e567

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/0063-do-not-customize-window-theme.patch new file +55 -0

55 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0064-tweak-product-short-name.patch new file +33 -0
new file mode 100644
index 0000000..c7773c3

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/0065-disable-dmraid.patch new file +57 -0

57 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0066-tweak-shebang-of-bash.patch new file +25 -0
new file mode 100644
index 0000000..ec1f223

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/0067-Tweak-label-name.patch new file +56 -0

56 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0068-livepayload.py-copy-grub-from-host-os.patch new file +51 -0

51 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/files/0069-test-existence-of-noverifyssl.patch new file +31 -0
new file mode 100644
index 0000000..43ac959

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/81-edit-sudoers.ks new file +3 -0
new file mode 100644
index 0000000..b1a7980

Lines of this file are not shown. View the raw message.

meta-installer/recipes-installer/anaconda/files/wrlinux.py new file +112 -0

112 lines not on this page · raw message

meta-installer/recipes-installer/anaconda/python3-anaconda_26.21.11.bb new file +161 -0

161 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.8.1

Part of the diff is not shown here. View the raw message.

author
#14 lore raw

PATCH 14/15 meta-installer: add recipe core-image-anaconda

In reply to Hongxu Jia

In the host build, it generates a live iso image which runs anaconda to do the installation.

---
 .../images/core-image-anaconda.bb                  | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 meta-installer/recipes-installer/images/core-image-anaconda.bb
meta-installer/recipes-installer/images/core-image-anaconda.bb new file +34 -0
new file mode 100644
index 0000000..9f50ca3
@@ -0,0 +1,34 @@
+DESCRIPTION = "An image with Anaconda to do installation."
+
+LICENSE = "MIT"
+
+# Support installation from initrd boot
+do_image_complete[depends] += "${PN}-initramfs:do_image_complete"
+
+DEPENDS += "isomd5sum-native \
+"
+
+CUSTOMIZE_LOGOS ??= "yocto-compat-logos"
+
+# We override what gets set in core-image.bbclass
+IMAGE_INSTALL = "\
+    packagegroup-core-boot \
+    packagegroup-core-ssh-openssh \
+    ${@['', 'packagegroup-installer-x11-anaconda'][bool(d.getVar('XSERVER', True))]} \
+    python3-anaconda \
+    anaconda-init \
+    kernel-modules \
+    ${CUSTOMIZE_LOGOS} \
+    dhcp-client \
+    ldd \
+    "
+IMAGE_LINGUAS = "en-us en-gb"
+
+# Generate live image
+IMAGE_FSTYPES_remove = "wic wic.bmap"
+IMAGE_FSTYPES_append = " live"
+NOHDD = "1"
+
+IMAGE_ROOTFS_EXTRA_SPACE =" + 102400"
+
+inherit core-image anaconda_image
Signature · 1 line
2.8.1
author
#15 lore raw

PATCH 15/15 meta-installer: add recipe core-image-anaconda-initramfs

In reply to Hongxu Jia

The initramfs image is used for PXE install (net boot installation)

---
 .../images/core-image-anaconda-initramfs.bb        | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 meta-installer/recipes-installer/images/core-image-anaconda-initramfs.bb
meta-installer/recipes-installer/images/core-image-anaconda-initramfs.bb new file +33 -0
new file mode 100644
index 0000000..8f2dc3b
@@ -0,0 +1,33 @@
+DESCRIPTION = "The initramfs contains anaconda installer, which supports \
+PXE install (net boot installation)"
+
+CUSTOMIZE_LOGOS ??= "yocto-compat-logos"
+
+IMAGE_INSTALL = "\
+    initramfs-live-boot \
+    initramfs-live-install \
+    initramfs-live-install-efi \
+    busybox udev ldd \
+    initscripts \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit', '', d)} \
+    sysvinit-inittab \
+    base-passwd \
+    kernel-modules \
+    ${CUSTOMIZE_LOGOS} \
+    python3-anaconda \
+    anaconda-init \
+    ${@['', 'packagegroup-installer-x11-anaconda'][bool(d.getVar('XSERVER', True))]} \
+    packagegroup-core-boot \
+    packagegroup-core-ssh-openssh \
+"
+
+IMAGE_LINGUAS = "en-us en-gb"
+
+LICENSE = "MIT"
+
+IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
+inherit core-image anaconda_image
+
+IMAGE_ROOTFS_SIZE = "8192"
+INITRAMFS_MAXSIZE ?= "1048576"
+
Signature · 1 line
2.8.1
#17 lore raw
In reply to Hongxu Jia

I honestly don't see why this has to belong in meta-openembedded and can't live in a standalone repository.

Ross

Quoted 428 lines · Hongxu Jia

The meta-installer layer provides a collection of installation programs based on OE platform.

One implementation is the target installer 'anaconda', the version is 26.21.11 which is based on Fedora 26.

The anacoda requires:
- systemd as init manager
- python3
- dnf2/rpm4
- gobject-introspection which requires qemu-usermode in MACHINE_FEATURES

The anaconda provides:
- graphic install and text install.

- package based (dnf/rpm) install and image (copy) based install.

- package based (dnf/rpm) install from local and
remote rpm sources such as CDs and DVDs, images
stored on a hard drive, NFS, HTTP, and FTP.

- kickstart install which provides a fully unattended installation that can be duplicated on scores of machines.

- install over VNC on headless machines.

- timezone setting.

- root password setting.

- user account creation.

- a variety of advanced storage devices including
LVM, Btrfs, Ext4, and filesystem encryption.

TODO (currently not support):
- keyboard setting

- language support setting

- network & host name setting

//Hongxu

The following changes since commit 34aa4c3202b427f59f843dc43a4e1a fda4f81d13:

usb-modeswitch: add [email protected] (2017-11-19 13:45:38 -0800)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib
hongxu/meta-installer
http://cgit.openembedded.org/openembedded-core-contrib/log/
?h=hongxu/meta-installer

Hongxu Jia (15):
meta-installer: create layer
meta-installer: add kernel config
meta-installer: add anaconda support for target build
meta-installer: add distro anaconda for host build
meta-installer: add systemd/systemd-serialgetty bbappend
meta-installer: add gtk+3 bbappend
meta-installer: add initramfs-live-boot bbappend
meta-installer: add xserver-xf86-config bbappend
meta-installer: add multipath-tools bbappend
meta-installer: add recipe packagegroup-installer-x11-anaconda
meta-installer: add recipe yocto-compat-logos
meta-installer: add recipe anaconda-init
meta-installer: add recipe anaconda 26.21.11
meta-installer: add recipe core-image-anaconda
meta-installer: add recipe core-image-anaconda-initramfs

 meta-installer/COPYING.MIT                         |  17 +
 meta-installer/README                              |  47 ++
 meta-installer/README.anaconda                     | 341 ++++++++++++
 meta-installer/classes/anaconda_image.bbclass      | 321 +++++++++++
 meta-installer/classes/anaconda_kernel.bbclass     |  14 +
 .../classes/anaconda_support_image.bbclass         |  40 ++
 .../classes/anaconda_support_kernel.bbclass        |   8 +
 meta-installer/conf/distro/anaconda.conf           |  33 ++
 meta-installer/conf/layer.conf                     |  31 ++
 meta-installer/licenses/FLTK                       | 530
++++++++++++++++++
 .../systemd/files/[email protected]            |  40 ++
 .../systemd/files/serial-screen-anaconda.sh        |   5 +
 .../systemd/systemd-serialgetty.bbappend           |  12 +
 .../recipes-core/systemd/systemd_%.bbappend        |   6 +
 ...for-anaconda-installer-while-loading-libA.patch |  84 +++
 .../recipes-gnome/gtk+/gtk+3_%.%.%.bbappend        |   3 +
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |  12 +
 .../anaconda-init/anaconda-init.bb                 |  77 +++
 .../anaconda-init/anaconda-init/COPYING            | 339 ++++++++++++
 .../anaconda-init/anaconda-init/Xusername          |   1 +
 .../anaconda-init/anaconda-init/anaconda-init      | 362 +++++++++++++
 .../anaconda-init/[email protected]    |  22 +
 .../anaconda-init/anaconda-init.service            |  13 +
 .../anaconda-init/anaconda-init.target             |   6 +
 .../anaconda/files/0001-do-not-support-po.patch    |  41 ++
 ...02-widgets-Makefile.am-do-not-compile-doc.patch |  28 +
 ...t-Use-system-Python-when-running-Anaconda.patch |  42 ++
 ...4-pyanaconda-flags.py-drop-selinux-module.patch |  48 ++
 ...ckage-site-dir-for-installclass-searching.patch |  38 ++
 ...06-do-not-load-the-system-wide-Xresources.patch |  53 ++
 .../0007-tweak-iso-mount-dir-and-kernel-name.patch |  95 ++++
 .../0008-dnfpayload.py-customize-for-WRLinux.patch | 597
+++++++++++++++++++++
 ...cessary-noverifyssl-for-http-ftp-protocol.patch |  32 ++
 .../0010-dynamic-detect-workable-locale.patch      |  77 +++
 .../files/0011-improve-thread-monitor.patch        |  55 ++
 .../anaconda/files/0012-disable-audit.patch        |  64 +++
 ...py-Change-grub2-settings-to-match-oe-core.patch | 137 +++++
 .../files/0014-tweak-detect-kernel-version.patch   |  96 ++++
 .../0015-tweak-grub-config-file-for-WRLinux.patch  |  28 +
 ...time.tzset-to-apply-timezone-changes-when.patch |  66 +++
 ...rt-Authconfig-Firewall-Firstboot-Timezone.patch | 216 ++++++++
 .../files/0018-invisible-help-button.patch         |  32 ++
 .../0019-disable-non-implemented-functions.patch   |  41 ++
 .../files/0020-disable-geoloc-by-default.patch     |  30 ++
 .../anaconda/files/0021-support-UEFI-boot.patch    |  38 ++
 ...o-not-verify-ssl-certification-by-default.patch |  44 ++
 .../files/0023-tweak-default-nfs-mount-point.patch |  30 ++
 .../0024-fix-quoted-empty-string-failed.patch      |  46 ++
 ...support-ISO-hold-by-hard-drive-partitions.patch |  31 ++
 ...x-cannot-stat-usr-share-gettext-gettext.h.patch |  27 +
 .../0027-fix-Wind-River-boot-menu-not-work.patch   |  35 ++
 .../files/0028-tweak-bootloader-fs-type.patch      |  31 ++
 .../files/0029-support-timezone-setting.patch      |  95 ++++
 .../anaconda/files/0030-disable-ntp-support.patch  | 230 ++++++++
 .../0031-do-not-support-manually-set-time.patch    |  32 ++
 .../files/0032-support-user-account-creation.patch |  73 +++
 .../files/0033-detect-existence-of-Xorg.patch      |  45 ++
 ...-write-network-conf-failed-while-liveinst.patch |  40 ++
 ...mmits-to-support-reboot-for-live-installs.patch |  72 +++
 ...tory-setting-do-not-support-local-ISO-fil.patch |  72 +++
 ...ext-repository-setting-support-http-proxy.patch |  95 ++++
 ...-set-keyboard-xlayouts-with-us-by-default.patch |  50 ++
 ...xt-do-not-support-network-setting-for-now.patch |  33 ++
 .../0040-tweak-boot-storage-sanity-check.patch     |  31 ++
 ...tart-do-not-support-network-configuration.patch |  29 +
 ...042-support-to-get-kickstart-from-network.patch |  48 ++
 ...0043-support-authentication-for-kickstart.patch | 133 +++++
 ...nloading-file-from-http-ftp-server-to-tar.patch | 175 ++++++
 .../0045-live-install-supports-kickstart.patch     |  47 ++
 .../files/0046-support-initramfs-boot.patch        |  48 ++
 ...47-fix-hang-while-installed-system-reboot.patch |  30 ++
 ...talled-system-boot-from-encrypt-fs-failed.patch |  48 ++
 ...n-destination-disable-iSCSI-network-disks.patch |  29 +
 .../0050-update-region-while-city-changes.patch    |  32 ++
 .../0051-timezone-fix-set-US-Alaska-failed.patch   |  38 ++
 ...remove-incorrect-prefix-of-addon-repo-url.patch |  42 ++
 .../0053-fix-write-sysconfig-network-failed.patch  |  32 ++
 ...naconda-ui-gui-utils.py-tweak-mouse-arrow.patch |  31 ++
 ...5-tweak-search-location-of-new-kernel-pkg.patch |  30 ++
 .../0056-always-write-fstab-after-install.patch    |  31 ++
 ...e-grub-install-to-generate-efi-filesystem.patch |  60 +++
 .../files/0058-do-not-support-closest-mirror.patch |  96 ++++
 .../0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch |  42 ++
 .../anaconda/files/0060-tweak-time-setting.patch   | 106 ++++
 ...62-Add-dracut-args-for-home-to-bootloader.patch |  35 ++
 .../files/0063-do-not-customize-window-theme.patch |  55 ++
 .../files/0064-tweak-product-short-name.patch      |  33 ++
 .../anaconda/files/0065-disable-dmraid.patch       |  57 ++
 .../files/0066-tweak-shebang-of-bash.patch         |  25 +
 .../anaconda/files/0067-Tweak-label-name.patch     |  56 ++
 ...068-livepayload.py-copy-grub-from-host-os.patch |  51 ++
 .../files/0069-test-existence-of-noverifyssl.patch |  31 ++
 .../anaconda/files/81-edit-sudoers.ks              |   3 +
 .../recipes-installer/anaconda/files/wrlinux.py    | 112 ++++
 .../anaconda/python3-anaconda_26.21.11.bb          | 161 ++++++
 .../images/core-image-anaconda-initramfs.bb        |  33 ++
 .../images/core-image-anaconda.bb                  |  34 ++
 .../initrdscripts/files/init-live.sh               | 249 +++++++++
 .../initrdscripts/initramfs-live-boot_1.0.bbappend |   5 +
 .../recipes-installer/logos/yocto-compat-logos.bb  |  24 +
 .../logos/yocto-compat-logos/COPYING               | 339 ++++++++++++
 .../logos/yocto-compat-logos/banner_yocto1.png     | Bin 0 -> 44650 bytes
 .../logos/yocto-compat-logos/banner_yocto2.png     | Bin 0 -> 39223 bytes
 .../logos/yocto-compat-logos/sidebar-logo.png      | Bin 0 -> 17651 bytes
 .../logos/yocto-compat-logos/topbar-bg.png         | Bin 0 -> 77956 bytes
 .../packagegroup-installer-x11-anaconda.bb         |  28 +
 .../packagegroups/packagegroup-anaconda-support.bb |  26 +
 .../recipes-kernel/linux/files/crypt.cfg           |   2 +
 .../recipes-kernel/linux/files/crypt.scc           |   1 +
 .../recipes-kernel/linux/files/dmthin.cfg          |   1 +
 .../recipes-kernel/linux/files/dmthin.scc          |   1 +
 .../recipes-kernel/linux/files/efivars.cfg         |   1 +
 .../recipes-kernel/linux/files/efivars.scc         |   1 +
 meta-installer/recipes-kernel/linux/files/ide.cfg  |   5 +
 meta-installer/recipes-kernel/linux/files/ide.scc  |   1 +
 .../recipes-kernel/linux/files/liveinstall.cfg     |   5 +
 .../recipes-kernel/linux/files/liveinstall.scc     |   1 +
 .../recipes-kernel/linux/files/multipath.cfg       |   3 +
 .../recipes-kernel/linux/files/multipath.scc       |   1 +
 .../multipath-tools/multipath-tools_%.bbappend     |   8 +
 120 files changed, 7845 insertions(+)
 create mode 100644 meta-installer/COPYING.MIT
 create mode 100644 meta-installer/README
 create mode 100644 meta-installer/README.anaconda
 create mode 100644 meta-installer/classes/anaconda_image.bbclass
 create mode 100644 meta-installer/classes/anaconda_kernel.bbclass
 create mode 100644 meta-installer/classes/anaconda_support_image.bbclass
 create mode 100644 meta-installer/classes/anaconda_support_kernel.bbclass
 create mode 100644 meta-installer/conf/distro/anaconda.conf
 create mode 100644 meta-installer/conf/layer.conf
 create mode 100644 meta-installer/licenses/FLTK
 create mode 100644 meta-installer/recipes-core/
systemd/files/[email protected]
 create mode 100644 meta-installer/recipes-core/
systemd/files/serial-screen-anaconda.sh
 create mode 100644 meta-installer/recipes-core/
systemd/systemd-serialgetty.bbappend
 create mode 100644 meta-installer/recipes-core/systemd/systemd_%.bbappend
 create mode 100644 meta-installer/recipes-gnome/
gtk+/files/workaround-for-anaconda-installer-while-loading-libA.patch
 create mode 100644 meta-installer/recipes-gnome/gtk+/gtk+3_%.%.%.bbappend
 create mode 100644 meta-installer/recipes-graphics/xorg-xserver/xserver-
xf86-config_0.1.bbappend
 create mode 100644 meta-installer/recipes-installer/anaconda-init/anacon
da-init.bb
 create mode 100644 meta-installer/recipes-installer/anaconda-init/
anaconda-init/COPYING
 create mode 100644 meta-installer/recipes-installer/anaconda-init/
anaconda-init/Xusername
 create mode 100644 meta-installer/recipes-installer/anaconda-init/
anaconda-init/anaconda-init
 create mode 100644 meta-installer/recipes-installer/anaconda-init/
anaconda-init/[email protected]
 create mode 100644 meta-installer/recipes-installer/anaconda-init/
anaconda-init/anaconda-init.service
 create mode 100644 meta-installer/recipes-installer/anaconda-init/
anaconda-init/anaconda-init.target
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0001-
do-not-support-po.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0002-
widgets-Makefile.am-do-not-compile-doc.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0003-
Revert-Use-system-Python-when-running-Anaconda.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0004-
pyanaconda-flags.py-drop-selinux-module.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0005-
add-package-site-dir-for-installclass-searching.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0006-
do-not-load-the-system-wide-Xresources.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0007-
tweak-iso-mount-dir-and-kernel-name.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0008-
dnfpayload.py-customize-for-WRLinux.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0009-
Remove-unnecessary-noverifyssl-for-http-ftp-protocol.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0010-
dynamic-detect-workable-locale.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0011-
improve-thread-monitor.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0012-
disable-audit.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0013-
bootloader.py-Change-grub2-settings-to-match-oe-core.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0014-
tweak-detect-kernel-version.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0015-
tweak-grub-config-file-for-WRLinux.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0016-
Revert-Use-time.tzset-to-apply-timezone-changes-when.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0017-
kickstart-Authconfig-Firewall-Firstboot-Timezone.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0018-
invisible-help-button.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0019-
disable-non-implemented-functions.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0020-
disable-geoloc-by-default.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0021-
support-UEFI-boot.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0022-
do-not-verify-ssl-certification-by-default.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0023-
tweak-default-nfs-mount-point.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0024-
fix-quoted-empty-string-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0025-
do-not-support-ISO-hold-by-hard-drive-partitions.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0026-
fix-cannot-stat-usr-share-gettext-gettext.h.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0027-
fix-Wind-River-boot-menu-not-work.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0028-
tweak-bootloader-fs-type.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0029-
support-timezone-setting.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0030-
disable-ntp-support.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0031-
do-not-support-manually-set-time.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0032-
support-user-account-creation.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0033-
detect-existence-of-Xorg.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0034-
fix-write-network-conf-failed-while-liveinst.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0035-
revert-commits-to-support-reboot-for-live-installs.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0036-
text-repository-setting-do-not-support-local-ISO-fil.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0037-
text-repository-setting-support-http-proxy.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0038-
set-keyboard-xlayouts-with-us-by-default.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0039-
text-do-not-support-network-setting-for-now.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0040-
tweak-boot-storage-sanity-check.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0041-
kickstart-do-not-support-network-configuration.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0042-
support-to-get-kickstart-from-network.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0043-
support-authentication-for-kickstart.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0044-
support-downloading-file-from-http-ftp-server-to-tar.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0045-
live-install-supports-kickstart.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0046-
support-initramfs-boot.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0047-
fix-hang-while-installed-system-reboot.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0048-
fix-installed-system-boot-from-encrypt-fs-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0049-
installation-destination-disable-iSCSI-network-disks.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0050-
update-region-while-city-changes.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0051-
timezone-fix-set-US-Alaska-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0052-
remove-incorrect-prefix-of-addon-repo-url.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0053-
fix-write-sysconfig-network-failed.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0054-
pyanaconda-ui-gui-utils.py-tweak-mouse-arrow.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0055-
tweak-search-location-of-new-kernel-pkg.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0056-
always-write-fstab-after-install.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0057-
invoke-grub-install-to-generate-efi-filesystem.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0058-
do-not-support-closest-mirror.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0059-
tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0060-
tweak-time-setting.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0062-
Add-dracut-args-for-home-to-bootloader.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0063-
do-not-customize-window-theme.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0064-
tweak-product-short-name.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0065-
disable-dmraid.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0066-
tweak-shebang-of-bash.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0067-
Tweak-label-name.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0068-
livepayload.py-copy-grub-from-host-os.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/0069-
test-existence-of-noverifyssl.patch
 create mode 100644 meta-installer/recipes-installer/anaconda/files/81-
edit-sudoers.ks
 create mode 100644 meta-installer/recipes-installer/anaconda/files/
wrlinux.py
 create mode 100755 meta-installer/recipes-installer/anaconda/python3-
anaconda_26.21.11.bb
 create mode 100644 meta-installer/recipes-installer/images/core-image-
anaconda-initramfs.bb
 create mode 100644 meta-installer/recipes-installer/images/core-image-
anaconda.bb
 create mode 100644 meta-installer/recipes-installer/initrdscripts/files/
init-live.sh
 create mode 100644 meta-installer/recipes-installer/initrdscripts/
initramfs-live-boot_1.0.bbappend
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-
logos.bb
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-
logos/COPYING
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-
logos/banner_yocto1.png
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-
logos/banner_yocto2.png
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-
logos/sidebar-logo.png
 create mode 100644 meta-installer/recipes-installer/logos/yocto-compat-
logos/topbar-bg.png
 create mode 100644 meta-installer/recipes-installer/packagegroups/packag
egroup-installer-x11-anaconda.bb
 create mode 100644 meta-installer/recipes-installersupport/packagegroups/
packagegroup-anaconda-support.bb
 create mode 100644 meta-installer/recipes-kernel/linux/files/crypt.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/crypt.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/dmthin.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/dmthin.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/efivars.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/efivars.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/ide.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/ide.scc
 create mode 100644 meta-installer/recipes-kernel/
linux/files/liveinstall.cfg
 create mode 100644 meta-installer/recipes-kernel/
linux/files/liveinstall.scc
 create mode 100644 meta-installer/recipes-kernel/
linux/files/multipath.cfg
 create mode 100644 meta-installer/recipes-kernel/
linux/files/multipath.scc
 create mode 100644 meta-installer/recipes-support/multipath-tools/

multipath-tools_%.bbappend

--
2.8.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#18 lore raw
Quoted 2 lines · Ross

I honestly don't see why this has to belong in meta-openembedded and can't live in a standalone repository.

Yes, as a standalone repository is OK, but previously I submitted all required recipes to OE, with anacodna, it is complete as a whole.

It is convenience to maintain all of them in one place.

//Hongxu

Quoted 2 lines

Ross

#19 lore raw
In reply to Burton, Ross
Quoted 3 lines · Ross

I honestly don't see why this has to belong in meta-openembedded and can't live in a standalone repository.

I share the same opinion it should probably be
Repo of its own

Quoted 435 lines

Ross

Quoted 430 lines · Hongxu Jia

The meta-installer layer provides a collection of installation programs based on OE platform.

One implementation is the target installer 'anaconda', the version is 26.21.11 which is based on Fedora 26.

The anacoda requires:
- systemd as init manager
- python3
- dnf2/rpm4
- gobject-introspection which requires qemu-usermode in MACHINE_FEATURES

The anaconda provides:
- graphic install and text install.

- package based (dnf/rpm) install and image (copy) based install.

- package based (dnf/rpm) install from local and
remote rpm sources such as CDs and DVDs, images
stored on a hard drive, NFS, HTTP, and FTP.

- kickstart install which provides a fully unattended installation that can be duplicated on scores of machines.

- install over VNC on headless machines.

- timezone setting.

- root password setting.

- user account creation.

- a variety of advanced storage devices including
LVM, Btrfs, Ext4, and filesystem encryption.

TODO (currently not support):
- keyboard setting

- language support setting

- network & host name setting

//Hongxu

The following changes since commit
34aa4c3202b427f59f843dc43a4e1afda4f81d13:

usb-modeswitch: add [email protected] (2017-11-19 13:45:38 -0800)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib
hongxu/meta-installer

http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/meta-installer

Hongxu Jia (15):
meta-installer: create layer
meta-installer: add kernel config
meta-installer: add anaconda support for target build
meta-installer: add distro anaconda for host build
meta-installer: add systemd/systemd-serialgetty bbappend
meta-installer: add gtk+3 bbappend
meta-installer: add initramfs-live-boot bbappend
meta-installer: add xserver-xf86-config bbappend
meta-installer: add multipath-tools bbappend
meta-installer: add recipe packagegroup-installer-x11-anaconda
meta-installer: add recipe yocto-compat-logos
meta-installer: add recipe anaconda-init
meta-installer: add recipe anaconda 26.21.11
meta-installer: add recipe core-image-anaconda
meta-installer: add recipe core-image-anaconda-initramfs

 meta-installer/COPYING.MIT                         |  17 +
 meta-installer/README                              |  47 ++
 meta-installer/README.anaconda                     | 341 ++++++++++++
 meta-installer/classes/anaconda_image.bbclass      | 321 +++++++++++
 meta-installer/classes/anaconda_kernel.bbclass     |  14 +
 .../classes/anaconda_support_image.bbclass         |  40 ++
 .../classes/anaconda_support_kernel.bbclass        |   8 +
 meta-installer/conf/distro/anaconda.conf           |  33 ++
 meta-installer/conf/layer.conf                     |  31 ++
 meta-installer/licenses/FLTK                       | 530
++++++++++++++++++
 .../systemd/files/[email protected]            |  40 ++
 .../systemd/files/serial-screen-anaconda.sh        |   5 +
 .../systemd/systemd-serialgetty.bbappend           |  12 +
 .../recipes-core/systemd/systemd_%.bbappend        |   6 +
 ...for-anaconda-installer-while-loading-libA.patch |  84 +++
 .../recipes-gnome/gtk+/gtk+3_%.%.%.bbappend        |   3 +
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |  12 +
 .../anaconda-init/anaconda-init.bb                 |  77 +++
 .../anaconda-init/anaconda-init/COPYING            | 339 ++++++++++++
 .../anaconda-init/anaconda-init/Xusername          |   1 +
 .../anaconda-init/anaconda-init/anaconda-init      | 362 +++++++++++++
 .../anaconda-init/[email protected]    |  22 +
 .../anaconda-init/anaconda-init.service            |  13 +
 .../anaconda-init/anaconda-init.target             |   6 +
 .../anaconda/files/0001-do-not-support-po.patch    |  41 ++
 ...02-widgets-Makefile.am-do-not-compile-doc.patch |  28 +
 ...t-Use-system-Python-when-running-Anaconda.patch |  42 ++
 ...4-pyanaconda-flags.py-drop-selinux-module.patch |  48 ++
 ...ckage-site-dir-for-installclass-searching.patch |  38 ++
 ...06-do-not-load-the-system-wide-Xresources.patch |  53 ++
 .../0007-tweak-iso-mount-dir-and-kernel-name.patch |  95 ++++
 .../0008-dnfpayload.py-customize-for-WRLinux.patch | 597
+++++++++++++++++++++
 ...cessary-noverifyssl-for-http-ftp-protocol.patch |  32 ++
 .../0010-dynamic-detect-workable-locale.patch      |  77 +++
 .../files/0011-improve-thread-monitor.patch        |  55 ++
 .../anaconda/files/0012-disable-audit.patch        |  64 +++
 ...py-Change-grub2-settings-to-match-oe-core.patch | 137 +++++
 .../files/0014-tweak-detect-kernel-version.patch   |  96 ++++
 .../0015-tweak-grub-config-file-for-WRLinux.patch  |  28 +
 ...time.tzset-to-apply-timezone-changes-when.patch |  66 +++
 ...rt-Authconfig-Firewall-Firstboot-Timezone.patch | 216 ++++++++
 .../files/0018-invisible-help-button.patch         |  32 ++
 .../0019-disable-non-implemented-functions.patch   |  41 ++
 .../files/0020-disable-geoloc-by-default.patch     |  30 ++
 .../anaconda/files/0021-support-UEFI-boot.patch    |  38 ++
 ...o-not-verify-ssl-certification-by-default.patch |  44 ++
 .../files/0023-tweak-default-nfs-mount-point.patch |  30 ++
 .../0024-fix-quoted-empty-string-failed.patch      |  46 ++
 ...support-ISO-hold-by-hard-drive-partitions.patch |  31 ++
 ...x-cannot-stat-usr-share-gettext-gettext.h.patch |  27 +
 .../0027-fix-Wind-River-boot-menu-not-work.patch   |  35 ++
 .../files/0028-tweak-bootloader-fs-type.patch      |  31 ++
 .../files/0029-support-timezone-setting.patch      |  95 ++++
 .../anaconda/files/0030-disable-ntp-support.patch  | 230 ++++++++
 .../0031-do-not-support-manually-set-time.patch    |  32 ++
 .../files/0032-support-user-account-creation.patch |  73 +++
 .../files/0033-detect-existence-of-Xorg.patch      |  45 ++
 ...-write-network-conf-failed-while-liveinst.patch |  40 ++
 ...mmits-to-support-reboot-for-live-installs.patch |  72 +++
 ...tory-setting-do-not-support-local-ISO-fil.patch |  72 +++
 ...ext-repository-setting-support-http-proxy.patch |  95 ++++
 ...-set-keyboard-xlayouts-with-us-by-default.patch |  50 ++
 ...xt-do-not-support-network-setting-for-now.patch |  33 ++
 .../0040-tweak-boot-storage-sanity-check.patch     |  31 ++
 ...tart-do-not-support-network-configuration.patch |  29 +
 ...042-support-to-get-kickstart-from-network.patch |  48 ++
 ...0043-support-authentication-for-kickstart.patch | 133 +++++
 ...nloading-file-from-http-ftp-server-to-tar.patch | 175 ++++++
 .../0045-live-install-supports-kickstart.patch     |  47 ++
 .../files/0046-support-initramfs-boot.patch        |  48 ++
 ...47-fix-hang-while-installed-system-reboot.patch |  30 ++
 ...talled-system-boot-from-encrypt-fs-failed.patch |  48 ++
 ...n-destination-disable-iSCSI-network-disks.patch |  29 +
 .../0050-update-region-while-city-changes.patch    |  32 ++
 .../0051-timezone-fix-set-US-Alaska-failed.patch   |  38 ++
 ...remove-incorrect-prefix-of-addon-repo-url.patch |  42 ++
 .../0053-fix-write-sysconfig-network-failed.patch  |  32 ++
 ...naconda-ui-gui-utils.py-tweak-mouse-arrow.patch |  31 ++
 ...5-tweak-search-location-of-new-kernel-pkg.patch |  30 ++
 .../0056-always-write-fstab-after-install.patch    |  31 ++
 ...e-grub-install-to-generate-efi-filesystem.patch |  60 +++
 .../files/0058-do-not-support-closest-mirror.patch |  96 ++++
 .../0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch |  42 ++
 .../anaconda/files/0060-tweak-time-setting.patch   | 106 ++++
 ...62-Add-dracut-args-for-home-to-bootloader.patch |  35 ++
 .../files/0063-do-not-customize-window-theme.patch |  55 ++
 .../files/0064-tweak-product-short-name.patch      |  33 ++
 .../anaconda/files/0065-disable-dmraid.patch       |  57 ++
 .../files/0066-tweak-shebang-of-bash.patch         |  25 +
 .../anaconda/files/0067-Tweak-label-name.patch     |  56 ++
 ...068-livepayload.py-copy-grub-from-host-os.patch |  51 ++
 .../files/0069-test-existence-of-noverifyssl.patch |  31 ++
 .../anaconda/files/81-edit-sudoers.ks              |   3 +
 .../recipes-installer/anaconda/files/wrlinux.py    | 112 ++++
 .../anaconda/python3-anaconda_26.21.11.bb          | 161 ++++++
 .../images/core-image-anaconda-initramfs.bb        |  33 ++
 .../images/core-image-anaconda.bb                  |  34 ++
 .../initrdscripts/files/init-live.sh               | 249 +++++++++
 .../initrdscripts/initramfs-live-boot_1.0.bbappend |   5 +
 .../recipes-installer/logos/yocto-compat-logos.bb  |  24 +
 .../logos/yocto-compat-logos/COPYING               | 339 ++++++++++++
 .../logos/yocto-compat-logos/banner_yocto1.png     | Bin 0 -> 44650 bytes
 .../logos/yocto-compat-logos/banner_yocto2.png     | Bin 0 -> 39223 bytes
 .../logos/yocto-compat-logos/sidebar-logo.png      | Bin 0 -> 17651 bytes
 .../logos/yocto-compat-logos/topbar-bg.png         | Bin 0 -> 77956 bytes
 .../packagegroup-installer-x11-anaconda.bb         |  28 +
 .../packagegroups/packagegroup-anaconda-support.bb |  26 +
 .../recipes-kernel/linux/files/crypt.cfg           |   2 +
 .../recipes-kernel/linux/files/crypt.scc           |   1 +
 .../recipes-kernel/linux/files/dmthin.cfg          |   1 +
 .../recipes-kernel/linux/files/dmthin.scc          |   1 +
 .../recipes-kernel/linux/files/efivars.cfg         |   1 +
 .../recipes-kernel/linux/files/efivars.scc         |   1 +
 meta-installer/recipes-kernel/linux/files/ide.cfg  |   5 +
 meta-installer/recipes-kernel/linux/files/ide.scc  |   1 +
 .../recipes-kernel/linux/files/liveinstall.cfg     |   5 +
 .../recipes-kernel/linux/files/liveinstall.scc     |   1 +
 .../recipes-kernel/linux/files/multipath.cfg       |   3 +
 .../recipes-kernel/linux/files/multipath.scc       |   1 +
 .../multipath-tools/multipath-tools_%.bbappend     |   8 +
 120 files changed, 7845 insertions(+)
 create mode 100644 meta-installer/COPYING.MIT
 create mode 100644 meta-installer/README
 create mode 100644 meta-installer/README.anaconda
 create mode 100644 meta-installer/classes/anaconda_image.bbclass
 create mode 100644 meta-installer/classes/anaconda_kernel.bbclass
 create mode 100644 meta-installer/classes/anaconda_support_image.bbclass
 create mode 100644 meta-installer/classes/anaconda_support_kernel.bbclass
 create mode 100644 meta-installer/conf/distro/anaconda.conf
 create mode 100644 meta-installer/conf/layer.conf
 create mode 100644 meta-installer/licenses/FLTK
 create mode 100644
meta-installer/recipes-core/systemd/files/[email protected]
 create mode 100644
meta-installer/recipes-core/systemd/files/serial-screen-anaconda.sh
 create mode 100644
meta-installer/recipes-core/systemd/systemd-serialgetty.bbappend
 create mode 100644 meta-installer/recipes-core/systemd/systemd_%.bbappend
 create mode 100644
meta-installer/recipes-gnome/gtk+/files/workaround-for-anaconda-installer-while-loading-libA.patch
 create mode 100644 meta-installer/recipes-gnome/gtk+/gtk+3_%.%.%.bbappend
 create mode 100644
meta-installer/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
 create mode 100644 meta-installer/recipes-installer/anaconda-init/
anaconda-init.bb
 create mode 100644
meta-installer/recipes-installer/anaconda-init/anaconda-init/COPYING
 create mode 100644
meta-installer/recipes-installer/anaconda-init/anaconda-init/Xusername
 create mode 100644
meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init
 create mode 100644
meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init-screen@
.service
 create mode 100644
meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.service
 create mode 100644
meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.target
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0001-do-not-support-po.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0002-widgets-Makefile.am-do-not-compile-doc.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0003-Revert-Use-system-Python-when-running-Anaconda.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0004-pyanaconda-flags.py-drop-selinux-module.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0005-add-package-site-dir-for-installclass-searching.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0006-do-not-load-the-system-wide-Xresources.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0007-tweak-iso-mount-dir-and-kernel-name.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0008-dnfpayload.py-customize-for-WRLinux.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0009-Remove-unnecessary-noverifyssl-for-http-ftp-protocol.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0010-dynamic-detect-workable-locale.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0011-improve-thread-monitor.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0012-disable-audit.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0013-bootloader.py-Change-grub2-settings-to-match-oe-core.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0014-tweak-detect-kernel-version.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0015-tweak-grub-config-file-for-WRLinux.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0016-Revert-Use-time.tzset-to-apply-timezone-changes-when.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0017-kickstart-Authconfig-Firewall-Firstboot-Timezone.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0018-invisible-help-button.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0019-disable-non-implemented-functions.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0020-disable-geoloc-by-default.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0021-support-UEFI-boot.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0022-do-not-verify-ssl-certification-by-default.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0023-tweak-default-nfs-mount-point.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0024-fix-quoted-empty-string-failed.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0025-do-not-support-ISO-hold-by-hard-drive-partitions.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0026-fix-cannot-stat-usr-share-gettext-gettext.h.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0027-fix-Wind-River-boot-menu-not-work.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0028-tweak-bootloader-fs-type.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0029-support-timezone-setting.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0030-disable-ntp-support.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0031-do-not-support-manually-set-time.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0032-support-user-account-creation.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0033-detect-existence-of-Xorg.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0034-fix-write-network-conf-failed-while-liveinst.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0035-revert-commits-to-support-reboot-for-live-installs.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0036-text-repository-setting-do-not-support-local-ISO-fil.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0037-text-repository-setting-support-http-proxy.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0038-set-keyboard-xlayouts-with-us-by-default.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0039-text-do-not-support-network-setting-for-now.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0040-tweak-boot-storage-sanity-check.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0041-kickstart-do-not-support-network-configuration.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0042-support-to-get-kickstart-from-network.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0043-support-authentication-for-kickstart.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0044-support-downloading-file-from-http-ftp-server-to-tar.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0045-live-install-supports-kickstart.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0046-support-initramfs-boot.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0047-fix-hang-while-installed-system-reboot.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0048-fix-installed-system-boot-from-encrypt-fs-failed.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0049-installation-destination-disable-iSCSI-network-disks.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0050-update-region-while-city-changes.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0051-timezone-fix-set-US-Alaska-failed.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0052-remove-incorrect-prefix-of-addon-repo-url.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0053-fix-write-sysconfig-network-failed.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0054-pyanaconda-ui-gui-utils.py-tweak-mouse-arrow.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0055-tweak-search-location-of-new-kernel-pkg.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0056-always-write-fstab-after-install.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0057-invoke-grub-install-to-generate-efi-filesystem.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0058-do-not-support-closest-mirror.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0060-tweak-time-setting.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0062-Add-dracut-args-for-home-to-bootloader.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0063-do-not-customize-window-theme.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0064-tweak-product-short-name.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0065-disable-dmraid.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0066-tweak-shebang-of-bash.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0067-Tweak-label-name.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0068-livepayload.py-copy-grub-from-host-os.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/0069-test-existence-of-noverifyssl.patch
 create mode 100644
meta-installer/recipes-installer/anaconda/files/81-edit-sudoers.ks
 create mode 100644
meta-installer/recipes-installer/anaconda/files/wrlinux.py
 create mode 100755 meta-installer/recipes-installer/anaconda/
python3-anaconda_26.21.11.bb
 create mode 100644 meta-installer/recipes-installer/images/
core-image-anaconda-initramfs.bb
 create mode 100644 meta-installer/recipes-installer/images/
core-image-anaconda.bb
 create mode 100644
meta-installer/recipes-installer/initrdscripts/files/init-live.sh
 create mode 100644
meta-installer/recipes-installer/initrdscripts/initramfs-live-boot_1.0.bbappend
 create mode 100644 meta-installer/recipes-installer/logos/
yocto-compat-logos.bb
 create mode 100644
meta-installer/recipes-installer/logos/yocto-compat-logos/COPYING
 create mode 100644
meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto1.png
 create mode 100644
meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto2.png
 create mode 100644
meta-installer/recipes-installer/logos/yocto-compat-logos/sidebar-logo.png
 create mode 100644
meta-installer/recipes-installer/logos/yocto-compat-logos/topbar-bg.png
 create mode 100644 meta-installer/recipes-installer/packagegroups/
packagegroup-installer-x11-anaconda.bb
 create mode 100644 meta-installer/recipes-installersupport/packagegroups/
packagegroup-anaconda-support.bb
 create mode 100644 meta-installer/recipes-kernel/linux/files/crypt.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/crypt.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/dmthin.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/dmthin.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/efivars.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/efivars.scc
 create mode 100644 meta-installer/recipes-kernel/linux/files/ide.cfg
 create mode 100644 meta-installer/recipes-kernel/linux/files/ide.scc
 create mode 100644
meta-installer/recipes-kernel/linux/files/liveinstall.cfg
 create mode 100644
meta-installer/recipes-kernel/linux/files/liveinstall.scc
 create mode 100644
meta-installer/recipes-kernel/linux/files/multipath.cfg
 create mode 100644
meta-installer/recipes-kernel/linux/files/multipath.scc
 create mode 100644

meta-installer/recipes-support/multipath-tools/multipath-tools_%.bbappend

--
2.8.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#20 lore raw
Quoted 10 lines · Khem Raj

On Thu, Nov 23, 2017 at 4:15 AM Burton, Ross <[email protected] <mailto:[email protected]>> wrote:

I honestly don't see why this has to belong in meta-openembedded and can't live in a standalone repository.

I share the same opinion it should probably be
 Repo of its own

Hi Ross & Khem,

Since both of you think it should be as a standalone repository, I do not insist on it.

Hi Michael,

Would you please create a repository on http://git.yoctoproject.org/
the layer name called `meta-installer', should I resend pull request for review or directly push the repo contents to it once it's created.

If the latter one, should I send my ssh pub key to you privately?

//Hongxu

Quoted 473 lines
    Ross

    On 23 November 2017 at 12:09, Hongxu Jia <[email protected]
    <mailto:[email protected]>> wrote:

        The meta-installer layer provides a collection of installation
        programs based on OE platform.

        One implementation is the target installer 'anaconda', the version
        is 26.21.11 which is based on Fedora 26.

        The anacoda requires:
        - systemd as init manager
        - python3
        - dnf2/rpm4
        - gobject-introspection which requires qemu-usermode
          in MACHINE_FEATURES

        The anaconda provides:
        - graphic install and text install.

        - package based (dnf/rpm) install and image (copy)
          based install.

        - package based (dnf/rpm) install from local and
          remote rpm sources such as CDs and DVDs, images
          stored on a hard drive, NFS, HTTP, and FTP.

        - kickstart install which provides a fully unattended
          installation that can be duplicated on scores of machines.

        - install over VNC on headless machines.

        - timezone setting.

        - root password setting.

        - user account creation.

        - a variety of advanced storage devices including
          LVM, Btrfs, Ext4, and filesystem encryption.

        TODO (currently not support):
        - keyboard setting

        - language support setting

        - network & host name setting

        //Hongxu

        The following changes since commit
        34aa4c3202b427f59f843dc43a4e1afda4f81d13:

          usb-modeswitch: add [email protected] (2017-11-19
        13:45:38 -0800)

        are available in the git repository at:

          git://git.openembedded.org/openembedded-core-contrib
        <http://git.openembedded.org/openembedded-core-contrib>
        hongxu/meta-installer
        http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/meta-installer

        Hongxu Jia (15):
          meta-installer: create layer
          meta-installer: add kernel config
          meta-installer: add anaconda support for target build
          meta-installer: add distro anaconda for host build
          meta-installer: add systemd/systemd-serialgetty bbappend
          meta-installer: add gtk+3 bbappend
          meta-installer: add initramfs-live-boot bbappend
          meta-installer: add xserver-xf86-config bbappend
          meta-installer: add multipath-tools bbappend
          meta-installer: add recipe packagegroup-installer-x11-anaconda
          meta-installer: add recipe yocto-compat-logos
          meta-installer: add recipe anaconda-init
          meta-installer: add recipe anaconda 26.21.11
          meta-installer: add recipe core-image-anaconda
          meta-installer: add recipe core-image-anaconda-initramfs

         meta-installer/COPYING.MIT                         | 17 +
         meta-installer/README                              | 47 ++
         meta-installer/README.anaconda                     | 341
        ++++++++++++
         meta-installer/classes/anaconda_image.bbclass      | 321
        +++++++++++
         meta-installer/classes/anaconda_kernel.bbclass     | 14 +
         .../classes/anaconda_support_image.bbclass         | 40 ++
         .../classes/anaconda_support_kernel.bbclass        |  8 +
         meta-installer/conf/distro/anaconda.conf           | 33 ++
         meta-installer/conf/layer.conf                     | 31 ++
         meta-installer/licenses/FLTK                       | 530
        ++++++++++++++++++
         .../systemd/files/[email protected]            | 40 ++
         .../systemd/files/serial-screen-anaconda.sh        |  5 +
         .../systemd/systemd-serialgetty.bbappend           | 12 +
         .../recipes-core/systemd/systemd_%.bbappend        |  6 +
         ...for-anaconda-installer-while-loading-libA.patch | 84 +++
         .../recipes-gnome/gtk+/gtk+3_%.%.%.bbappend        |  3 +
         .../xorg-xserver/xserver-xf86-config_0.1.bbappend  | 12 +
         .../anaconda-init/anaconda-init.bb <http://anaconda-init.bb>
               |  77 +++
         .../anaconda-init/anaconda-init/COPYING            | 339
        ++++++++++++
         .../anaconda-init/anaconda-init/Xusername          |  1 +
         .../anaconda-init/anaconda-init/anaconda-init      | 362
        +++++++++++++
         .../anaconda-init/[email protected]    | 22 +
         .../anaconda-init/anaconda-init.service            | 13 +
         .../anaconda-init/anaconda-init.target             |  6 +
         .../anaconda/files/0001-do-not-support-po.patch    | 41 ++
         ...02-widgets-Makefile.am-do-not-compile-doc.patch | 28 +
         ...t-Use-system-Python-when-running-Anaconda.patch | 42 ++
         ...4-pyanaconda-flags.py-drop-selinux-module.patch | 48 ++
         ...ckage-site-dir-for-installclass-searching.patch | 38 ++
         ...06-do-not-load-the-system-wide-Xresources.patch | 53 ++
         .../0007-tweak-iso-mount-dir-and-kernel-name.patch | 95 ++++
         .../0008-dnfpayload.py-customize-for-WRLinux.patch | 597
        +++++++++++++++++++++
         ...cessary-noverifyssl-for-http-ftp-protocol.patch | 32 ++
         .../0010-dynamic-detect-workable-locale.patch      | 77 +++
         .../files/0011-improve-thread-monitor.patch        | 55 ++
         .../anaconda/files/0012-disable-audit.patch        | 64 +++
         ...py-Change-grub2-settings-to-match-oe-core.patch | 137 +++++
         .../files/0014-tweak-detect-kernel-version.patch   | 96 ++++
         .../0015-tweak-grub-config-file-for-WRLinux.patch  | 28 +
         ...time.tzset-to-apply-timezone-changes-when.patch | 66 +++
         ...rt-Authconfig-Firewall-Firstboot-Timezone.patch | 216 ++++++++
         .../files/0018-invisible-help-button.patch         | 32 ++
         .../0019-disable-non-implemented-functions.patch   | 41 ++
         .../files/0020-disable-geoloc-by-default.patch     | 30 ++
         .../anaconda/files/0021-support-UEFI-boot.patch    | 38 ++
         ...o-not-verify-ssl-certification-by-default.patch | 44 ++
         .../files/0023-tweak-default-nfs-mount-point.patch | 30 ++
         .../0024-fix-quoted-empty-string-failed.patch      | 46 ++
         ...support-ISO-hold-by-hard-drive-partitions.patch | 31 ++
         ...x-cannot-stat-usr-share-gettext-gettext.h.patch | 27 +
         .../0027-fix-Wind-River-boot-menu-not-work.patch   | 35 ++
         .../files/0028-tweak-bootloader-fs-type.patch      | 31 ++
         .../files/0029-support-timezone-setting.patch      | 95 ++++
         .../anaconda/files/0030-disable-ntp-support.patch  | 230 ++++++++
         .../0031-do-not-support-manually-set-time.patch    | 32 ++
         .../files/0032-support-user-account-creation.patch | 73 +++
         .../files/0033-detect-existence-of-Xorg.patch      | 45 ++
         ...-write-network-conf-failed-while-liveinst.patch | 40 ++
         ...mmits-to-support-reboot-for-live-installs.patch | 72 +++
         ...tory-setting-do-not-support-local-ISO-fil.patch | 72 +++
         ...ext-repository-setting-support-http-proxy.patch | 95 ++++
         ...-set-keyboard-xlayouts-with-us-by-default.patch | 50 ++
         ...xt-do-not-support-network-setting-for-now.patch | 33 ++
         .../0040-tweak-boot-storage-sanity-check.patch     | 31 ++
         ...tart-do-not-support-network-configuration.patch | 29 +
         ...042-support-to-get-kickstart-from-network.patch | 48 ++
         ...0043-support-authentication-for-kickstart.patch | 133 +++++
         ...nloading-file-from-http-ftp-server-to-tar.patch | 175 ++++++
         .../0045-live-install-supports-kickstart.patch     | 47 ++
         .../files/0046-support-initramfs-boot.patch        | 48 ++
         ...47-fix-hang-while-installed-system-reboot.patch | 30 ++
         ...talled-system-boot-from-encrypt-fs-failed.patch | 48 ++
         ...n-destination-disable-iSCSI-network-disks.patch | 29 +
         .../0050-update-region-while-city-changes.patch    | 32 ++
         .../0051-timezone-fix-set-US-Alaska-failed.patch   | 38 ++
         ...remove-incorrect-prefix-of-addon-repo-url.patch | 42 ++
         .../0053-fix-write-sysconfig-network-failed.patch  | 32 ++
         ...naconda-ui-gui-utils.py-tweak-mouse-arrow.patch | 31 ++
         ...5-tweak-search-location-of-new-kernel-pkg.patch | 30 ++
         .../0056-always-write-fstab-after-install.patch    | 31 ++
         ...e-grub-install-to-generate-efi-filesystem.patch | 60 +++
         .../files/0058-do-not-support-closest-mirror.patch | 96 ++++
         .../0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch | 42 ++
         .../anaconda/files/0060-tweak-time-setting.patch   | 106 ++++
         ...62-Add-dracut-args-for-home-to-bootloader.patch | 35 ++
         .../files/0063-do-not-customize-window-theme.patch | 55 ++
         .../files/0064-tweak-product-short-name.patch      | 33 ++
         .../anaconda/files/0065-disable-dmraid.patch       | 57 ++
         .../files/0066-tweak-shebang-of-bash.patch         | 25 +
         .../anaconda/files/0067-Tweak-label-name.patch     | 56 ++
         ...068-livepayload.py-copy-grub-from-host-os.patch | 51 ++
         .../files/0069-test-existence-of-noverifyssl.patch | 31 ++
         .../anaconda/files/81-edit-sudoers.ks              |  3 +
         .../recipes-installer/anaconda/files/wrlinux.py    | 112 ++++
         .../anaconda/python3-anaconda_26.21.11.bb
        <http://python3-anaconda_26.21.11.bb>         | 161 ++++++
         .../images/core-image-anaconda-initramfs.bb
        <http://core-image-anaconda-initramfs.bb>       |  33 ++
         .../images/core-image-anaconda.bb
        <http://core-image-anaconda.bb>               |  34 ++
         .../initrdscripts/files/init-live.sh               | 249
        +++++++++
         .../initrdscripts/initramfs-live-boot_1.0.bbappend |  5 +
         .../recipes-installer/logos/yocto-compat-logos.bb
        <http://yocto-compat-logos.bb> |  24 +
         .../logos/yocto-compat-logos/COPYING               | 339
        ++++++++++++
         .../logos/yocto-compat-logos/banner_yocto1.png     | Bin 0 ->
        44650 bytes
         .../logos/yocto-compat-logos/banner_yocto2.png     | Bin 0 ->
        39223 bytes
         .../logos/yocto-compat-logos/sidebar-logo.png      | Bin 0 ->
        17651 bytes
         .../logos/yocto-compat-logos/topbar-bg.png         | Bin 0 ->
        77956 bytes
         .../packagegroup-installer-x11-anaconda.bb
        <http://packagegroup-installer-x11-anaconda.bb>        |  28 +
         .../packagegroups/packagegroup-anaconda-support.bb
        <http://packagegroup-anaconda-support.bb> |  26 +
         .../recipes-kernel/linux/files/crypt.cfg           |  2 +
         .../recipes-kernel/linux/files/crypt.scc           |  1 +
         .../recipes-kernel/linux/files/dmthin.cfg          |  1 +
         .../recipes-kernel/linux/files/dmthin.scc          |  1 +
         .../recipes-kernel/linux/files/efivars.cfg         |  1 +
         .../recipes-kernel/linux/files/efivars.scc         |  1 +
         meta-installer/recipes-kernel/linux/files/ide.cfg  |  5 +
         meta-installer/recipes-kernel/linux/files/ide.scc  |  1 +
         .../recipes-kernel/linux/files/liveinstall.cfg     |  5 +
         .../recipes-kernel/linux/files/liveinstall.scc     |  1 +
         .../recipes-kernel/linux/files/multipath.cfg       |  3 +
         .../recipes-kernel/linux/files/multipath.scc       |  1 +
         .../multipath-tools/multipath-tools_%.bbappend     |  8 +
         120 files changed, 7845 insertions(+)
         create mode 100644 meta-installer/COPYING.MIT
         create mode 100644 meta-installer/README
         create mode 100644 meta-installer/README.anaconda
         create mode 100644 meta-installer/classes/anaconda_image.bbclass
         create mode 100644 meta-installer/classes/anaconda_kernel.bbclass
         create mode 100644
        meta-installer/classes/anaconda_support_image.bbclass
         create mode 100644
        meta-installer/classes/anaconda_support_kernel.bbclass
         create mode 100644 meta-installer/conf/distro/anaconda.conf
         create mode 100644 meta-installer/conf/layer.conf
         create mode 100644 meta-installer/licenses/FLTK
         create mode 100644
        meta-installer/recipes-core/systemd/files/[email protected]
         create mode 100644
        meta-installer/recipes-core/systemd/files/serial-screen-anaconda.sh
         create mode 100644
        meta-installer/recipes-core/systemd/systemd-serialgetty.bbappend
         create mode 100644
        meta-installer/recipes-core/systemd/systemd_%.bbappend
         create mode 100644
        meta-installer/recipes-gnome/gtk+/files/workaround-for-anaconda-installer-while-loading-libA.patch
         create mode 100644
        meta-installer/recipes-gnome/gtk+/gtk+3_%.%.%.bbappend
         create mode 100644
        meta-installer/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init.bb
        <http://anaconda-init.bb>
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/COPYING
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/Xusername
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/[email protected]
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.service
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.target
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0001-do-not-support-po.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0002-widgets-Makefile.am-do-not-compile-doc.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0003-Revert-Use-system-Python-when-running-Anaconda.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0004-pyanaconda-flags.py-drop-selinux-module.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0005-add-package-site-dir-for-installclass-searching.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0006-do-not-load-the-system-wide-Xresources.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0007-tweak-iso-mount-dir-and-kernel-name.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0008-dnfpayload.py-customize-for-WRLinux.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0009-Remove-unnecessary-noverifyssl-for-http-ftp-protocol.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0010-dynamic-detect-workable-locale.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0011-improve-thread-monitor.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0012-disable-audit.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0013-bootloader.py-Change-grub2-settings-to-match-oe-core.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0014-tweak-detect-kernel-version.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0015-tweak-grub-config-file-for-WRLinux.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0016-Revert-Use-time.tzset-to-apply-timezone-changes-when.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0017-kickstart-Authconfig-Firewall-Firstboot-Timezone.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0018-invisible-help-button.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0019-disable-non-implemented-functions.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0020-disable-geoloc-by-default.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0021-support-UEFI-boot.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0022-do-not-verify-ssl-certification-by-default.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0023-tweak-default-nfs-mount-point.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0024-fix-quoted-empty-string-failed.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0025-do-not-support-ISO-hold-by-hard-drive-partitions.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0026-fix-cannot-stat-usr-share-gettext-gettext.h.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0027-fix-Wind-River-boot-menu-not-work.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0028-tweak-bootloader-fs-type.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0029-support-timezone-setting.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0030-disable-ntp-support.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0031-do-not-support-manually-set-time.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0032-support-user-account-creation.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0033-detect-existence-of-Xorg.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0034-fix-write-network-conf-failed-while-liveinst.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0035-revert-commits-to-support-reboot-for-live-installs.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0036-text-repository-setting-do-not-support-local-ISO-fil.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0037-text-repository-setting-support-http-proxy.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0038-set-keyboard-xlayouts-with-us-by-default.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0039-text-do-not-support-network-setting-for-now.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0040-tweak-boot-storage-sanity-check.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0041-kickstart-do-not-support-network-configuration.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0042-support-to-get-kickstart-from-network.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0043-support-authentication-for-kickstart.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0044-support-downloading-file-from-http-ftp-server-to-tar.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0045-live-install-supports-kickstart.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0046-support-initramfs-boot.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0047-fix-hang-while-installed-system-reboot.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0048-fix-installed-system-boot-from-encrypt-fs-failed.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0049-installation-destination-disable-iSCSI-network-disks.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0050-update-region-while-city-changes.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0051-timezone-fix-set-US-Alaska-failed.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0052-remove-incorrect-prefix-of-addon-repo-url.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0053-fix-write-sysconfig-network-failed.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0054-pyanaconda-ui-gui-utils.py-tweak-mouse-arrow.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0055-tweak-search-location-of-new-kernel-pkg.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0056-always-write-fstab-after-install.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0057-invoke-grub-install-to-generate-efi-filesystem.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0058-do-not-support-closest-mirror.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0060-tweak-time-setting.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0062-Add-dracut-args-for-home-to-bootloader.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0063-do-not-customize-window-theme.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0064-tweak-product-short-name.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0065-disable-dmraid.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0066-tweak-shebang-of-bash.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0067-Tweak-label-name.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0068-livepayload.py-copy-grub-from-host-os.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0069-test-existence-of-noverifyssl.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/81-edit-sudoers.ks
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/wrlinux.py
         create mode 100755
        meta-installer/recipes-installer/anaconda/python3-anaconda_26.21.11.bb
        <http://python3-anaconda_26.21.11.bb>
         create mode 100644
        meta-installer/recipes-installer/images/core-image-anaconda-initramfs.bb
        <http://core-image-anaconda-initramfs.bb>
         create mode 100644
        meta-installer/recipes-installer/images/core-image-anaconda.bb
        <http://core-image-anaconda.bb>
         create mode 100644
        meta-installer/recipes-installer/initrdscripts/files/init-live.sh
         create mode 100644
        meta-installer/recipes-installer/initrdscripts/initramfs-live-boot_1.0.bbappend
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos.bb
        <http://yocto-compat-logos.bb>
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos/COPYING
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto1.png
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto2.png
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos/sidebar-logo.png
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos/topbar-bg.png
         create mode 100644
        meta-installer/recipes-installer/packagegroups/packagegroup-installer-x11-anaconda.bb
        <http://packagegroup-installer-x11-anaconda.bb>
         create mode 100644
        meta-installer/recipes-installersupport/packagegroups/packagegroup-anaconda-support.bb
        <http://packagegroup-anaconda-support.bb>
         create mode 100644
        meta-installer/recipes-kernel/linux/files/crypt.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/crypt.scc
         create mode 100644
        meta-installer/recipes-kernel/linux/files/dmthin.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/dmthin.scc
         create mode 100644
        meta-installer/recipes-kernel/linux/files/efivars.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/efivars.scc
         create mode 100644
        meta-installer/recipes-kernel/linux/files/ide.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/ide.scc
         create mode 100644
        meta-installer/recipes-kernel/linux/files/liveinstall.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/liveinstall.scc
         create mode 100644
        meta-installer/recipes-kernel/linux/files/multipath.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/multipath.scc
         create mode 100644
        meta-installer/recipes-support/multipath-tools/multipath-tools_%.bbappend


        --
        2.8.1

        --
        _______________________________________________
        Openembedded-devel mailing list
        [email protected]
        <mailto:[email protected]>
        http://lists.openembedded.org/mailman/listinfo/openembedded-devel
author
#21 lore raw
Quoted 14 lines · Hongxu Jia
Quoted 10 lines · Khem Raj

On Thu, Nov 23, 2017 at 4:15 AM Burton, Ross <[email protected] <mailto:[email protected]>> wrote:

    I honestly don't see why this has to belong in meta-openembedded and can't live in a standalone repository.

I share the same opinion it should probably be
 Repo of its own

Hi Ross & Khem,

Quoted 9 lines

Since both of you think it should be as a standalone repository, I do not insist on it.

Hi Michael,

Would you please create a repository on http://git.yoctoproject.org/
the layer name called `meta-installer', should I resend pull request for review or directly push the repo contents to it once it's created.

Hi Michael,

I think we should called the layer `meta-anaconda', Alex suggestion is reasonable. There are many available installers, and this would make it clear what the directory contains

//Hongxu

Quoted 7 lines

If the latter one, should I send my ssh pub key to you privately?

//Hongxu

Quoted 2 lines

    Ross

#22 lore raw
In reply to Hongxu Jia
Quoted 15 lines · Hongxu Jia
Quoted 11 lines · Khem Raj

On Thu, Nov 23, 2017 at 4:15 AM Burton, Ross <[email protected] <mailto:[email protected]>> wrote:

I honestly don't see why this has to belong in meta-openembedded and can't live in a standalone repository.

I share the same opinion it should probably be
 Repo of its own

Hi Ross & Khem,

Quoted 8 lines

Since both of you think it should be as a standalone repository, I do not insist on it.

Hi Michael,

Would you please create a repository on http://git.yoctoproject.org/
the layer name called `meta-installer', should I resend pull request for review or directly push the repo contents to it once it's created.

These are sitting in the meta-openembedded patch queue. Did I miss the reject request?

- armin

Quoted 485 lines

If the latter one, should I send my ssh pub key to you privately?

//Hongxu

Quoted 478 lines
    Ross

    On 23 November 2017 at 12:09, Hongxu Jia
    <[email protected] <mailto:[email protected]>> wrote:

        The meta-installer layer provides a collection of installation
        programs based on OE platform.

        One implementation is the target installer 'anaconda', the
        version
        is 26.21.11 which is based on Fedora 26.

        The anacoda requires:
        - systemd as init manager
        - python3
        - dnf2/rpm4
        - gobject-introspection which requires qemu-usermode
          in MACHINE_FEATURES

        The anaconda provides:
        - graphic install and text install.

        - package based (dnf/rpm) install and image (copy)
          based install.

        - package based (dnf/rpm) install from local and
          remote rpm sources such as CDs and DVDs, images
          stored on a hard drive, NFS, HTTP, and FTP.

        - kickstart install which provides a fully unattended
          installation that can be duplicated on scores of machines.

        - install over VNC on headless machines.

        - timezone setting.

        - root password setting.

        - user account creation.

        - a variety of advanced storage devices including
          LVM, Btrfs, Ext4, and filesystem encryption.

        TODO (currently not support):
        - keyboard setting

        - language support setting

        - network & host name setting

        //Hongxu

        The following changes since commit
        34aa4c3202b427f59f843dc43a4e1afda4f81d13:

          usb-modeswitch: add [email protected] (2017-11-19
        13:45:38 -0800)

        are available in the git repository at:

          git://git.openembedded.org/openembedded-core-contrib
        <http://git.openembedded.org/openembedded-core-contrib>
        hongxu/meta-installer
         
        http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/meta-installer

        Hongxu Jia (15):
          meta-installer: create layer
          meta-installer: add kernel config
          meta-installer: add anaconda support for target build
          meta-installer: add distro anaconda for host build
          meta-installer: add systemd/systemd-serialgetty bbappend
          meta-installer: add gtk+3 bbappend
          meta-installer: add initramfs-live-boot bbappend
          meta-installer: add xserver-xf86-config bbappend
          meta-installer: add multipath-tools bbappend
          meta-installer: add recipe packagegroup-installer-x11-anaconda
          meta-installer: add recipe yocto-compat-logos
          meta-installer: add recipe anaconda-init
          meta-installer: add recipe anaconda 26.21.11
          meta-installer: add recipe core-image-anaconda
          meta-installer: add recipe core-image-anaconda-initramfs

         meta-installer/COPYING.MIT                         |  17 +
         meta-installer/README                              |  47 ++
         meta-installer/README.anaconda                     | 341
        ++++++++++++
         meta-installer/classes/anaconda_image.bbclass      | 321
        +++++++++++
         meta-installer/classes/anaconda_kernel.bbclass     |  14 +
         .../classes/anaconda_support_image.bbclass         |  40 ++
         .../classes/anaconda_support_kernel.bbclass        |   8 +
         meta-installer/conf/distro/anaconda.conf           |  33 ++
         meta-installer/conf/layer.conf                     |  31 ++
         meta-installer/licenses/FLTK                       | 530
        ++++++++++++++++++
         .../systemd/files/[email protected]            |  40 ++
         .../systemd/files/serial-screen-anaconda.sh        |   5 +
         .../systemd/systemd-serialgetty.bbappend           |  12 +
         .../recipes-core/systemd/systemd_%.bbappend        |   6 +
         ...for-anaconda-installer-while-loading-libA.patch |  84 +++
         .../recipes-gnome/gtk+/gtk+3_%.%.%.bbappend        |   3 +
         .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |  12 +
         .../anaconda-init/anaconda-init.bb
        <http://anaconda-init.bb>                 |  77 +++
         .../anaconda-init/anaconda-init/COPYING            | 339
        ++++++++++++
         .../anaconda-init/anaconda-init/Xusername          |   1 +
         .../anaconda-init/anaconda-init/anaconda-init      | 362
        +++++++++++++
         .../anaconda-init/[email protected]    |  22 +
         .../anaconda-init/anaconda-init.service            |  13 +
         .../anaconda-init/anaconda-init.target             |   6 +
         .../anaconda/files/0001-do-not-support-po.patch    |  41 ++
         ...02-widgets-Makefile.am-do-not-compile-doc.patch |  28 +
         ...t-Use-system-Python-when-running-Anaconda.patch |  42 ++
         ...4-pyanaconda-flags.py-drop-selinux-module.patch |  48 ++
         ...ckage-site-dir-for-installclass-searching.patch |  38 ++
         ...06-do-not-load-the-system-wide-Xresources.patch |  53 ++
         .../0007-tweak-iso-mount-dir-and-kernel-name.patch |  95 ++++
         .../0008-dnfpayload.py-customize-for-WRLinux.patch | 597
        +++++++++++++++++++++
         ...cessary-noverifyssl-for-http-ftp-protocol.patch |  32 ++
         .../0010-dynamic-detect-workable-locale.patch      |  77 +++
         .../files/0011-improve-thread-monitor.patch        |  55 ++
         .../anaconda/files/0012-disable-audit.patch        |  64 +++
         ...py-Change-grub2-settings-to-match-oe-core.patch | 137 +++++
         .../files/0014-tweak-detect-kernel-version.patch   |  96 ++++
         .../0015-tweak-grub-config-file-for-WRLinux.patch  |  28 +
         ...time.tzset-to-apply-timezone-changes-when.patch |  66 +++
         ...rt-Authconfig-Firewall-Firstboot-Timezone.patch | 216
        ++++++++
         .../files/0018-invisible-help-button.patch         |  32 ++
         .../0019-disable-non-implemented-functions.patch   |  41 ++
         .../files/0020-disable-geoloc-by-default.patch     |  30 ++
         .../anaconda/files/0021-support-UEFI-boot.patch    |  38 ++
         ...o-not-verify-ssl-certification-by-default.patch |  44 ++
         .../files/0023-tweak-default-nfs-mount-point.patch |  30 ++
         .../0024-fix-quoted-empty-string-failed.patch      |  46 ++
         ...support-ISO-hold-by-hard-drive-partitions.patch |  31 ++
         ...x-cannot-stat-usr-share-gettext-gettext.h.patch |  27 +
         .../0027-fix-Wind-River-boot-menu-not-work.patch   |  35 ++
         .../files/0028-tweak-bootloader-fs-type.patch      |  31 ++
         .../files/0029-support-timezone-setting.patch      |  95 ++++
         .../anaconda/files/0030-disable-ntp-support.patch  | 230
        ++++++++
         .../0031-do-not-support-manually-set-time.patch    |  32 ++
         .../files/0032-support-user-account-creation.patch |  73 +++
         .../files/0033-detect-existence-of-Xorg.patch      |  45 ++
         ...-write-network-conf-failed-while-liveinst.patch |  40 ++
         ...mmits-to-support-reboot-for-live-installs.patch |  72 +++
         ...tory-setting-do-not-support-local-ISO-fil.patch |  72 +++
         ...ext-repository-setting-support-http-proxy.patch |  95 ++++
         ...-set-keyboard-xlayouts-with-us-by-default.patch |  50 ++
         ...xt-do-not-support-network-setting-for-now.patch |  33 ++
         .../0040-tweak-boot-storage-sanity-check.patch     |  31 ++
         ...tart-do-not-support-network-configuration.patch |  29 +
         ...042-support-to-get-kickstart-from-network.patch |  48 ++
         ...0043-support-authentication-for-kickstart.patch | 133 +++++
         ...nloading-file-from-http-ftp-server-to-tar.patch | 175 ++++++
         .../0045-live-install-supports-kickstart.patch     |  47 ++
         .../files/0046-support-initramfs-boot.patch        |  48 ++
         ...47-fix-hang-while-installed-system-reboot.patch |  30 ++
         ...talled-system-boot-from-encrypt-fs-failed.patch |  48 ++
         ...n-destination-disable-iSCSI-network-disks.patch |  29 +
         .../0050-update-region-while-city-changes.patch    |  32 ++
         .../0051-timezone-fix-set-US-Alaska-failed.patch   |  38 ++
         ...remove-incorrect-prefix-of-addon-repo-url.patch |  42 ++
         .../0053-fix-write-sysconfig-network-failed.patch  |  32 ++
         ...naconda-ui-gui-utils.py-tweak-mouse-arrow.patch |  31 ++
         ...5-tweak-search-location-of-new-kernel-pkg.patch |  30 ++
         .../0056-always-write-fstab-after-install.patch    |  31 ++
         ...e-grub-install-to-generate-efi-filesystem.patch |  60 +++
         .../files/0058-do-not-support-closest-mirror.patch |  96 ++++
         .../0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch |  42 ++
         .../anaconda/files/0060-tweak-time-setting.patch   | 106 ++++
         ...62-Add-dracut-args-for-home-to-bootloader.patch |  35 ++
         .../files/0063-do-not-customize-window-theme.patch |  55 ++
         .../files/0064-tweak-product-short-name.patch      |  33 ++
         .../anaconda/files/0065-disable-dmraid.patch       |  57 ++
         .../files/0066-tweak-shebang-of-bash.patch         |  25 +
         .../anaconda/files/0067-Tweak-label-name.patch     |  56 ++
         ...068-livepayload.py-copy-grub-from-host-os.patch |  51 ++
         .../files/0069-test-existence-of-noverifyssl.patch |  31 ++
         .../anaconda/files/81-edit-sudoers.ks              |   3 +
         .../recipes-installer/anaconda/files/wrlinux.py    | 112 ++++
         .../anaconda/python3-anaconda_26.21.11.bb
        <http://python3-anaconda_26.21.11.bb>          | 161 ++++++
         .../images/core-image-anaconda-initramfs.bb
        <http://core-image-anaconda-initramfs.bb>        |  33 ++
         .../images/core-image-anaconda.bb
        <http://core-image-anaconda.bb>                  |  34 ++
         .../initrdscripts/files/init-live.sh               | 249
        +++++++++
         .../initrdscripts/initramfs-live-boot_1.0.bbappend |   5 +
         .../recipes-installer/logos/yocto-compat-logos.bb
        <http://yocto-compat-logos.bb>  |  24 +
         .../logos/yocto-compat-logos/COPYING               | 339
        ++++++++++++
         .../logos/yocto-compat-logos/banner_yocto1.png     | Bin 0
        -> 44650 bytes
         .../logos/yocto-compat-logos/banner_yocto2.png     | Bin 0
        -> 39223 bytes
         .../logos/yocto-compat-logos/sidebar-logo.png      | Bin 0
        -> 17651 bytes
         .../logos/yocto-compat-logos/topbar-bg.png         | Bin 0
        -> 77956 bytes
         .../packagegroup-installer-x11-anaconda.bb
        <http://packagegroup-installer-x11-anaconda.bb>         |  28 +
         .../packagegroups/packagegroup-anaconda-support.bb
        <http://packagegroup-anaconda-support.bb> |  26 +
         .../recipes-kernel/linux/files/crypt.cfg           |   2 +
         .../recipes-kernel/linux/files/crypt.scc           |   1 +
         .../recipes-kernel/linux/files/dmthin.cfg          |   1 +
         .../recipes-kernel/linux/files/dmthin.scc          |   1 +
         .../recipes-kernel/linux/files/efivars.cfg         |   1 +
         .../recipes-kernel/linux/files/efivars.scc         |   1 +
         meta-installer/recipes-kernel/linux/files/ide.cfg  |   5 +
         meta-installer/recipes-kernel/linux/files/ide.scc  |   1 +
         .../recipes-kernel/linux/files/liveinstall.cfg     |   5 +
         .../recipes-kernel/linux/files/liveinstall.scc     |   1 +
         .../recipes-kernel/linux/files/multipath.cfg       |   3 +
         .../recipes-kernel/linux/files/multipath.scc       |   1 +
         .../multipath-tools/multipath-tools_%.bbappend     |   8 +
         120 files changed, 7845 insertions(+)
         create mode 100644 meta-installer/COPYING.MIT
         create mode 100644 meta-installer/README
         create mode 100644 meta-installer/README.anaconda
         create mode 100644 meta-installer/classes/anaconda_image.bbclass
         create mode 100644
        meta-installer/classes/anaconda_kernel.bbclass
         create mode 100644
        meta-installer/classes/anaconda_support_image.bbclass
         create mode 100644
        meta-installer/classes/anaconda_support_kernel.bbclass
         create mode 100644 meta-installer/conf/distro/anaconda.conf
         create mode 100644 meta-installer/conf/layer.conf
         create mode 100644 meta-installer/licenses/FLTK
         create mode 100644
        meta-installer/recipes-core/systemd/files/[email protected]
         create mode 100644
        meta-installer/recipes-core/systemd/files/serial-screen-anaconda.sh
         create mode 100644
        meta-installer/recipes-core/systemd/systemd-serialgetty.bbappend
         create mode 100644
        meta-installer/recipes-core/systemd/systemd_%.bbappend
         create mode 100644
        meta-installer/recipes-gnome/gtk+/files/workaround-for-anaconda-installer-while-loading-libA.patch
         create mode 100644
        meta-installer/recipes-gnome/gtk+/gtk+3_%.%.%.bbappend
         create mode 100644
        meta-installer/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init.bb
        <http://anaconda-init.bb>
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/COPYING
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/Xusername
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/[email protected]
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.service
         create mode 100644
        meta-installer/recipes-installer/anaconda-init/anaconda-init/anaconda-init.target
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0001-do-not-support-po.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0002-widgets-Makefile.am-do-not-compile-doc.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0003-Revert-Use-system-Python-when-running-Anaconda.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0004-pyanaconda-flags.py-drop-selinux-module.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0005-add-package-site-dir-for-installclass-searching.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0006-do-not-load-the-system-wide-Xresources.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0007-tweak-iso-mount-dir-and-kernel-name.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0008-dnfpayload.py-customize-for-WRLinux.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0009-Remove-unnecessary-noverifyssl-for-http-ftp-protocol.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0010-dynamic-detect-workable-locale.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0011-improve-thread-monitor.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0012-disable-audit.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0013-bootloader.py-Change-grub2-settings-to-match-oe-core.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0014-tweak-detect-kernel-version.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0015-tweak-grub-config-file-for-WRLinux.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0016-Revert-Use-time.tzset-to-apply-timezone-changes-when.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0017-kickstart-Authconfig-Firewall-Firstboot-Timezone.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0018-invisible-help-button.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0019-disable-non-implemented-functions.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0020-disable-geoloc-by-default.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0021-support-UEFI-boot.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0022-do-not-verify-ssl-certification-by-default.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0023-tweak-default-nfs-mount-point.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0024-fix-quoted-empty-string-failed.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0025-do-not-support-ISO-hold-by-hard-drive-partitions.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0026-fix-cannot-stat-usr-share-gettext-gettext.h.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0027-fix-Wind-River-boot-menu-not-work.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0028-tweak-bootloader-fs-type.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0029-support-timezone-setting.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0030-disable-ntp-support.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0031-do-not-support-manually-set-time.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0032-support-user-account-creation.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0033-detect-existence-of-Xorg.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0034-fix-write-network-conf-failed-while-liveinst.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0035-revert-commits-to-support-reboot-for-live-installs.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0036-text-repository-setting-do-not-support-local-ISO-fil.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0037-text-repository-setting-support-http-proxy.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0038-set-keyboard-xlayouts-with-us-by-default.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0039-text-do-not-support-network-setting-for-now.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0040-tweak-boot-storage-sanity-check.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0041-kickstart-do-not-support-network-configuration.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0042-support-to-get-kickstart-from-network.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0043-support-authentication-for-kickstart.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0044-support-downloading-file-from-http-ftp-server-to-tar.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0045-live-install-supports-kickstart.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0046-support-initramfs-boot.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0047-fix-hang-while-installed-system-reboot.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0048-fix-installed-system-boot-from-encrypt-fs-failed.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0049-installation-destination-disable-iSCSI-network-disks.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0050-update-region-while-city-changes.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0051-timezone-fix-set-US-Alaska-failed.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0052-remove-incorrect-prefix-of-addon-repo-url.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0053-fix-write-sysconfig-network-failed.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0054-pyanaconda-ui-gui-utils.py-tweak-mouse-arrow.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0055-tweak-search-location-of-new-kernel-pkg.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0056-always-write-fstab-after-install.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0057-invoke-grub-install-to-generate-efi-filesystem.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0058-do-not-support-closest-mirror.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0059-tweak-MAX_TREEINFO_DOWNLOAD_RETRIES.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0060-tweak-time-setting.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0062-Add-dracut-args-for-home-to-bootloader.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0063-do-not-customize-window-theme.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0064-tweak-product-short-name.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0065-disable-dmraid.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0066-tweak-shebang-of-bash.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0067-Tweak-label-name.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0068-livepayload.py-copy-grub-from-host-os.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/0069-test-existence-of-noverifyssl.patch
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/81-edit-sudoers.ks
         create mode 100644
        meta-installer/recipes-installer/anaconda/files/wrlinux.py
         create mode 100755
        meta-installer/recipes-installer/anaconda/python3-anaconda_26.21.11.bb
        <http://python3-anaconda_26.21.11.bb>
         create mode 100644
        meta-installer/recipes-installer/images/core-image-anaconda-initramfs.bb
        <http://core-image-anaconda-initramfs.bb>
         create mode 100644
        meta-installer/recipes-installer/images/core-image-anaconda.bb
        <http://core-image-anaconda.bb>
         create mode 100644
        meta-installer/recipes-installer/initrdscripts/files/init-live.sh
         create mode 100644
        meta-installer/recipes-installer/initrdscripts/initramfs-live-boot_1.0.bbappend
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos.bb
        <http://yocto-compat-logos.bb>
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos/COPYING
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto1.png
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos/banner_yocto2.png
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos/sidebar-logo.png
         create mode 100644
        meta-installer/recipes-installer/logos/yocto-compat-logos/topbar-bg.png
         create mode 100644
        meta-installer/recipes-installer/packagegroups/packagegroup-installer-x11-anaconda.bb
        <http://packagegroup-installer-x11-anaconda.bb>
         create mode 100644
        meta-installer/recipes-installersupport/packagegroups/packagegroup-anaconda-support.bb
        <http://packagegroup-anaconda-support.bb>
         create mode 100644
        meta-installer/recipes-kernel/linux/files/crypt.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/crypt.scc
         create mode 100644
        meta-installer/recipes-kernel/linux/files/dmthin.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/dmthin.scc
         create mode 100644
        meta-installer/recipes-kernel/linux/files/efivars.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/efivars.scc
         create mode 100644
        meta-installer/recipes-kernel/linux/files/ide.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/ide.scc
         create mode 100644
        meta-installer/recipes-kernel/linux/files/liveinstall.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/liveinstall.scc
         create mode 100644
        meta-installer/recipes-kernel/linux/files/multipath.cfg
         create mode 100644
        meta-installer/recipes-kernel/linux/files/multipath.scc
         create mode 100644
        meta-installer/recipes-support/multipath-tools/multipath-tools_%.bbappend


        --
        2.8.1

        --
        _______________________________________________
        Openembedded-devel mailing list
        [email protected]
        <mailto:[email protected]>
        http://lists.openembedded.org/mailman/listinfo/openembedded-devel
author
#23 lore raw
Quoted 4 lines · On 2017年11月25日 03:34, akuster808 wrote:

These are sitting in the meta-openembedded patch queue. Did I miss the reject request?

- armin

I marked them as `rejected' in OE's patch work, I have applied to submit

meta-anaconda to yocto as a standalone repository.

//Hongxu