Commit Graph

208 Commits

Author SHA1 Message Date
Dongjin Kim
ae463e7218 firstboot: change value of 'KbdInteractiveAuthentication' to 'yes'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I5e9ce3611da43167b5166376d4a82fabddde4a55
2024-01-25 18:54:22 +09:00
Dongjin Kim
6052e54374 distro: remove softlink, use independent build script
Change-Id: I874845f75c5eabfc9037af5ba92374e26981896c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2024-01-21 21:17:02 +09:00
Daniel Mehrwald
f285257283 Add: environment variables
set needed environment variables for user to restart service from shell
2024-01-21 21:14:02 +09:00
Dongjin Kim
6e1637b2bc Install 'linux-firmware' package in Ubuntu only
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: If47c70f90072d3514e2b65c0fe94916902523fe1
2024-01-21 00:58:37 +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
37895c9c40 packages: add default packages for Debian Buster+
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ia1f6eefd300d02728164eff816911284941855f6
2024-01-21 00:03:23 +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
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
e20e095691 Drop discontinued OS distributions
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Icdb69fa229db91dc1c5a7c4be97b3033a9b870bb

Change-Id: Ie769b61b6871b76298510ce49d0459b733bce494
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
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
5957ef7f6d Merge pull request #13 from AreaScout/next
Add: SplashScreen and rework of KODI Service
2024-01-03 22:13:02 +09:00
AreaScout
1e801d3419 Add: SplashScreen and rework of KODI Service 2024-01-03 09:14:58 +00:00
Dongjin Kim
ffddff4209 Merge pull request #12 from ferbar/patch-1
functions: cleanup checks
2023-12-31 11:44:56 +09:00
Dongjin Kim
333a5dbdd0 Merge pull request #11 from AreaScout/next
Start KODI with both Pulseaudio and ALSA audio backend, it's needed to connect to Bluetooth speakers
2023-12-30 20:22:18 +09:00
AreaScout
59cef62559 Add: needed KODI startup service permissions 2023-12-29 11:39:06 +00:00
Christian Ferbar
489ac38737 functions: cleanup checks 2023-12-29 12:32:36 +01:00
AreaScout
2c2b901fa5 Add: start KODI with both audio backends Pulse and ALSA, this allows you to connect and playback to bluetooth speakers while still using audio passthrough from ALSA 2023-12-29 07:21:26 +00:00
AreaScout
3c7410ec5c Add: Pulseaudio packages 2023-12-29 07:21:01 +00:00
Dongjin Kim
8dee3f3589 Merge pull request #10 from AreaScout/next
Add: do not restart service in case of error or upon exit
2023-12-28 16:24:31 +09:00
Daniel Mehrwald
3e8b0b70b2 Add bluez package 2023-12-27 13:17:04 +01:00
Daniel Mehrwald
11613291cd Add: do not restart service in case of error or upon exit
User can start it manually if needed
2023-12-27 11:58:36 +01:00
Dongjin Kim
70de1266c4 custom: AreaScout's Kodi Image Builder
For ODROID-M1:
	$ sudo ODROID_STAMPER_CHECKOUT=$PWD ./odroid-stamper --compress \
		--custom=kodi/areascout/gbm --compress --board=odroidm1

For ODROID-M1S:
	$ sudo ODROID_STAMPER_CHECKOUT=$PWD ./odroid-stamper --compress \
		--custom=kodi/areascout/gbm --compress --board=odroidm1s

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I8b6ea1818f09d468c3ee38b6af4a606abf1ed2ba
2023-12-01 02:05:23 +09:00
Dongjin Kim
78914de34f function: fix flashing wrong U-Boot image
Change-Id: Ia374200438b050d0d07decab231b31de7968baa2
2023-12-01 02:04:52 +09:00
Dongjin Kim
1875ef0e35 Add new Ubuntu version 23.10 (Mantic Minotaur)
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Id06b29614ac8ab89b5335f5cd6ee1ac201c011ea
2023-11-15 13:25:26 +09:00
Dongjin Kim
527ed965ab ODROID-M1S: add use different kernel version for different distro
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Id3ad42bebb14ffd8f5c89750b6b3c3027b6e158f
2023-11-15 13:25:26 +09:00
Dongjin Kim
4fb6676947 ODROID-M1S: Add new board ODROID-M1S with Rockchip SoC RK3566
Change-Id: Ida6357a033a1270b3bd8bd3e0124baed7a883a1b
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2023-10-18 16:46:54 +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
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
ab5bcfbc51 ODROID-M1: fix to package repositories for ppa.linuxfactory.or.kr
Change-Id: Ie51edc224bafed35a3b0648e48df38fe80a2aeca
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2023-08-17 19:17:28 +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
0191222af9 ODROID-N2L: Add new board ODROID-N2L
Change-Id: Ife858d112ecc0b09077443887185c9fb1b037991
2023-02-03 23:37:52 +09:00
Dongjin Kim
378ebcb5a7 custom: Add new build target for RescueZilla
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: If73f25ffb2eeeb6ce7f6228dc24a4545ea3b1bb1
2022-11-07 12:27:06 +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