Initial Commit
- initial default booting image
This commit is contained in:
10
package/ugetty/Config.in
Normal file
10
package/ugetty/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_UGETTY
|
||||
bool "ugetty"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # std=c17
|
||||
help
|
||||
A minimal getty for embedded Linux that auto-detects the
|
||||
client and dispatches incoming serial connections to a login
|
||||
prompt, a PPP session, or the local SSH server as
|
||||
appropriate.
|
||||
|
||||
https://github.com/ryancdotorg/ugetty
|
||||
13
package/ugetty/Config.in.host
Normal file
13
package/ugetty/Config.in.host
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_HOST_UGETTY
|
||||
bool "host ugetty"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # std=c17
|
||||
help
|
||||
A minimal getty for embedded Linux that auto-detects the
|
||||
client and dispatches incoming serial connections to a login
|
||||
prompt, a PPP session, or the local SSH server as
|
||||
appropriate.
|
||||
|
||||
The host package builds only the "proxycommand" binary for
|
||||
use with SSH clients to connect to ugetty over serial.
|
||||
|
||||
https://github.com/ryancdotorg/ugetty
|
||||
6
package/ugetty/ugetty.hash
Normal file
6
package/ugetty/ugetty.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# Locally calculated
|
||||
sha256 302fe8a41eb8a752d08c82779f3c71b4b3060ddc48749a019135b0e649cde84c ugetty-f1b7858778800b7256e9874f266c1d16ced22a6e.tar.gz
|
||||
sha256 26738bf10eec3fef6ee16c1dadc9279444552d9a86ff96122809af0529a8fec7 LICENSE
|
||||
sha256 a3290942cbf3fc43da5569318ccaa1e7fc601c30f81e32e51a55f5157a030ae3 LICENSE.0BSD
|
||||
sha256 15efcf4646d41aabd27e0cba3cb205e28acf5159b905c028ebed883f64fbefea LICENSE.CC0
|
||||
sha256 0b230d23f22b80ffefcf65015f6e2308c2199dfaece79878b3ab13ad2577e685 LICENSE.MIT-0
|
||||
33
package/ugetty/ugetty.mk
Normal file
33
package/ugetty/ugetty.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# ugetty
|
||||
#
|
||||
################################################################################
|
||||
|
||||
UGETTY_VERSION = f1b7858778800b7256e9874f266c1d16ced22a6e
|
||||
UGETTY_SITE = $(call github,ryancdotorg,ugetty,$(UGETTY_VERSION))
|
||||
UGETTY_LICENSE = 0BSD or MIT or CC0-1.0
|
||||
UGETTY_LICENSE_FILES = LICENSE LICENSE.0BSD LICENSE.CC0 LICENSE.MIT-0
|
||||
|
||||
define UGETTY_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) bin/ugetty
|
||||
endef
|
||||
|
||||
# Install ugetty->getty symlink to ensure ugetty is used
|
||||
define UGETTY_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/bin/ugetty \
|
||||
$(TARGET_DIR)/sbin/ugetty
|
||||
ln -snf ugetty $(TARGET_DIR)/sbin/getty
|
||||
endef
|
||||
|
||||
define HOST_UGETTY_BUILD_CMDS
|
||||
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) bin/proxycommand
|
||||
endef
|
||||
|
||||
define HOST_UGETTY_INSTALL_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/bin/proxycommand \
|
||||
$(HOST_DIR)/bin/proxycommand
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user