New issue
Advanced search Search tips

Issue 786657 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Import LXC/LXD ebuild

Project Member Reported by dgreid@chromium.org, Nov 18 2017

Issue description

import ebuild, requires mirroring GO dependency repositories.
 

Comment 1 by dgreid@chromium.org, Nov 21 2017

Owner: dgreid@chromium.org
Status: Started (was: Assigned)

Comment 2 by dgreid@chromium.org, Nov 21 2017

Owner: chirantan@chromium.org
over to chirantan after I was defated by portage.
Project Member

Comment 3 by bugdroid1@chromium.org, Nov 22 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/4aa631832fc418b709c2efcabfda183cccdd9257

commit 4aa631832fc418b709c2efcabfda183cccdd9257
Author: Chirantan Ekbote <chirantan@chromium.org>
Date: Wed Nov 22 10:11:54 2017

golang-vcs-snapshot: Update to upstream

Update the golang-vcs-snapshot eclass to the latest version from gentoo.
We need this because the lxd ebuild uses some new features from this
eclass.

BUG= chromium:786657 
TEST=emerge-tatl lxd

Change-Id: I377b0476c7ca557b5be4da2730b55f59951a700d
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/784270
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/4aa631832fc418b709c2efcabfda183cccdd9257/eclass/golang-vcs-snapshot.eclass

Project Member

Comment 4 by bugdroid1@chromium.org, Nov 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/3c9a4971d621b08471b67156bc3060bb1d0ffce8

commit 3c9a4971d621b08471b67156bc3060bb1d0ffce8
Author: Chirantan Ekbote <chirantan@chromium.org>
Date: Tue Nov 28 23:44:19 2017

bash-completion-r1.eclass: Update to upstream

Update the bash-completion-r1 eclass to match the upstream version
because it includes new features used by the lxc ebuild.

BUG= chromium:786657 
TEST=emerge-tatl lxc

Change-Id: I243722f5795ce2b72bdbf10c6ed183b5e9644dfa
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/786177
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/3c9a4971d621b08471b67156bc3060bb1d0ffce8/eclass/bash-completion-r1.eclass

Project Member

Comment 5 by bugdroid1@chromium.org, Nov 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/eclass-overlay/+/4af4ef9966d7939eaf49dcf907f346a20a8e4dbf

commit 4af4ef9966d7939eaf49dcf907f346a20a8e4dbf
Author: Chirantan Ekbote <chirantan@chromium.org>
Date: Wed Nov 29 04:17:01 2017

Add lxd user and group

Add the lxd user and group, which will be used by the lxd daemon.

BUG= chromium:786657 
TEST=emerge-tatl lxd

Change-Id: I1c7d1194f974d4ea90f8d712405da67306eacae5
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/784290
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[add] https://crrev.com/4af4ef9966d7939eaf49dcf907f346a20a8e4dbf/profiles/base/accounts/group/lxd
[add] https://crrev.com/4af4ef9966d7939eaf49dcf907f346a20a8e4dbf/profiles/base/accounts/user/lxd

Project Member

Comment 6 by bugdroid1@chromium.org, Dec 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/4f5cddf1cea061d545ab04df40802ed53bc92664

commit 4f5cddf1cea061d545ab04df40802ed53bc92664
Author: Chirantan Ekbote <chirantan@chromium.org>
Date: Sat Dec 02 06:45:28 2017

project-termina: Mark criu as provided

criu is an optional runtime dependency for lxc.  It fails to
cross-compile and we don't use it in any case so just pretend like it's
already provided since it's not needed for anything at compile time.

BUG= chromium:786657 
TEST='emerge-tatl lxc'

Change-Id: Ic7f6d48379532fbb6bee6657b607af315f34acc9
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/804745
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[add] https://crrev.com/4f5cddf1cea061d545ab04df40802ed53bc92664/project-termina/profiles/base/package.provided

Project Member

Comment 7 by bugdroid1@chromium.org, Dec 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/ff49d9f7d5d74b1d9e96131aabbe4d605b2b1f47

commit ff49d9f7d5d74b1d9e96131aabbe4d605b2b1f47
Author: Chirantan Ekbote <chirantan@chromium.org>
Date: Tue Dec 05 04:02:44 2017

app-emulation/lxc: Upgraded to version 2.0.8

Upgrade app-emulation/lxc to version 2.0.8 because lxd requires a
version that's >= 2.0.7.   Changes made to the gentoo ebuild:

* EAPI=6 -> EAPI=5
* Set KEYWORDS="*"
* eapply -> epatch

BUG= chromium:786657 
TEST=emerge-tatl lxd
CQ-DEPEND=CL:804814, CL:804745

Change-Id: If6dd0e75c9f693e75a018f18e936f530cf4dce85
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/784271

[delete] https://crrev.com/b8e5e6dfe348643555c38a6909235160b7d3c31d/app-emulation/lxc/lxc-1.0.7.ebuild
[add] https://crrev.com/ff49d9f7d5d74b1d9e96131aabbe4d605b2b1f47/app-emulation/lxc/lxc-2.0.8.ebuild
[modify] https://crrev.com/ff49d9f7d5d74b1d9e96131aabbe4d605b2b1f47/app-emulation/lxc/Manifest
[add] https://crrev.com/ff49d9f7d5d74b1d9e96131aabbe4d605b2b1f47/app-emulation/lxc/files/lxc-2.0.6-bash-completion.patch
[rename] https://crrev.com/ff49d9f7d5d74b1d9e96131aabbe4d605b2b1f47/app-emulation/lxc/files/lxc.initd.5
[add] https://crrev.com/ff49d9f7d5d74b1d9e96131aabbe4d605b2b1f47/app-emulation/lxc/files/lxc_at.service.4
[add] https://crrev.com/ff49d9f7d5d74b1d9e96131aabbe4d605b2b1f47/app-emulation/lxc/files/lxc-2.0.5-omit-sysconfig.patch
[delete] https://crrev.com/b8e5e6dfe348643555c38a6909235160b7d3c31d/app-emulation/lxc/files/lxc.initd.2
[delete] https://crrev.com/b8e5e6dfe348643555c38a6909235160b7d3c31d/app-emulation/lxc/files/lxc-1.0.6-bash-completion.patch
[delete] https://crrev.com/b8e5e6dfe348643555c38a6909235160b7d3c31d/app-emulation/lxc/files/lxc_at.service

Project Member

Comment 8 by bugdroid1@chromium.org, Dec 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/fb17b01bf4bf01239232596e4c052106806c63bd

commit fb17b01bf4bf01239232596e4c052106806c63bd
Author: Chirantan Ekbote <chirantan@chromium.org>
Date: Tue Dec 05 04:02:44 2017

app-emulation/lxd: Upgrade to 2.18

Import app-emulation/lxd version 2.18 from upstream gentoo into our
tree.  Changes to the upstream ebuild:

* EAPI=6 -> EAPI=5
* Mark amd64 as stable in KEYWORDS
* Add epatch call to src_prepare
* Add sqlite as a DEPEND because one of the go packages needs sqlite3.h

BUG= chromium:786657 
TEST=emerge-tatl lxd
CQ-DEPEND=CL:784290

Change-Id: Ib6e3f94a228155e29704ed46b6ec380932080249
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/784272
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[add] https://crrev.com/fb17b01bf4bf01239232596e4c052106806c63bd/app-emulation/lxd/lxd-2.18.ebuild
[add] https://crrev.com/fb17b01bf4bf01239232596e4c052106806c63bd/app-emulation/lxd/files/lxd-2.18-dont-go-get.patch
[add] https://crrev.com/fb17b01bf4bf01239232596e4c052106806c63bd/app-emulation/lxd/metadata.xml
[add] https://crrev.com/fb17b01bf4bf01239232596e4c052106806c63bd/app-emulation/lxd/files/lxd-2.18.confd
[add] https://crrev.com/fb17b01bf4bf01239232596e4c052106806c63bd/app-emulation/lxd/files/lxd-2.18.service
[add] https://crrev.com/fb17b01bf4bf01239232596e4c052106806c63bd/app-emulation/lxd/files/lxd-2.18.initd
[add] https://crrev.com/fb17b01bf4bf01239232596e4c052106806c63bd/app-emulation/lxd/Manifest

Project Member

Comment 9 by bugdroid1@chromium.org, Dec 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/3d86f5611d389b6d6a80ddd34bbcede0d9ab0ea9

commit 3d86f5611d389b6d6a80ddd34bbcede0d9ab0ea9
Author: Chirantan Ekbote <chirantan@chromium.org>
Date: Tue Dec 19 06:55:04 2017

project-moblab: Mask lxc from chromiumos-overlay

CL:809839 will move lxc into chromiumos-overlay since we need a newer
version that what is in upstream gentoo.  Mask that package as well so
that it doesn't cause build failures for moblab.

BUG= chromium:786657 
TEST=cros tryjob guado_moblab-paladin

Change-Id: I57a9f4b8ac6a93a824e249599fdf4f5667a73a38
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/832673
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/3d86f5611d389b6d6a80ddd34bbcede0d9ab0ea9/project-moblab/profiles/base/package.mask

Status: Fixed (was: Started)
Project Member

Comment 12 by bugdroid1@chromium.org, Dec 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7

commit ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7
Author: Stephen Barber <smbarber@chromium.org>
Date: Thu Dec 21 04:41:13 2017

app-emulation/lxd: move to chromiumos-overlay

Add two patches to properly check for sqlite.

Since we're carrying a few patches for lxd now, go ahead and move this
to chromiumos-overlay.

BUG= chromium:786657 
TEST=emerge-tatl lxd

Change-Id: I2080151ff0a716c66475493beba0d9905836b88a

[add] https://crrev.com/ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7/app-emulation/lxd/lxd-2.18.ebuild
[add] https://crrev.com/ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7/app-emulation/lxd/files/lxd-2.18-dont-go-get.patch
[add] https://crrev.com/ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7/app-emulation/lxd/files/lxd-2.18-dont-hardcode-gcc.patch
[add] https://crrev.com/ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7/app-emulation/lxd/metadata.xml
[add] https://crrev.com/ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7/app-emulation/lxd/lxd-2.18-r1.ebuild
[add] https://crrev.com/ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7/app-emulation/lxd/files/lxd-2.18.confd
[add] https://crrev.com/ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7/app-emulation/lxd/files/lxd-2.18.service
[add] https://crrev.com/ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7/app-emulation/lxd/files/lxd-2.18-detect-sqlite.patch
[add] https://crrev.com/ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7/app-emulation/lxd/files/lxd-2.18.initd
[add] https://crrev.com/ace12ffab699363ab2cf09bdbd18a1e1bfc3eea7/app-emulation/lxd/Manifest

Project Member

Comment 14 by bugdroid1@chromium.org, Jan 31 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/40de654204fb3702b66bc701cf74797ff70c8eb6

commit 40de654204fb3702b66bc701cf74797ff70c8eb6
Author: Stephen Barber <smbarber@chromium.org>
Date: Wed Jan 31 01:47:23 2018

termina: add lxd to base image

BUG= chromium:786657 
TEST=boot tatl and run lxd
CQ-DEPEND=CL:809839,CL:835491

Change-Id: Ib277ba973366a3bfe73b35bef2cc2a9a951e9e2e
Reviewed-on: https://chromium-review.googlesource.com/835794
Commit-Ready: Stephen Barber <smbarber@chromium.org>
Tested-by: Stephen Barber <smbarber@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[rename] https://crrev.com/40de654204fb3702b66bc701cf74797ff70c8eb6/project-termina/virtual/target-termina-os/target-termina-os-1.5-r9.ebuild
[modify] https://crrev.com/40de654204fb3702b66bc701cf74797ff70c8eb6/project-termina/virtual/target-termina-os/target-termina-os-1.5.ebuild

Components: OS>Systems>Containers

Sign in to add a comment