57 Commits
Author SHA1 Message Date
Mark D Horn 65a01e46bf scripts: Keep proxies for root
Since the installer runs as root, we need to ensure that the
proxy environment variables are maintained.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-06-25 12:13:39 -07:00
Mark D Horn 2f3399754f doc: YAML information update
Add details about using the rest of the free space.
Correct typo and spelling errors.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-06-05 16:29:00 -05:00
Mark D Horn 2668476004 scripts: Update whitelist scripts
Now the script can take the previous report as a starting
point and add missing imports.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-05-15 19:00:50 -07:00
Mark D Horn e67552f6bd gui: Keep developer YAML in sync with DevOps
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-05-13 17:41:11 -07:00
Mark D Horn 1a8675f042 scripts: match production image files
Update the bundle lists

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-05-07 15:03:50 -07:00
Mark D Horn d66dc401de scripts: Add Software Store to Toolbar
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-05-07 15:03:50 -07:00
Mark D Horn e26665e7cf scripts: set prompt via hostname
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-05-06 13:23:51 -07:00
Mark D Horn 75493fa8c6 script: Remove extra desktop icon
The developer image installs the local code over the released
clr-installer bundle. This leaves the old desktop icon for
the TUI. Manually remove for now; it won't be present in the
production release.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-05-01 18:46:21 -07:00
Mark D Horn 003d1b54bd scripts: Disable autoUpdate
For the developer images we want to disable autoUpdate for the ISO
images.  DevOps always add the version= option which disables
autoUpdate automatically.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-30 14:24:15 -07:00
Mark D Horn 3ba2a9ec23 scripts: Add missing script and update sytle
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-30 10:26:35 -07:00
Mark D Horn 9be79bb102 bundles: Updated to validate the bundles
We had an unknown bundle in the list of user optional bundles,
now we always check that all bundles are valid.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-29 18:18:33 -07:00
Mark D Horn b9b8e95acb gui: Desktop Launcher fixes
Made all files and actions consistent with the clr-installer-gui name.

Fix security of starting Installer; user pkexec not sudo.
Added new rule for clr-installer-gui.

Fix bug so only one icon is present when running.

Switch to only using Mexican Spanish for translations.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-29 14:40:48 -07:00
Mark D Horn 2134b1834f server: Convey how to configure network for server
TODO: Remove the TUI networking support for setting
static IP, possibly Proxies.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-29 12:53:40 -07:00
Mark D Horn 587d0ef832 gui: bundle updates
Add the NetworkManager and gparted to YAML for now
There should be added to the clr-installer-gui bundle
at release time.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-29 11:19:14 -07:00
Mark D Horn c882fa9cfe desktop: disable auto-mounting
We do not want auto-mounting of media in the installer image
as any mounted media is excluded from possible install targets.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-29 11:18:26 -07:00
Brian J Lovin c136712772 Add boot message, disable autolaunch, change PS1
Add a message printed on boot that gives basic information and
instructions to login as root and run clr-installer to install onto this
sytem.

Also change $PS1 on the installer image after logged in to
indicate we're booted into a live image.

Remove clr-installer.service from the Makefile and remove all the
toggling on or off from the yaml files.

Signed-off-by: Brian J Lovin <brian.j.lovin@intel.com>
2019-04-26 17:48:23 -07:00
Mark D Horn 6675e2efcf desktop: Re-add c-basic
This sizing issue has been fixed.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-26 15:06:50 -07:00
Mark D Horn 797b7d99f8 scripts: Fix configuration files
Pull back updates release in DevOps back to development.

The new developer-live-*.yaml files will be the basis of
the future live-*.yaml files.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-23 16:11:39 -07:00
Brian J Lovin 9e0046a6cc live desktop beta yaml: New bundles and iso output
Added the suggested bundles from Bun, and added the correct flag to
enable iso builds by default.

Currently, llvm is too large (due to 32-bit libraries being included) to
fit into the 8GB filesystem specified in this yaml. This is a confirmed
issue and should be resolved.

Signed-off-by: Brian J Lovin <brian.j.lovin@intel.com>
2019-04-19 15:06:47 -07:00
Ikey Doherty 2f9461b2e1 gui: Initial introduction of pre-alpha installer GUI (bootstrap)
This GUI has been implemented in GTK+ and is very much a work in
progress. So far, we have a number of initial pages implemented:

 - Disk Configuration
 - Bundles
 - Keyboard
 - Language
 - Timezone
 - Telemetry

Note, some of the pages are quite ugly and basic and will need
some improvements. Additionally, the disk config page is currently
very crude, only supporting automatic installation mode.

Additionally, the use of pkexec will ignore environmental variables
for the proxy, thus, proxy support is a bust in the GUI installer.
Some OS-level work is expected to resolve this magically anyway.

There are some ugly hardcoded elements, such as relying on a system
wallpaper file for CSS, and the cooked-in CSS vs an on-disk .css file
that designers can edit and tweak locally. Note that error handling
is incredibly immature right now, resulting in a panic. Realistically
we need to show a "success" or "failure" page within a stack on the
install page to let the user know what happened, and offer the choice
of a reboot.

As a final note, the UX is still not rock solid, and will need
a design-develop feedback loop to improve. This commit represents
my initial handoff for others to jump in and vastly improve the
GUI.

Signed-off-by: Ikey Doherty <ikey.doherty@intel.com>
2019-04-19 14:25:56 -07:00
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