73 Commits

Author SHA1 Message Date
Dongjin Kim
8b68df00bf fixup: remove internal LinuxFactory when cleanup
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I13b1c738bfedfc888f866882988967827030f9d9
2025-08-22 16:52:00 +09:00
Dongjin Kim
92b81710d9 ODROID-C5: Add new board ODROID-C5 with Amlogic SoC S905X5
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ib1d8e3705b443d014dfe053227f03fa2a62d6399
2025-08-22 16:52:00 +09:00
Dongjin Kim
fbf58602e1 squash! fixup: Add to append extra repository components
Change-Id: I6879f0ba2b1198ef7ef036865254c6f24862c6f4
2024-12-02 12:55:45 +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
a834dd65df fixup: Improve ppa.linuxfactory.or.kr
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I2e69e9284892abb74f935b7b9195e4eadfc8aeaf
2024-11-27 15:21:13 +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
e4fe8d5f57 fixup: Use 'gzip' to compress method for 'initramfs'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I6dfc1bda3cf312f325801b3b84bcf000298e3325
2024-11-21 15:17:11 +09:00
Dongjin Kim
6dcb047db6 fixup: add 'non-free-firmware' repository for Debian
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ia7814946ab1dd24f928fd30b85a6d3a6061fcdfe
2024-06-21 12:23:21 +09:00
Dongjin Kim
eb32064c8a fixup: add install 'gnupg' by default before package update
Generating locales (this might take a while)...
Generation complete.
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Iae93556895653c4fa09fa8946b5ee4c5c2669430
2024-06-21 12:23:21 +09:00
Dongjin Kim
668dd72f59 fixup: add install 'odroid-alsa' by default
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I1b0cc7f3e2f43007fe4efdaedfc43b1b52322be4
2024-06-21 12:23:21 +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
45998fa676 fixup: add install 'flash-kernel' by default
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ic172538052a3283bf75cd0f1ca40d6b89f9a4f44
2024-04-09 14:29:57 +09:00
Dongjin Kim
3c53b14a21 fixup: tempory create UUID of root file system
'flash-kernel' checks root file system when updating initramfs and put
its root file system device into 'conf/param.conf'. But when running
ODROID-Stamper, the device for the root file system is not present as a
block device, so it is confused and add '/dev/sda2' which is not
correct, this leads boot failure.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I83b832ea411f68e0c0491c0e21684331fad7656e
2024-03-19 19:02:19 +09:00
Dongjin Kim
d62c7c6a13 fixup: remove 'cloudimg-rootfs' in /etc/fstab
There would be two different root file system mount entries in
'/etc/fstab' added by ODROID-STAMPER and unknown component that must be
relatived to Ubuntu cloud service, but not sure which is. This leads to
add wrong root file system entry to 'initramfs' so it must be removed.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I598c8a591f0c2c57ba000d56323468c1b51d3489
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
a2586aad39 Revert "fixup: install 'network-manager' by default"
This reverts commit 8a4682c590.

Change-Id: I9ef993db6448db03920bb877a8ae1f643c0cb6f9
2024-01-20 23:48:55 +09:00
Dongjin Kim
8dad9e86d0 fixup: remove 'linux-image-' from kernel package name
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I4c47e2e2b72062fd52a3a391b4746926c2ac78e7
2024-01-20 20:37:53 +09:00
Dongjin Kim
817128ba9a fixup: not install 'linux-image-arm64' for Debian
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ic7f0ef692f4f5977d8b745ff551ac0d5a4457186
2024-01-20 12:39:26 +09:00
Dongjin Kim
94f8a24a38 fixup: disable cloud services
Change-Id: I55a3a5d30e4bb1b2bdf74410fdf16cc6b7d69fdc
2024-01-20 12:39:21 +09:00
Dongjin Kim
8a4682c590 fixup: install 'network-manager' by default
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ib97272c7afd2b888891a7075215142a55a716e45
2024-01-20 04:40:32 +09:00
Dongjin Kim
29899f2339 fixup: make sure directory to store '/etc/resolv.conf'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I066665b172f5e8249d9a86e10a90d28b2cf561bd
2024-01-20 04:39:53 +09:00
Dongjin Kim
5bf531d3f8 fixup: remove EFI partition from '/etc/fstab'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Iac1d3d868db62959e238c74f0c4a7296bed01b31
2024-01-20 04:39:24 +09:00
Dongjin Kim
f02d391cdb fixups: Fix to use default shell '/bin/bash'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I7490c0339a58caa84fd679b090f70ab93ee20dca
2023-10-16 12:32:42 +09:00
Dongjin Kim
5f4bdf7085 fixups: install package 'locales' when 'local-gen' is missing
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I10c9bb920051918293423e40ce3c2bd920d419ed
2023-08-17 19:17:18 +09:00
Dongjin Kim
b0cad6b585 fixups: reorder fix up scripts 'network' and 'repositories'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Iad51045e2ea1d7525fe660f5850f0783d9863549
2023-08-17 19:17:18 +09:00
Dongjin Kim
f2e8d5071a firstboot: add 'UUID_BOOFS' to replace with its UUID
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Id40294fcc24e37286ef131aaea24200a56f59e53
2022-07-20 17:03:05 +09:00
Dongjin Kim
b4bb0409bc Add install local debian packages
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I0554217a6c94304c5503b11d2a14fb40993ee2ab
2022-07-20 17:03:05 +09:00
Dongjin Kim
50a5036dc9 liveboot: prevent display 'Please remove the installation medium'
Adding 'noprompt' won't wait till user press an enter key with the
message 'Please remove the installation medium: press Enter'.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I4d4d8987d40b62057bcea11804d26c25ca11146f
2022-07-20 17:03:05 +09:00
Dongjin Kim
718c7efa6c fixup: terminate when 'apt install' fails
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I78475fbeda2c1c33438285d95c9c46660aabf270
2022-05-27 18:08:27 +09:00
Dongjin Kim
80936afe3a firstboot: fix ssh service start issue at first booting
The SSH service fails at first boot due to missing host keys in /etc/ssh
even though new host keys are generated using 'ssh-keygen -A' since the
service keeps restart too quickly.

Therefore new approach is to disable the ssh service when building an
image, enable and start it after new host keys are generated in the
first boot script.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Idee71e55017e72ec693ddf5e829c27da6343f031
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
1f4cb4bc7a fixups: add to run 'initramfs -u' when '/etc/fstab' is updated
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Iae7a142847685cdaae3133febb691b4b0f14be6d
2022-04-25 08:41:03 +09:00
Dongjin Kim
aee229b6a9 fixups: add default user to 'video' group by default
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ice2e77ef58747a14eaee62c08d407fd3456e8958
2022-04-13 03:28:54 +09:00
Dongjin Kim
fd073455ab Fix warning regarding to change release info
For example,
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I53d9579353519f415216a933467c00e86b4553b3
2022-04-10 16:18:16 +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
409e51cd0c ODROID-M1: move 'odroid-alsa' to board package file
Having 'odroid-alsa' in default pacakge file breaks building other
boards.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I6866cab93a60b8576428fbd07c15c2d666a1a7af
2022-04-05 23:21:24 +09:00
Dongjin Kim
ef610833be fixups: packages: install package 'odroid-alsa' by default'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I6a75a72df10d2f8dc53897f7bfec09c5f4317379
2022-04-05 21:57:23 +09:00
Dongjin Kim
0afbe54bc4 fixups: flash-kernel: fix to add 'root=...' to 'LINUX_KERNEL_CMDLINE'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I468dc20bae92853b7885e63a0e2552f28283f515
2022-04-05 21:57:18 +09:00
Dongjin Kim
7b3b039f18 fixups: flash-kernel: Add Plymouth settings to 'flash-kernel'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ie3e10ceba6fc181c777437120ce0c8c2f40be04a
2022-03-15 20:58:32 +09:00
Dongjin Kim
17ddf02687 fixups: locale: Add default locale to '/etc/locale.gen' and generate it
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ifa8eb34c1f54164b28ae9d5bde201c2b23929d66
2022-03-15 20:58:32 +09:00
Dongjin Kim
6890de9751 firstboot: disable ondemand service to use kernel CPU governor
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I40068ea9dc07dcc91da88eb100c3ece2ad4d55a9
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
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
0adb4760cb Fix to add default user to 'sudo' group
The default user will be added to 'sudo' group when
'ALLOW_ROOT_LOGIN' is true.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I73e82e91f3646f68520d3a442535a73479a859dc
2022-03-05 20:31:48 +09:00
Dongjin Kim
cf2c565cae Install public key for packages from 'ppa.linuxfactory.or.kr'
The public key for the package server 'ppa.linuxfactory.or.kr' could be
missing when the base OS file system in *.tar.gz/*.squashfs is not from
'ppa.linuxfactory.or.kr'.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I83e1a74e6a40189c8ef64244e45598d248c57df1
2022-03-05 20:31:48 +09:00
Dongjin Kim
f5b342ab0a Fix correct directory permissions to /boot, /root, /etc
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ied027f8f561d172386e9071ab625af61d8035601
2022-03-05 20:31:48 +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
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
0160e6239e Improve build script for Liveboot OS image
Adding 'root=casper toram' to '/etc/default/flash-kernel' is more
generic since /usr/share/flash-kernel/preboot.d/upstream presents
for ODROID-N2/C4.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I5bf5b160409474cc1d37423f0ac15f99912f9b83
2022-02-15 01:43:02 +09:00