Dongjin Kim
abed32b99e
functions: debian: use '*nocloud*' image instead of '*generic*'
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ic206a8232d362327e89b438e7af6b68d9f09d973
2025-09-18 10:32:17 +09:00
Dongjin Kim
1747d1ccd9
functions: improve to download base image tarball
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ia22288243e3bb85c35ddcbba7c80931ad6e80938
2025-09-18 10:32:17 +09:00
Dongjin Kim
16c25f9628
Revert "Add new Ubuntu version 23.10 (Mantic Minotaur)"
...
This reverts commit 1875ef0e35 .
Change-Id: I63ebe61d816cf2ed5ed756f1b68e135f87419359
2025-08-22 16:53:39 +09:00
Dongjin Kim
fbe985c5d3
functions: fix keep downloading original image file
...
Currently the base image is downloaded everytime even if the same file
is already downloaded and exist in the output directory. So this patch
will check the SHA value of the file before downloading when the same
file is required to build an OS image.
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I4581b4ddb990ef975d1c3a0008ed6b596ea627a1
2024-12-04 14:31:10 +09:00
Dongjin Kim
ca1cba0580
commnad: add new flag '--linuxfactory=<IP address>'
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I5d84f0cde2123c25f3cbd30c6f500cabaaeac2a9
2024-11-27 15:21:14 +09:00
Dongjin Kim
5e0d2621c6
fixup: Add to append extra repository components
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ie775f7217e363012966f568bac67de95e46b8266
2024-11-27 15:20:41 +09:00
Dongjin Kim
79b528e3da
functions: fix to increase default BOOT partition size to 512MB
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I484ceffe29284b181947842dddc25c8320e5b26a
2024-07-18 18:12:27 +09:00
Dongjin Kim
27ab0e1c67
Add custom file from board/*/distro/*
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I5432708148cb4bd89a8e0fa4fa413d23a711b9e7
2024-06-03 03:47:34 +00:00
steve.jeong
4ab4aac61d
odroid-stamper: Add build option "--addon-wifi".
...
for select install DKMS packages or not.
+) Add new directory "addon" it have no dependency of boards.
Signed-off-by: steve.jeong <jkhpro1003@gmail.com >
Change-Id: Ic010d5bf433078f40872a1bd53990a7ffda90372
2024-05-22 16:57:16 +09:00
Dongjin Kim
d61a80b588
Add new Ubuntu version 24.04 (Noble Numbat)
...
Change-Id: Ic30b08536608f9336e17854e29387dcba4177182
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2024-04-22 15:53:20 +09:00
Dongjin Kim
4cc80ed0cd
functions: 'sys/firmware/efi/efivars' must be removed before unmounting /sys
...
Change-Id: Ic9d2cf40fd6ddfb40a7715983b3b3ae36b93d9df
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2024-03-19 19:02:19 +09:00
Dongjin Kim
04f9e36adf
functions/fixups: edit /etc/fstab when it exists
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I5b8054b8951f16ba48da4cacdab5f7af23f91f1c
2024-01-21 00:30:59 +09:00
Dongjin Kim
f94f0e39f6
functions: remove dummy log shows kernel version
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ifd61bb1d5fbde024c5537ca2c40ada05dff55db7
2024-01-21 00:05:02 +09:00
Dongjin Kim
56173b95da
functions: add use 'mountpoint' test before unmount
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I71f297b782d9623415ed1122139ff1ea302ff258
2024-01-21 00:03:33 +09:00
Dongjin Kim
642802dabc
improve function to collect packages/blacklist
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Iea50c9f16e86d678105575955eabc73c2d3cd7fa
2024-01-20 23:48:55 +09:00
Dongjin Kim
330f86648b
functions: add to build with extra space
...
Extra space in partitions can be defined in '/custom/*/partitions' by
adding symbols 'EXTRA_<BOOT|ROOT>_SIZE' with size in MBytes
EXTRA_BOOT_SIZE=128
EXTRA_ROOT_SIZE=256
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I08f0daae5abc12857986d29bb58a18afb40c1ee7
2024-01-20 23:48:55 +09:00
Dongjin Kim
b5f0fc0fc3
functions: move 'do_extract()' to 'do_create_image()'
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Idc158dcc3300fe881a2ce5da08cdef1a426e0361
2024-01-20 23:48:55 +09:00
Dongjin Kim
fc460b2d78
functions: move 'do_download_customimage()' to 'do_custom_installer()'
...
Since using offical Cloud Image, there is not *.tar.gz file that is the
format of custom OS image.
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Id7cf40d0c5d3701ed66ab20ecb466e7319045daf
2024-01-20 23:48:55 +09:00
Dongjin Kim
45694d9adf
functions: use official Debian Cloud Images same as Ubuntu
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I309600fd10930c23cad2adab0498d180b5ee261c
2024-01-20 23:48:55 +09:00
Dongjin Kim
1b12dcd15f
functions: code clean up and less noisy
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ieac0404a10707dcf3c0b639d62f20de3ec7ce448
2024-01-20 23:48:55 +09:00
Dongjin Kim
93ea6dc2ed
functions: improve copying custom files in order
...
Files in 'overlay' and 'fixups" needs to be copied in certain order and
overwrite when file name is same, so they can be applied as expected.
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I41495bbf0f653be1b32c394aed9d28356c3d913d
2024-01-20 23:48:50 +09:00
Christian Ferbar
489ac38737
functions: cleanup checks
2023-12-29 12:32:36 +01:00
Dongjin Kim
78914de34f
function: fix flashing wrong U-Boot image
...
Change-Id: Ia374200438b050d0d07decab231b31de7968baa2
2023-12-01 02:04:52 +09:00
Dongjin Kim
14f81e71d7
function: add to collect U-Boot blobs from root file system
...
U-Boot cannot flashed while OS image itself is building, so this patch
will collect U-Boot files installed via a package 'u-boot-*' in
'/usr/lib/u-boot/odroid*' and create a 'u-boot.tar.gz' to flash later.
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I5659d6ac16a59d32cdfa20eac120c3bc295a49f7
2023-10-13 18:49:45 +09:00
Dongjin Kim
fc8c18f822
functions: remove '/host' in root file system after building
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ie768588e987ad2506963d16228170b22eb4625cf
2023-08-25 13:44:28 +09:00
Dongjin Kim
4800760170
functions: add to copy board specific overlay directroies
...
Change-Id: I92f2e5da5d951ce68e4de06098a4bc24f049a91d
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2023-08-25 13:44:25 +09:00
Dongjin Kim
c0a37afdb0
command: add new build flag '--kernel'
...
New flag '--kernel' is to override and select the kernel package to be
installed instead of running by 'get_kernel_package()'.
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ib70cd78d357d7f9ff599869da7f5617077305722
2022-11-07 12:27:06 +09:00
Dongjin Kim
4aec18ae6a
functions: fix to copy hidden files as well
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I64c188ec394914bc970fd084613f7f433e480517
2022-11-07 12:27:06 +09:00
steve.jeong
1919fbb5bc
ODROID-M1: Add apt hold package.
...
dpkg: error processing archive /var/cache/apt/archives/libwayland-egl1_1.18.0-1ubuntu0.1_arm64.deb (--unpack)
Signed-off-by: steve.jeong <jkhpro1003@gmail.com >
Change-Id: Id6374ff6612f45adcbbc4dee7a4a778bc1d1fb7f
2022-09-26 10:07:12 +09:00
Dongjin Kim
13ea129d26
function: rename 'distro/distro_version()' to 'osname/osversion()'
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I4f0a6cd2768ed5c600ca3901dfbc17b8e7e243ed
2022-06-01 01:42:41 +09:00
Dongjin Kim
045638a5db
functions: cleanup: use 'do_copy_overlays()' instead of multiple long commands
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I5749f9b8ed9c29c69928e04153b9c27d265f7b3f
2022-05-31 19:17:25 +09:00
Dongjin Kim
41cd09df44
functions: add support common build script for a specific distro
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ib523ba8a532b3fb6b1522cac880cc01fbcca1254
2022-05-31 19:17:25 +09:00
Dongjin Kim
642cd65df3
cloudimage: Not downloading a cloud image if exists
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ia492ff91e2068745d433a35b139feabcbb356416
2022-05-06 02:27:25 +09:00
Dongjin Kim
a7f336cdba
liveboot: oem: improve copying backup files in .list to support directory
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I60b97886618133ef8c8dac97f27e18ef4f4d65af
2022-05-06 02:27:25 +09:00
Dongjin Kim
ff0f20544f
Add new feature to remove package in black list
...
New feature is to remove packages in black list when described.
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ic1d9d72cd200e3c1958a8f42a21fc8e4a13b2021
2022-05-06 02:27:25 +09:00
Dongjin Kim
4f51aec913
Fix to use default package repository 'main'
...
When base OS image is from Ubunt/Debian, it does not have a package
manifest for 'ppa.linuxfactory.or.kr', there for ignore the previously
defined package manifest in the prebuilt OS image and use new one.
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I3cdc93945b94df14314a9d6f8d2ee94cd8157ea4
2022-04-10 16:18:16 +09:00
Dongjin Kim
578d77eb91
fixups: use 'systemd-machine-id-setup' instead of 'uuid-gen'
...
In chroot, there would be no 'uuid-gen' so failed.
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Iffd7aac6103c516769030ea3ce288522e2b73df1
2022-04-08 00:08:26 +09:00
Dongjin Kim
ba68e40e71
Add new OS build flavour for Weston desktop
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Iac22b27ed7e7e121fccdddaa47821aef32b55fc7
2022-03-15 20:58:32 +09:00
Dongjin Kim
89c87f0dfe
Add run fixup scripts in 'distro/$DISTRO/$FLAVOUR/fixups'
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I82487a74deba40508364d4929a4d7401e7aa1f6e
2022-03-15 20:58:32 +09:00
Dongjin Kim
ebf8380b13
Use build flavour only for hostname
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I0118667c662e377d808cb541e73fa153afc02bfd
2022-03-15 20:58:32 +09:00
Dongjin Kim
2a81214a53
Refactor directory structure referring build materials
...
New directory: distro/<DISTRO>/<FLAVOUR>
DISTRO bionic, focal, buster, bullseye, ...
FLAVOUR server, gnome-desktop, mate-desktop, ...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I41482356e958fc5c7591bedee651376dc6e903aa
2022-03-15 20:58:32 +09:00
Dongjin Kim
60d20f79c8
Add Ubuntu 20.04 Gnome Desktop build flavour
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I30c0139e8d70ea472fac2b0f035f66897178653b
2022-03-15 20:58:28 +09:00
Dongjin Kim
832590e69c
Add to use 'server' image to build a desktop flavour image
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Icb716a312f33a3681250cca1459980086411b7cb
2022-03-05 20:11:32 +09:00
Dongjin Kim
dcad4bb4fe
Apply build flavour specific packages and overlay files
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I27d9f3d891141c80a5143f88e15e45c0d6830c12
2022-03-05 20:11:32 +09:00
Dongjin Kim
04c1aace65
Fix to get the options for 'apt install' from build target
...
Desktop package needs to install the recommended packages for better UX,
such packages will be installed without '--no-install-recommends' in
'apt install' command.
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ib024fa218b6d87d5df68f00e81584be87c4b7daa
2022-03-05 20:11:31 +09:00
Dongjin Kim
6f9ebd3395
functions: add to run board specific fixup scripts
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I8f7685f57c36f85e0ec97d71237c346e1e7ee49d
2022-03-05 20:11:31 +09:00
Dongjin Kim
5a43c1b0b7
Fix to build for internal project with 'INTERNAL=true'
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I4b130880f09437ec547f479f8846c75976f75849
2022-03-05 20:11:28 +09:00
Dongjin Kim
967d42cb1b
Add dummy function for a board without U-Boot
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I3d4d17d5e5eafdcf38bda0866fec4dc5817e89c8
2022-03-05 20:11:24 +09:00
Dongjin Kim
8c7a0bac78
Copy file list to top directory of partition as '.filesystem'
...
The file '.filesystem' contains the files that must be copied and stored
in the partition.
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I92ac336f23e70846f81c419d18a176e475cdb609
2021-05-08 04:14:19 +09:00
Dongjin Kim
b2e2313ed0
Add to create custom partitions to live boot system
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I6eb71c5dded45c689400599a799eac8f38cbb0bd
2021-05-07 00:38:05 +09:00