commit | author | age
|
849fbd
|
1 |
SUMMARY = "A console lite image for production" |
G |
2 |
LICENSE = "MIT" |
|
3 |
|
|
4 |
inherit core-image |
|
5 |
|
|
6 |
# additional free disk space created in Kbytes |
|
7 |
#IMAGE_OVERHEAD_FACTOR = "1.0" |
|
8 |
#IMAGE_ROOTFS_EXTRA_SPACE = "512000" |
|
9 |
|
|
10 |
## Select Image Features |
|
11 |
IMAGE_FEATURES += " \ |
|
12 |
ssh-server-openssh \ |
|
13 |
hwcodecs \ |
|
14 |
package-management \ |
|
15 |
" |
|
16 |
|
|
17 |
CORE_IMAGE_EXTRA_INSTALL += " \ |
|
18 |
packagegroup-base-wifi \ |
|
19 |
packagegroup-core-full-cmdline \ |
|
20 |
packagegroup-tools-bluetooth \ |
|
21 |
packagegroup-fsl-tools-audio \ |
|
22 |
packagegroup-imx-isp \ |
|
23 |
packagegroup-imx-security \ |
|
24 |
packagegroup-fsl-gstreamer1.0 \ |
|
25 |
packagegroup-fsl-gstreamer1.0-full \ |
|
26 |
packagegroup-core-ssh-openssh \ |
|
27 |
openssh-sftp openssh-sftp-server \ |
|
28 |
firmwared \ |
|
29 |
" |
|
30 |
|
|
31 |
inherit populate_sdk_qt6_base |
|
32 |
|
|
33 |
CONFLICT_DISTRO_FEATURES = "directfb" |
|
34 |
CORE_IMAGE_EXTRA_INSTALL:append = " packagegroup-qt6-imx tzdata " |
|
35 |
|
|
36 |
CORE_IMAGE_EXTRA_INSTALL:append = " \ |
|
37 |
opencv zbar \ |
|
38 |
gnupg \ |
|
39 |
parted \ |
|
40 |
v4l-utils \ |
|
41 |
inetutils \ |
|
42 |
hostapd \ |
|
43 |
wireless-tools \ |
|
44 |
spitools \ |
|
45 |
alsa-state \ |
|
46 |
expand-rootfs \ |
|
47 |
wpa-conf \ |
|
48 |
pulseaudio-server \ |
|
49 |
xz lrzsz \ |
|
50 |
yavta \ |
|
51 |
libgpiod libgpiod-tools \ |
|
52 |
powertop \ |
|
53 |
dos2unix \ |
|
54 |
rsync \ |
|
55 |
python3 \ |
|
56 |
python3-pip \ |
|
57 |
" |
|
58 |
|
|
59 |
# Modify default environment |
|
60 |
modify_env() { |
|
61 |
echo "alias ls='ls --color=auto'" >> ${IMAGE_ROOTFS}/etc/profile |
|
62 |
} |
|
63 |
ROOTFS_POSTPROCESS_COMMAND += "modify_env; " |
|
64 |
|
|
65 |
inherit extrausers |
|
66 |
# Create the password hash with following command on host: |
|
67 |
# >> mkpasswd -m sha256crypt igkboard -S abcd6789 |
|
68 |
# Remember to escape the character $ in the resulting hash |
|
69 |
|
|
70 |
# Set the root password: igkboard |
|
71 |
#PASSWD="\$5\$abcd6789\$vlMo5CC1IJlipoXWQifbiMJ8fZqRIV26EXIi97RxPjC" |
|
72 |
EXTRA_USERS_PARAMS = "\ |
|
73 |
usermod -p '${PASSWD}' root; \ |
|
74 |
" |