Compare commits
8 Commits
kirkstone_
...
kirkstone
| Author | SHA1 | Date | |
|---|---|---|---|
| 34f06d94c7 | |||
| eae725e15d | |||
|
|
4f5701915d | ||
|
|
05b0fd41ab | ||
|
|
765094fdf7 | ||
|
|
6182ac7c3a | ||
| 9f98f45be4 | |||
| 4f223ec583 |
@@ -65,5 +65,7 @@ RM_WORK_EXCLUDE += "configurateur-frontend python3-jsonschema"
|
||||
INHERIT += "extrausers"
|
||||
EXTRA_USERS_PARAMS += "usermod -p '\$6\$kineintercom\$CRdIWTleZDC7c/0pNVlDZy7K56fyf5PVsAGlx27GAY8UX/EjObgmxhMi3YOOs0uLj.da3jMdv.sKFngNFUqFz1' root;"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-rtl8188eus"
|
||||
|
||||
# Check CVEs
|
||||
INHERIT += "cve-check"
|
||||
#INHERIT += "cve-check"
|
||||
|
||||
@@ -11,8 +11,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI = "git://git.nas.benserv.fr/vincent/Kine-backend.git;protocol=https;branch=master"
|
||||
|
||||
SRCREV = "7950968f248b7510af5815347e4f278aae3fc54b"
|
||||
PV = "1.0.0"
|
||||
SRCREV = "4812ef51eddfafbbce22bf191eb5a2d04345d771"
|
||||
PV = "1.1.0"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@ SRC_URI = " \
|
||||
git://git.nas.benserv.fr/vincent/Kine-frontend.git;protocol=https;branch=master \
|
||||
"
|
||||
|
||||
SRCREV = "312c3d697d73eeb84a01ef74af79cfb7d1a03f90"
|
||||
PV = "1.0.0"
|
||||
SRCREV = "af19713b751786cf7df39153040f850de90b54d1"
|
||||
PV = "1.1.0"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
@@ -9,10 +9,10 @@ LICENSE = "MIT"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
|
||||
PV = "1.0.0"
|
||||
PV = "1.1.0"
|
||||
SRC_URI = "git://git.nas.benserv.fr/vincent/KineIntercom.git;protocol=https;branch=master"
|
||||
|
||||
SRCREV = "3a07adf319a19e1f322bc86eba4decba5bb9d0eb"
|
||||
SRCREV = "c80a21848b513864031dc250c9b6d9e98f7d3566"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
@@ -29,6 +29,9 @@ require dhcp_server_identifier
|
||||
# OR generate Stable Private IPv6 Addresses based from the DUID
|
||||
slaac private
|
||||
|
||||
# Don't send any ARP requests. This also disables IPv4LL
|
||||
noarp
|
||||
|
||||
# static IP configuration:
|
||||
interface eth0
|
||||
static ip_address=192.168.10.10/24
|
||||
|
||||
@@ -4,10 +4,17 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI += "file://hostname \
|
||||
file://hosts \
|
||||
file://fstab"
|
||||
file://fstab \
|
||||
file://locale.conf \
|
||||
file://vconsole.conf"
|
||||
|
||||
FILES:{PN} += "${sysconfdir}/locale.conf \
|
||||
${sysconfdir}/vconsole.conf"
|
||||
|
||||
do_install:append() {
|
||||
install -m 0644 ${WORKDIR}/hostname ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/locale.conf ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/vconsole.conf ${D}${sysconfdir}
|
||||
}
|
||||
|
||||
1
recipes-core/base-files/files/locale.conf
Normal file
1
recipes-core/base-files/files/locale.conf
Normal file
@@ -0,0 +1 @@
|
||||
LANG=fr_FR.UTF8
|
||||
1
recipes-core/base-files/files/vconsole.conf
Normal file
1
recipes-core/base-files/files/vconsole.conf
Normal file
@@ -0,0 +1 @@
|
||||
KEYMAP=fr-latin9
|
||||
@@ -35,6 +35,9 @@ IMAGE_INSTALL += " \
|
||||
vim \
|
||||
minicom \
|
||||
i2c-tools \
|
||||
usbutils \
|
||||
iw \
|
||||
rtl8188eus-misc \
|
||||
${PROCESS_INSTALL} \
|
||||
"
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
##
|
||||
## Runas alias specification
|
||||
##
|
||||
Cmnd_Alias SYSMGT = /bin/systemctl poweroff, /bin/systemctl reboot
|
||||
Cmnd_Alias SYSMGT = /bin/systemctl poweroff, /bin/systemctl reboot, /bin/date, /sbin/hwclock
|
||||
|
||||
##
|
||||
## User privilege specification
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -98,8 +98,8 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y
|
||||
###################### MP HW TX MODE FOR VHT #######################
|
||||
CONFIG_MP_VHT_HW_TX_MODE = n
|
||||
###################### Platform Related #######################
|
||||
-CONFIG_PLATFORM_I386_PC = y
|
||||
-CONFIG_PLATFORM_ARM_RPI = n
|
||||
+CONFIG_PLATFORM_I386_PC = n
|
||||
+CONFIG_PLATFORM_ARM_RPI = y
|
||||
CONFIG_PLATFORM_ARM64_RPI = n
|
||||
CONFIG_PLATFORM_ANDROID_X86 = n
|
||||
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
||||
@@ -2062,18 +2062,14 @@ export CONFIG_RTL8188EU = m
|
||||
all: modules
|
||||
|
||||
modules:
|
||||
- $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules
|
||||
+ $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KERNEL_SRC) M=$(shell pwd) modules
|
||||
|
||||
strip:
|
||||
$(CROSS_COMPILE)strip $(MODULE_NAME).ko --strip-unneeded
|
||||
|
||||
-install:
|
||||
- install -p -m 644 $(MODULE_NAME).ko $(MODDESTDIR)
|
||||
- /sbin/depmod -a ${KVER}
|
||||
|
||||
-uninstall:
|
||||
- rm -f $(MODDESTDIR)/$(MODULE_NAME).ko
|
||||
- /sbin/depmod -a ${KVER}
|
||||
+modules_install:
|
||||
+ $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KERNEL_SRC) M=$(shell pwd) modules_install
|
||||
|
||||
backup_rtlwifi:
|
||||
@echo "Making backup rtlwifi drivers"
|
||||
1
recipes-kernel/rtl8188eus-mod/files/8188eu.conf
Normal file
1
recipes-kernel/rtl8188eus-mod/files/8188eu.conf
Normal file
@@ -0,0 +1 @@
|
||||
8188eu
|
||||
1
recipes-kernel/rtl8188eus-mod/files/realtek.conf
Normal file
1
recipes-kernel/rtl8188eus-mod/files/realtek.conf
Normal file
@@ -0,0 +1 @@
|
||||
blacklist r8188eu
|
||||
21
recipes-kernel/rtl8188eus-mod/rtl8188eus-misc_5.3.9.bb
Normal file
21
recipes-kernel/rtl8188eus-mod/rtl8188eus-misc_5.3.9.bb
Normal file
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "rtl8188eus external Linux kernel module misc"
|
||||
DESCRIPTION = "${SUMMARY}"
|
||||
LICENSE = "CLOSED"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI = "file://realtek.conf \
|
||||
file://8188eu.conf \
|
||||
"
|
||||
|
||||
FILES:${PN} += "${sysconfdir}/modprobe.d/realtek.conf \
|
||||
${sysconfdir}/modules-load.d/8188eu.conf \
|
||||
"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/modprobe.d
|
||||
install -m 0644 ${WORKDIR}/realtek.conf ${D}${sysconfdir}/modprobe.d/
|
||||
|
||||
install -d ${D}${sysconfdir}/modules-load.d
|
||||
install -m 0644 ${WORKDIR}/8188eu.conf ${D}${sysconfdir}/modules-load.d/
|
||||
}
|
||||
19
recipes-kernel/rtl8188eus-mod/rtl8188eus-mod_5.3.9.bb
Normal file
19
recipes-kernel/rtl8188eus-mod/rtl8188eus-mod_5.3.9.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "rtl8188eus external Linux kernel module"
|
||||
DESCRIPTION = "${SUMMARY}"
|
||||
LICENSE = "CLOSED"
|
||||
|
||||
inherit module
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI = "git://github.com/aircrack-ng/rtl8188eus.git;protocol=https;branch=v5.3.9 \
|
||||
file://0001-makefile-rpi-config.patch \
|
||||
"
|
||||
SRCREV = "f8ead579311f7eb800e769a7fd216d0c5cb0c4a3"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# The inherit of module.bbclass will automatically name module packages with
|
||||
# "kernel-module-" prefix as required by the oe-core build environment.
|
||||
|
||||
RPROVIDES:${PN} += "kernel-module-rtl8188eus"
|
||||
@@ -1,3 +1,12 @@
|
||||
bogus-priv
|
||||
# requetes DHCP pour des baux inconnus par des hotes inconnus ne soient pas ignorees
|
||||
dhcp-authoritative
|
||||
dhcp-leasefile=/tmp/dhcp.leases
|
||||
# nom de domaine pour dnsmasq
|
||||
domain=kinehost.lan
|
||||
|
||||
interface=wlan0
|
||||
bind-dynamic
|
||||
dhcp-range=10.1.1.11,10.1.1.150,255.255.255.0,12h
|
||||
# active l'ip forwarding
|
||||
dhcp-option=19,1
|
||||
dhcp-range=10.1.1.100,10.1.1.150,255.255.255.0,24h
|
||||
|
||||
Reference in New Issue
Block a user