-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #298 from hypnotoad/diverse-fixes
Diverse fixes
- Loading branch information
Showing
13 changed files
with
81 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/sh | ||
|
||
check_104() { | ||
# uid mapping changed for user ROBOPro | ||
if [ `id -g ROBOPro` != 1008 || `id -u ROBOPro` != 1004 ]; then | ||
deluser ROBOPro | ||
delgroup ROBOPro | ||
addgroup -g 1008 ROBOPro | ||
adduser -h /opt/fischertechnik -s /bin/sh -G ROBOPro -D -H -u 1004 ROBOPro | ||
adduser ROBOPro users | ||
adduser ROBOPro tty | ||
adduser ROBOPro video | ||
adduser ROBOPro audio | ||
adduser ROBOPro i2c | ||
fi | ||
} | ||
|
||
check_105() { | ||
# ntp user was newly introduced in buildroot 2023.02.3 | ||
if !id -u ntp; then | ||
adduser -s /bin/false -S -D -H -u 101 -G ntp ntp | ||
fi | ||
} | ||
|
||
case "$1" in | ||
start) | ||
check_104 | ||
check_105 | ||
;; | ||
esac | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
config BR2_PACKAGE_PYTHON_LIDAR | ||
bool "python-lidar" | ||
help | ||
VL53L0X Python interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# md5 locally extracted | ||
md5 5ba84b8189827015e405df9566176fe0 1.0.2.tar.gz | ||
md5 f3539974e62d9ae6a4bcb4425421d19e v1.0.4.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
################################################################################ | ||
# | ||
# python-lidar | ||
# | ||
################################################################################ | ||
|
||
PYTHON_LIDAR_VERSION = 1.0.4 | ||
PYTHON_LIDAR_SOURCE = v$(PYTHON_LIDAR_VERSION).tar.gz | ||
PYTHON_LIDAR_SITE = https://github.com/Gadgetoid/VL53L0X-python/archive/refs/tags | ||
#https://github.com/johnbryanmoore/VL53L0X_rasp_python/archive/refs/tags | ||
PYTHON_LIDAR_SETUP_TYPE = setuptools | ||
PYTHON_LIDAR_LICENSE = MIT | ||
PYTHON_LIDAR_LICENSE_FILES = LICENSE.rst | ||
|
||
$(eval $(python-package)) | ||
|
||
#define PYTHON_LIDAR_BUILD_CMDS | ||
# $(MAKE) $(TARGET_CONFIGURE_OPTS) PYTHON_INCLUDES= -C $(@D) all | ||
#endef | ||
#$(eval $(generic-package)) |