Re: [yocto] [oe] [PATCH 00/15] create meta-installer layer

2017-11-23 Thread Hongxu Jia

On 2017年11月24日 09:55, Hongxu Jia wrote:

On 2017年11月24日 08:35, Khem Raj wrote:


On Thu, Nov 23, 2017 at 4:15 AM Burton, Ross > 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.



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


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

//Hongxu




    Ross 


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Executing ptest using image test ?

2017-11-23 Thread Koehler, Yannick
I have some ptest which I would like to run quickly inside qemux86.  I see that 
the TEST_SUITES would allow me to do that, and that there is a _ptest.py script 
which seems to interface with ptest-runner.  Yet, I am unclear how it connects 
together if it does.


If anyone know how this can be done, can you point me on some doc related to 
this?


--

Yannick Koehler
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [oe] [PATCH 00/15] create meta-installer layer

2017-11-23 Thread Hongxu Jia

On 2017年11月24日 08:35, Khem Raj wrote:


On Thu, Nov 23, 2017 at 4:15 AM Burton, Ross > 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




Ross

On 23 November 2017 at 12:09, Hongxu Jia mailto:hongxu@windriver.com>> 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 usb-modeswitch@.service (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/serial-getty@.service            | 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/anac

Re: [yocto] snmp is not installed, only snmpd

2017-11-23 Thread Fabien Lahoudere
On Thu, 2017-11-23 at 16:08 +0200, Ran Shalit wrote:
> Hello,
> 
> Does anyone knows how I can add snmp to yocto, I manage to have
> /etc/snmp/snmpd.conf , but not snmp.conf.
> 

According to the recipe it seems that no conf files are provided for snmp.
snmp seems to be the client and maybe doesn't need snmp.conf.

> This is what I tried:
> I added CORE_IMAGE_EXTRA_INSTALL += "net-snmp net-snmp-server
> net-snmp-libs net-snmp-mibs" , yet snmp.conf is missing
> 
> I also tried to restart snmp as following:
> root@imx6qsabresd:/etc/openvivoe# systemctl restart snmp.service
> Failed to restart snmp.service: Unit snmp.service not found.
> 

I suppose that snmp is the client so you don't have a service to start the 
client.
Just use it in a command line.
try :
# find / -name *snmp*

This command will locate all files containing snmp and will show you if snmp 
binaries are installed
or not.

> But snmpd service seems to exist in image:
> root@imx6qsabresd:/etc/openvivoe# systemctl restart snmpd.service
> 
> Thank you for any idea,
> Ran
-- 
Fabien
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] snmp is not installed, only snmpd

2017-11-23 Thread Ran Shalit
Hello,

Does anyone knows how I can add snmp to yocto, I manage to have
/etc/snmp/snmpd.conf , but not snmp.conf.

This is what I tried:
I added CORE_IMAGE_EXTRA_INSTALL += "net-snmp net-snmp-server
net-snmp-libs net-snmp-mibs" , yet snmp.conf is missing

I also tried to restart snmp as following:
root@imx6qsabresd:/etc/openvivoe# systemctl restart snmp.service
Failed to restart snmp.service: Unit snmp.service not found.

But snmpd service seems to exist in image:
root@imx6qsabresd:/etc/openvivoe# systemctl restart snmpd.service

Thank you for any idea,
Ran
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto