Itxaka
a296b96af5
Add more testing
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-07-19 13:51:29 +02:00
Itxaka
9ea3d77bb9
Rework cmds so they are inline with cobra examples
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-07-19 12:14:44 +02:00
Itxaka
338b9eed08
Fix script location
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-07-18 19:33:49 +02:00
Itxaka
71f106920b
Merge branch 'master' into osbuilder_go
2023-07-18 15:17:05 +02:00
Itxaka
664c8d163d
Install packages by luet and merge them
...
Install all packages via luet, converges the rpi packages into one,
makes arm use the same generic packages as x86 as they now come from the
proper architecture and reduces dockerfile complexity
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-07-18 14:14:51 +02:00
Itxaka
2be9cfce66
Add iso builder
...
This adds a new package for the iso builder run directly on go.
This is extracted from the original elemental-cli and then from the now
build-less kairos-agent
This uses no deps on elemental, only deps are on kairos-agent for the
config stuff mainly.
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-07-18 12:51:03 +02:00
Itxaka
f8353326fb
Revert "Drop uneeded sfdisk call"
...
This reverts commit e5f563c4db
.
2023-07-17 10:19:41 +02:00
Itxaka
eb6171b08c
Revert "Really make it gpt"
...
This reverts commit a923f2e558
.
2023-07-17 10:19:32 +02:00
Itxaka
a2b1ee4536
Revert "Use GPT for raw images"
...
This reverts commit 6b69df91a5
.
2023-07-17 10:19:25 +02:00
Itxaka
e5f563c4db
Drop uneeded sfdisk call
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-07-13 14:38:50 +02:00
Itxaka
a923f2e558
Really make it gpt
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-07-13 13:25:15 +02:00
Itxaka
6b69df91a5
Use GPT for raw images
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-07-12 16:36:34 +02:00
Mauro Morales
5b3c765080
Introduce os-release-update
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-06-27 17:47:25 +02:00
Itxaka
f59f5bac75
Add zstd to the osbuilder image
...
Useful to support zstd compression when working with arm images
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-06-13 11:12:01 +02:00
Itxaka
ccc0d52393
🐛 Revert loop cleanup
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-06-12 16:01:03 +02:00
Itxaka
b65986b47e
Update build-arm-image.sh
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-06-06 09:31:41 +02:00
Itxaka
3c419594b4
Be less agressive on arm cleanup
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-06-02 15:29:49 +02:00
Itxaka
1101a59c9e
More cleanup of loop devices and lvm groups
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-06-02 14:37:17 +02:00
Itxaka
a892113ff6
🐛 Copy default values and configs in the oem partition for rpi
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-06-02 14:28:30 +02:00
Mauro Morales
54f67aa091
add changes to prepare arm images too
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-06-01 15:37:04 +02:00
Mauro Morales
00fb90cc4b
install fonts in default location
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-06-01 14:45:36 +02:00
Mauro Morales
3d4d8a5416
Bump Grub and config
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-05-31 17:25:52 +02:00
Ettore Di Giacinto
876223099a
Merge pull request #53 from kairos-io/622-copy-grub-config
...
Copy our grub config in place
2023-05-31 13:48:29 +02:00
mudler
df7e436900
Add code reference
...
Signed-off-by: mudler <mudler@mocaccino.org>
2023-05-31 10:58:08 +02:00
mudler
411b9404ef
Allow to customize GRUB menu entry, apply grub menu copy also to prepare_arm_images.sh
...
Signed-off-by: mudler <mudler@mocaccino.org>
2023-05-31 10:56:49 +02:00
Itxaka
f533e5e10e
Restore --use-lvm flag for backwards compatibility
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-23 20:39:52 +02:00
Itxaka
e95f84f0d1
Use lvm by default in building arm images
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-23 14:31:57 +02:00
Dimitris Karakasilis
cd8dd27354
Copy our grub config in place
...
Fixes https://github.com/kairos-io/kairos/issues/622
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-05-22 16:46:03 +03:00
Mauro Morales
f3e23108ac
Add header to default config
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-05-16 19:27:44 +02:00
Itxaka
b3068a067c
⬆️ Update repositories
...
Signed-off-by: GitHub <noreply@github.com>
2023-05-12 11:55:43 +00:00
Itxaka
30afd3535f
Ignore kpartx failure on arm image
...
Seems that if the system is slow enough, kpartx will fail to remove the
devmapping and will fail the script
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-27 15:16:53 +02:00
Itxaka
119c25f105
Sync before trying to remove the devmappings
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-27 13:20:45 +02:00
Itxaka
992325101b
Fix recovery size partition in raw-images script
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-24 12:16:27 +02:00
Itxaka
a1a10e08ce
🌱 Allow override of RECOVERY size in raw image creation
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-18 12:21:55 +02:00
Itxaka
16960be12e
Bump repos
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-13 16:25:53 +02:00
Itxaka
cc4de93692
Install iso files from luet
...
So the proper ones per arch are installed in their dirs
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-13 14:18:52 +02:00
Itxaka
1b9b20aa20
tools: install elemental from luet repo
...
This makes it so arm64 osbuilder images have the proper binary arch
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-13 12:04:45 +02:00
Ettore Di Giacinto
a4bad24fa2
⬆️ Bump livecd configs
...
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-03-07 12:40:14 +01:00
Venkat Srinivasan
95dd24d549
Merge pull request #25 from kairos-io/lvm-support-for-arm-images
...
Added optional support to build arm images with oem and recovery partitions as part of LVM
2023-02-27 08:06:48 -08:00
venkatnsrinivasan
8938adbcb9
Added optional support to build arm images with oem and recovery partitions as LVM
...
Signed-off-by: venkatnsrinivasan <venkat@spectrocloud.com>
2023-02-19 13:33:57 -08:00
mudler
9f5b4e7049
Build also efi.img
2023-02-18 16:10:03 +01:00
mudler
efc7cfd4e9
Add helper to pre-build static images (for ARM)
2023-02-18 14:46:54 +01:00
Ettore Di Giacinto
d8a8bd1497
⬆️ Bump elemental-cli in osbuilder-tools image
...
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-11-25 13:12:14 +00:00
Ognian
8a9b3e9f71
cp dir content not dir
...
Signed-off-by: Ognian <Ognian@users.noreply.github.com>
2022-11-16 17:24:57 +01:00
Ognian
78ff22e647
add --efi-dir option to build-arm-iamge.sh
...
This option allows modification of raspberry pi boot options.
see https://www.raspberrypi.com/documentation/computers/config_txt.html#what-is-config-txt
Signed-off-by: Ognian <Ognian@users.noreply.github.com>
2022-11-16 12:23:56 +01:00
Ognian
40560a4b02
propagate --local to elemental pull-image
...
fixes https://github.com/kairos-io/kairos/issues/419
2022-11-14 18:19:21 +01:00
Ettore Di Giacinto
7ae1f7105a
Add option to build netboot files and disk image size
2022-11-07 22:02:32 +00:00
Ettore Di Giacinto
ebbd1c9a1a
Add netboot script
2022-11-07 21:23:20 +00:00
Ettore Di Giacinto
82847a139d
⬆️ Bump elemental-cli
2022-11-07 21:50:30 +01:00
Ettore Di Giacinto
f5611e684f
⬆️ Bump elemental
2022-11-07 19:27:08 +01:00