15 Commits

Author SHA1 Message Date
Dongjin Kim
4dddea633a firstboot: fix to enable PasswordAuthentication
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I8ac07f3febf9d0575d8cddb53e7b2eb1f6b3742c
2024-07-18 18:12:27 +09:00
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
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
77eb28f706 firstboot: fix wrong calculation to extand rootfs partition
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I636d8b515b83876450d78aa5fc2ffc4273460e85
2022-04-25 14:40:03 +09:00
Dongjin Kim
4d4dd02384 firstboot: fix sshd configuration and restart it on firstboot
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I06d06538eee533343e3a05535352e613f3944734
2022-04-25 08:41:03 +09:00
Dongjin Kim
4a5ace6581 Revert "firstboot: Restart SSH server at first boot"
This reverts commit b62b2b3306.
2022-04-13 03:20:55 +09:00
Dongjin Kim
b62b2b3306 firstboot: Restart SSH server at first boot
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I42f2b5468be4d1cd3faefb752f0f32f33776150c
2022-04-05 21:57:23 +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
78e7dde05f Revert "Add workaround to fix OS image build error"
This reverts commit 72e543e251.

Change-Id: I6a0fd77c1249dd05c235d752a585ff9e539181f6
2022-03-06 00:58:31 +09:00
Dongjin Kim
f609920320 Add properly resize root file system for NVMe
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ieea3864fb622749ddaeb8d12028638d773eb7bc6
2022-01-11 13:36:53 +09:00
Dongjin Kim
0c9fbc3992 Add to call 'partprobe' after 'fdisk' works
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I86322a3113aa9069587e23788b0d4cb3acfa58e2
2021-03-17 02:52:47 +09:00
Dongjin Kim
72e543e251 Add workaround to fix OS image build error
This patch is to fix the error on the machine at the first boot for the
error while build the OS image.

> (process:21627): GLib-ERROR **: 20:50:46.361: getauxval () failed: No such file or directory
> qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
> Trace/breakpoint trap

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923289

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I087d76961d0dabbeb6be2e15e39a344e71f7e393
2021-03-16 11:14:37 +09:00
Dongjin Kim
d83da1d9b8 ODROID-XU4: firstboot: add to restart SSH server at first boot
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2021-01-11 16:08:53 +09:00
Dongjin Kim
7147538f8c Fix to 'firstboot.sh' to resize the partiton of '/dev/sd*'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Id816a6dd1dd001f73e119d285f9d62ef1f3a4a7d
2020-11-22 02:15:32 +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