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
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
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
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
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
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
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
New feature is to remove packages in black list when described.
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ic1d9d72cd200e3c1958a8f42a21fc8e4a13b2021
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
In chroot, there would be no 'uuid-gen' so failed.
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Iffd7aac6103c516769030ea3ce288522e2b73df1
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
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
This patch will create a partition image with given file list in a file.
For example, suppose we have 'vendor.list' that contains files
$ cat custom/templates/oem/vendor.list
/etc/hostname
And give the file name 'vendor.list' to 'hooks/partition' with a certain
partition list.
$ cat custom/templates/oem/hooks/partition
oem_mkfs_ext4 5 vendor vendor.list
oem_mkfs_ext4 6 app
oem_mkfs_ext4 7 lib
The partition labeled by 'vendor' will contains the files as listed in
'vendor.list'.
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ie4e80762f2d1c43c77dd941213f449dc3792fcbf