20 Commits
Author SHA1 Message Date
Mark D Horn 9f6592bea2 Base the lock file on the log file
Fixes: #364

Enable concurrent execution with different log files.
Now locks are based off of the log file name, and are process based.
Allows for checking if existing lock process is active.

Enables  generation of multiple images in parallel.

vendor: Add lockfile package

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-05-15 19:00:26 -07:00
Mark D Horn e5a7e1717f vendor: Import new crypt package
New whitelisted package to provide native password encryption.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-05-08 13:31:49 -07:00
Reagan Lopez 4c1f7a9dfe gui: Introduces localization
- Modifies the screen flow to first launch the Welcome (Language) page
- Adds localization package "gotext"
- Enables localization for "en_US", "zh_CN" and "es_MX"
- Modifies the strings to use localized version

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-19 15:04:57 -07:00
Reagan Lopez c24a0bdc3b Add new gotk3 released packages
Add new vendor package
	make vendor-add GOADD=github.com/gotk3/gotk3/gdk
	make vendor-add GOADD=github.com/gotk3/gotk3/gtk
and the required dependencies.

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-19 14:25:56 -07:00
Mark D Horn 3945c9aeb2 network: Add support for Network Manager
Now check for which service is handling wired network interfaces.
Needed by the TUI which still handles static IP configurations for
wired connections.

TODO: Once NetworkManager is the new OS default, we can explore
configuring wireless interfaces via the TUI as well.

TODO: Consider change the other systemctl calls to use new dbus.

Dropping coverage requirement for this build

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-19 10:57:15 -07:00
Mark D Horn 4735fe9db0 Use LTS Kernel for VirtualBox Installs
If running interactively and in a VirtualBox environment
force the default to be the kernel-lts.

Fixes #203

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-01-28 18:40:46 -08:00
Mark D Horn e4a2a6c7c3 Update to latest vendor code
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-12-27 16:36:55 -08:00
Mark D Horn 13bedbaa1f Fix missing vendor files
The last vendor update missed checking in newly created files.

See PR #142

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-11-20 14:00:49 -08:00
Leandro Dorileo 2e9b4808dc Update vendor packages to latest releases
PROJECT                VERSION        REVISION  LATEST   PKGS USED
VladimirMarkelov/clui  branch master  403ab18   403ab18  1

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-16 14:56:42 -08:00
Leandro Dorileo d286fd1e40 Revert "window: fix event processing"
This reverts commit 70b6c4fd04.

This change was merged upstream into clui and will be added in the
upcoming revendoring patch.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-16 14:56:42 -08:00
Leandro Dorileo 70b6c4fd04 window: fix event processing
Avoid invalid memory address access by no trying to get parent's
control if next control is nil on event processing.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-14 10:51:43 -08:00
Mark D Horn 4701749856 Update vendor packages to latest releases
PROJECT                VERSION        REVISION  LATEST   PKGS USED
VladimirMarkelov/clui  branch master  80da317   80da317  1
atotto/clipboard       v0.1.1         aa95491   v0.1.1   1
huandu/xstrings        v1.2.0         f02667b   v1.2.0   1
mattn/go-runewidth     v0.0.3         ce7b0b5   v0.0.3   1
nsf/termbox-go         branch master  60ab7e3   60ab7e3  1
spf13/pflag            v1.0.3         298182f   v1.0.3   1
x/text                 v0.3.0         f21a4df   v0.3.0   6
yaml.v2                v2.2.1         5420a8b   v2.2.1   1

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-11-09 10:27:00 -08:00
Leandro Dorileo 517b103ee2 vendor: update vendored components
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-09-27 12:24:59 -07:00
Leandro Dorileo 6681f7daed Revert "clui: fix Clipper() function"
This reverts commit fd8ce0d2d0.

The changes will come with a future revendor commit.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-09-27 12:24:59 -07:00
Leandro Dorileo fd8ce0d2d0 clui: fix Clipper() function
We're using the wrong control to calculate the clipped area, it should
be the clipped control not its clipped parent.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-09-25 15:33:15 -07:00
Mark D Horn 7d675e2171 Revender clui
Pull in new Border-less window option

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-09-20 13:21:16 -07:00
Leandro Dorileo b3c333fb86 update vendored packages
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-09-14 10:51:20 -07:00
Leandro Dorileo 9b25313e8e Update vendored dependencies
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-09-07 10:58:40 -07:00
Mark D Horn c9bd588445 Update Dependencies
Re-ran 'make vendor-init' to reformat Gopkg files

Updated to latest versions, including tip of master for clui

Future updates:
  - Update Gopkg.toml [if needed]
  - 'make vendor-update'

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-09-06 13:16:17 -05:00
Mark D Horn e84bb0e403 First Open Source push of code base
This is code is still alpha. The Text-based User Interface is
undergoing a resign of the layout before beta.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-08-13 14:14:30 -07:00