Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
|
|
The script does not really work and fails when it is run in Tizen OS. The
reason is that some functions it calls are udnefined. And the reason for
that is that I forgot to remove some debugging cruft, and the leftovers
cause breakages. Remove that unused junk.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Signed-off-by: William Douglas <william.douglas@intel.com>
|
|
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
We do require that the boot partition is under /boot. But let's do it in less
places. Once we know the boot partition number (N), use the
INSTALLERFW_PARTN_MOUNTPOINT instead.
Also, remove the vfat type checking - it is an unneeded complication.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Generate gummiboot configuration files for all installed kernels, not only for
th newest kernel. Make the newest kernel to be the default, though.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
It is a good practice to use the -u shell option because it helps writing
cleaner and more secure scripts. Start using it.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Do not assume that the boot partition is currently mounted under /boot. In
pc-installer environment it can be mounted under a different directory.
Instead, use the INSTALLERFW_MOUNT_PREFIX variable to find the path to the boot
partition. This should let pc-installer use this script as well.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
When the kernel which corresponds to the current default entry is removed, the
script fails. Fix this.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
This script updates gummiboot configuration files. Can be used when a new
kernel was installed or a kernel was uninstalled.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Massage the kernel entry file to make it a little bit more compatible with what
other automatic scripts will generate.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
This is better because echo is very different in different shells, and
interpret various special bytes differently, and its behavior may sometimes be
very surprizing.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Use 'vmlinuz-$VERSION' instead of 'vmlinuz-default'. This makes it easier to
deal with several kernels.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|
|
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|