24 Commits

Author SHA1 Message Date
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
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
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
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
17d0d9bd85 odroid-stamper: replace '/' to '-' in output image file
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I1d5566a48f043339ddecc7d5635f0c6822af104b
2022-05-24 21:28:25 +09:00
Dongjin Kim
f962680bfb command: add new build flag '--customos'
Assuming the first argument will fail when multiple arguments are given
or other argument is at first place to build for a custom OS project.
Therefore use '--customos'...

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I14eaec23ed06790053522e33c1e5d7215c9566b0
2022-04-13 03:29:44 +09:00
Dongjin Kim
cb97cd908a customos: fix to use custom os name instead of base os name
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ib79c633a0eea6903f3abff3d5824c4beb538e3f3
2022-04-10 16:18:16 +09:00
Dongjin Kim
76fd4dce66 command: add new build flag '--isoimage'
New build flag '--isoimage' will create a target OS image in ISO file
type and its OS will be forced to be built as Live boot system.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I77bab7efcbaa4791c085a163e44b59cc154f3283
2022-04-08 10:10:39 +09:00
Dongjin Kim
522eab98bb Add '-live' to Live booting OS image file name
examples:
	ubuntu-20.04-server-odroidn2-20220408-live.img
	ubuntu-20.04-gnome-desktop-odroidn2-20220408-live.iso

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I077ae5f1cb485583b9df694be1754fcc1d76058e
2022-04-08 10:08:53 +09:00
Dongjin Kim
a0b20e986f command: add new build flags 'board/distro/flavour/username/password'
Adding more build flags will help to start OS build in the command line
and override given values in the configuration.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: If3217a4d4edad7ef299d5726658b26bcccfc82f6
2022-03-15 20:58:32 +09:00
Dongjin Kim
6fb11b5353 Error when the build target is not present under 'distro/'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I32d326dac31913ae83ac7b201f8c6bba3795b85d
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
4d22c3d055 command: add new build flag '--internal'
New build flag '--internal' is to access internal package pool that
manages unpulbished packages in developing.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I4cf4cae1fc6a4196ab2b3cc907671fd9554bb1e2
2022-03-05 20:31:48 +09:00
Dongjin Kim
69629df04c command: add new build flag '--compress'
New flag '--compress' is to build compress OS image as last, the
compression is by 'xz'.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I0776c521cc8e59b6f58618ea55687d091c2c1b41
2022-03-05 20:31:48 +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
102f5b822b functions: add to override functions if customos has
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Id4c14ecd4b98a89942a1086cd425768d55b221f3
2021-05-23 07:26:28 +09:00
Dongjin Kim
28d4caa447 command: add new build flag '--keep-builddir'
The working directory contains the files of a target OS system to build
and it's the source to create partitions and OS image. With the flag
'--keep-builddir' won't remove the working directory after the target OS
image is built such that one can traverse the file system in the build
machine. By default, the working directory will be removed.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I00e8488797535410fde6dbd01249ecb8ebc1ae56
2021-04-20 11:41:49 +09:00
Dongjin Kim
7b24cbbaec command: add new flag '--live' to build live boot image
The live boot image is intended to boot and run on system memory.
Its root file system is built as SQUASFS file system and loaded
from a file system on booting.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I7df3cb7c43a53120afa300142032aa0e95a914fe
2021-04-20 11:41:46 +09:00
Dongjin Kim
e25e8d2d74 command: add command flag '--output=*' to set output directory
$ ./odroid-stamper --output=$PWD/output

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I9253d925cd406bb39c1486d4b1535c80bcf7e56a
2021-04-20 11:41:41 +09:00
Dongjin Kim
ada20903f5 Add to build ISO image and apply to Live System image
Add 'ISOIMAGE=true' to config file for target image

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ibec11c57ac8c256d8436e70353de72376f8280cd
2021-04-01 14:03:06 +09:00
Dongjin Kim
e791335247 Reset the default target device as file for custom OS build
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2021-02-10 03:19:14 +09:00
Dongjin Kim
9b64051b12 Add to use custom OS configuration
-- custom/<Name>/config     -> OS image configuration
                    /packages   -> package list to install
                    /fixups/*   -> Directory to run fix up OS image

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ibc182c03a38ba82f411c1fc5a5ebd5c2254c5609
2021-01-28 19:36:38 +09:00
Dongjin Kim
0472009f75 Fix to use package install directories
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I31cd885620a0cdc37794e514dc6088a64e774ec7
2020-03-31 11:34:06 +09:00
Dongjin Kim
2828dcf972 The first commit for the script tool 'ODROID-STAMPER'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-12-26 22:07:37 +09:00