37 Commits
Author SHA1 Message Date
Mark D Horn d62ef607aa Script for show all imports
We use this to review the imported packages are part of
our release review process.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-16 22:56:16 -07:00
Mark D Horn 5dbee42d7d Fix Network Interface Copy
Fixes Issue: #261

Pull Request #236 introduced a bug where local network interfaces
are always copied to the target media.
This PR correct this by only copying when copyNetwork is set to
true; this is enabled in the UI when the users changes a network
interface (for static).

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-03-12 15:17:58 -07:00
Mark D Horn 216679d861 Fix desktop image size for USB media
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-03-06 09:53:17 -08:00
George T Kramer c2773b0e78 Chroot when enabling clr-installer service
When using the --root option with systemctl, libsystemd for the systemd
in the chroot will be resolved on the host.  In cases where the systemd
in the chroot is a different version from the systemd on the host, this
will result in a library not found error.  Need to chroot when eanbling
clr-installer service to avoid this problem.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2019-03-05 18:17:33 -08:00
Mark D Horn e1e779ce98 Ensure HOME is set for post hook as root
Even though we are running as a login shell, the HOME is
not being set and hence neither is GOCACHE which is required
for golang 1.12 and beyond.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-03-05 11:01:55 -08:00
Mark D Horn 6a27623a82 New telemetry defaults
Update the latest release telemetry configuration file
and update the post install hook with the new default
and new maximum.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-03-04 14:28:41 -08:00
Mark D Horn 80f226ae72 Developer Desktop YAML File
For developer to build a desktop image with the locally
modified installer code.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-02-22 17:26:44 -08:00
Mark D Horn 0e2ec4183c Clarify version used by default
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-01-22 16:56:26 -08:00
Reagan Lopez 899853ebc9 Update documentation (#198)
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-01-22 16:42:22 -08:00
Mark D Horn 2000b08c5b Synchronize Desktop Beta and Installer images
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-01-08 16:24:10 -08:00
Mark D Horn aaf0174c8b Add reference document for YAML Syntax
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-01-04 16:11:04 -08:00
Mark D Horn f3e05fab9a Rename Installer Image
To keep a consistent naming convention, rename installer image.

[image-name].yaml -> clear-[VER]- [image-name].img.[compression ext]

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-12-31 10:16:17 -08:00
Mark D Horn 0992e931b1 developer: Enable debug logging
Ensure high level of debug logging enabled for developers.
Also view console output on starndard tty to get rescue shell
during boot fails.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-11-30 10:01:17 -08:00
Leandro Dorileo a69eb78035 images: add a builder yaml file
This yaml file reproduces the builder environment.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-19 17:57:14 -08:00
Leandro Dorileo 4cc241524f installer-image: set nomodeset
Disable modeset and keep the screen resolution consistent across
platforms.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-15 14:15:06 -08:00
Mark D Horn 3da5ee5f4f New Developer's image build
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-11-15 11:23:40 -08:00
Mark D Horn 13f4903a07 Remove Disk size and use partition sums
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-11-14 12:54:42 -08:00
Leandro Dorileo 4fea924c0b live-desktop: keep desktop bundles usage consistent
We're always offering users the desktop-autostart bundle when we
want to offer a desktop experience, this patch makes sure we keep
it consistent with this approach.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-14 10:25:59 -08:00
Leandro Dorileo 4c5dcd9cef live-desktop: don't install desktop and wrapper
The .desktop and the desktop wrapper script are now installed by the
make install target, so we don't need it anymore.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-14 10:25:59 -08:00
Leandro Dorileo 420a717a81 live-desktop: start using install instead of cp
In the post install start using install instead of cp and let it deal
with file permission and directory creation.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-14 10:25:59 -08:00
Leandro Dorileo 3a453812a9 live-desktop: install custom default settings
The live-desktop has a custom set of default bundles, this patch
makes sure we install the proper default settings on post install
script.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-14 10:25:59 -08:00
Mark D Horn 945a7bb303 Update the Clear Installer Terminal
- Disable the terminal's scrollbar
- Remove the terminal's menu options; including the confusing 'help'

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-11-13 14:50:26 -08:00
Leandro Dorileo 220eb7df32 live-desktop: disable lockscreen password
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-13 13:32:45 -08:00
Leandro Dorileo 5c45300c81 live-desktop: enable autoupdate
It seems there's no reason to disable autoupdate for now.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-13 10:56:51 -08:00
Leandro Dorileo 2dcd0ae9fe live-desktop: rename live-desktop image
We're adding a beta suffix to make it obvious that we're still in beta.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-13 10:56:51 -08:00
Leandro Dorileo 17d2ba5bbc images: reduce the swap partition
Reduce the swap partition to 32M with the live-desktop image.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-09 15:41:18 -08:00
Leandro Dorileo 884aef77bd images: add live-desktop
This live-desktop os a full bloated desktop live image. It comes
with gnome, with autologin enabled also installs clr-installer and
set it as one of the favorite apps.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-08 14:30:00 -08:00
Leandro Dorileo 604fd1a6fb images: add a new set of image definitions
Add the following image descriptors: kvm, legacy-kvm, live-docker,
live, provision, service-os.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-11-08 14:30:00 -08:00
Mark D Horn 7821672c9f Switch to the new clr-installer bundle
With Clear Linux OS release 25xxx the new clr-installer bundle
is available which has all of the requirements for the new
Clear Linux OS Installer.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-10-30 10:33:02 -06:00
Leandro Dorileo 8202c362fb storage: change default swap size
Adjust the swap partition size for the auto partition and the installer
image size.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-10-26 16:22:10 -07:00
Leandro Dorileo 71305a8326 images: add image descriptors
aws, azure, ciao-networking, cloud, containers, gce, and hyperv
image descriptors.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-10-26 16:03:11 -07:00
Leandro Dorileo 82b6d7e39b installer-image: increase image size
Content has grown with that we need some more space to accommodate
the content.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-10-25 12:06:09 -07:00
Mark D Horn b7d592b2cb Added required bundles to installer image
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-10-23 10:03:34 -07:00
Leandro Dorileo df8ed2a1d3 installer image: set timeout
This patch sets the systemd-boot's timeout to 5 so the user may have
the opportunity to change the kernel arguments.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-10-10 15:10:16 -07:00
Leandro Dorileo 9574b4af9f installer image: use the clr-installer only
Create a custom image configuration file with a post-install hook
to "self install" clr-installer into the target system.

If installing clr-installer to an actual block device (i.e usb stick)
tweak the block-devices entries.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-10-09 16:46:40 -07:00
Mark D Horn e550ed70ea Clean Up all temporary files and directories
Ensure both the main code and test clean up after themselves.

Testing for changes in the /tmp directory done in the Makefile
to ensure the testing is done outside of the code itself.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-10-02 16:24:45 -07: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