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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
- 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>
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>
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>
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>
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>
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>