From a0606ab2460e4cf14b1df2fe79f2601a4cb12e28 Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Sat, 11 Jul 2020 16:08:30 -0700 Subject: [PATCH] Deterministic iso support (on supported filesystems) --- Makefile | 13 +- .../configs/airgap_librem13v4_defconfig | 488 +----------------- config/buildroot/rootfs_overlay/etc/inittab | 40 ++ config/container/packages.list | 21 +- scripts/environment | 4 + 5 files changed, 86 insertions(+), 480 deletions(-) create mode 100644 config/buildroot/rootfs_overlay/etc/inittab diff --git a/Makefile b/Makefile index 0cc66ce..6b200dd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,10 @@ NAME := airgap IMAGE := local/$(NAME):latest TARGET := librem13v4 +GIT_DATETIME := \ + $(shell git log -1 --format=%cd --date=format:'%Y-%m-%d %H:%M:%S') +GIT_EPOCH := $(shell git log -1 --format=%at) +OUT_DIR := build/buildroot/output/images docker = docker executables = $(docker) @@ -23,10 +27,9 @@ image: build: $(contain) build mkdir -p release/$(TARGET) - cp -R \ - build/buildroot/output/images/rootfs.iso9660 \ - release/$(TARGET)/airgap.iso - cp -R build/heads/build/$(TARGET)/coreboot.rom release/$(TARGET)/ + cp $(OUT_DIR)/rootfs.iso9660 release/$(TARGET)/airgap.iso + cp $(OUT_DIR)/rootfs.cpio release/$(TARGET)/initrd + cp $(OUT_DIR)/bzImage release/$(TARGET)/bzImage .PHONY: fetch fetch: @@ -86,6 +89,8 @@ contain := \ --hostname "$(NAME)" \ --user $(userid):$(groupid) \ --env TARGET=$(TARGET) \ + --env GIT_DATETIME="$(GIT_DATETIME)" \ + --env GIT_EPOCH="$(GIT_EPOCH)" \ --security-opt seccomp=unconfined \ --volume $(PWD)/build:/home/build/build \ --volume $(PWD)/config:/home/build/config \ diff --git a/config/buildroot/configs/airgap_librem13v4_defconfig b/config/buildroot/configs/airgap_librem13v4_defconfig index dfbb4cb..9dee9d9 100644 --- a/config/buildroot/configs/airgap_librem13v4_defconfig +++ b/config/buildroot/configs/airgap_librem13v4_defconfig @@ -317,25 +317,15 @@ BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y BR2_ROOTFS_DEVICE_TABLE="system/device_table.txt" # BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES is not set # BR2_ROOTFS_MERGED_USR is not set -BR2_TARGET_ENABLE_ROOT_LOGIN=y -BR2_TARGET_GENERIC_ROOT_PASSWD="airgap" -BR2_SYSTEM_BIN_SH_BUSYBOX=y -# BR2_SYSTEM_BIN_SH_BASH is not set +# BR2_TARGET_ENABLE_ROOT_LOGIN is not set +# BR2_SYSTEM_BIN_SH_BUSYBOX is not set +BR2_SYSTEM_BIN_SH_BASH=y # BR2_SYSTEM_BIN_SH_DASH is not set # BR2_SYSTEM_BIN_SH_MKSH is not set # BR2_SYSTEM_BIN_SH_ZSH is not set # BR2_SYSTEM_BIN_SH_NONE is not set -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="console" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP=y -# BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600 is not set -# BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200 is not set -# BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400 is not set -# BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600 is not set -# BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200 is not set -BR2_TARGET_GENERIC_GETTY_BAUDRATE="0" -BR2_TARGET_GENERIC_GETTY_TERM="vt100" -BR2_TARGET_GENERIC_GETTY_OPTIONS="" +BR2_SYSTEM_BIN_SH="bash" +# BR2_TARGET_GENERIC_GETTY is not set BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW=y BR2_SYSTEM_DHCP="" BR2_SYSTEM_DEFAULT_PATH="/bin:/sbin:/usr/bin:/usr/sbin" @@ -1148,7 +1138,10 @@ BR2_PACKAGE_SEDUTIL_ARCH_SUPPORTS=y # BR2_PACKAGE_STATSERIAL is not set # BR2_PACKAGE_STM32FLASH is not set # BR2_PACKAGE_SYSSTAT is not set -# BR2_PACKAGE_TARGETCLI_FB is not set + +# +# targetcli-fb depends on Python +# # # ti-sgx-libgbm needs udev and a toolchain w/ threads @@ -1245,451 +1238,7 @@ BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS=y # BR2_PACKAGE_PERL is not set # BR2_PACKAGE_PHP is not set # BR2_PACKAGE_PYTHON is not set -BR2_PACKAGE_PYTHON3=y -# BR2_PACKAGE_PYTHON3_PY_ONLY is not set -BR2_PACKAGE_PYTHON3_PYC_ONLY=y -# BR2_PACKAGE_PYTHON3_PY_PYC is not set - -# -# core python3 modules -# - -# -# The following modules are unusual or require extra libraries -# -# BR2_PACKAGE_PYTHON3_BZIP2 is not set -# BR2_PACKAGE_PYTHON3_CODECSCJK is not set -# BR2_PACKAGE_PYTHON3_CURSES is not set -# BR2_PACKAGE_PYTHON3_DECIMAL is not set -# BR2_PACKAGE_PYTHON3_OSSAUDIODEV is not set -# BR2_PACKAGE_PYTHON3_READLINE is not set -# BR2_PACKAGE_PYTHON3_SSL is not set -BR2_PACKAGE_PYTHON3_UNICODEDATA=y -# BR2_PACKAGE_PYTHON3_SQLITE is not set -# BR2_PACKAGE_PYTHON3_PYEXPAT is not set -# BR2_PACKAGE_PYTHON3_XZ is not set -# BR2_PACKAGE_PYTHON3_ZLIB is not set - -# -# External python modules -# -# BR2_PACKAGE_PYTHON_AENUM is not set -# BR2_PACKAGE_PYTHON_AIOBLESCAN is not set -# BR2_PACKAGE_PYTHON_AIOCOAP is not set -# BR2_PACKAGE_PYTHON_AIOCONSOLE is not set -# BR2_PACKAGE_PYTHON_AIODNS is not set -# BR2_PACKAGE_PYTHON_AIOHTTP is not set -# BR2_PACKAGE_PYTHON_AIOHTTP_CORS is not set -# BR2_PACKAGE_PYTHON_AIOHTTP_DEBUGTOOLBAR is not set -# BR2_PACKAGE_PYTHON_AIOHTTP_JINJA2 is not set -# BR2_PACKAGE_PYTHON_AIOHTTP_MAKO is not set -# BR2_PACKAGE_PYTHON_AIOHTTP_REMOTES is not set -# BR2_PACKAGE_PYTHON_AIOHTTP_SECURITY is not set -# BR2_PACKAGE_PYTHON_AIOHTTP_SESSION is not set -# BR2_PACKAGE_PYTHON_AIOHTTP_SSE is not set -# BR2_PACKAGE_PYTHON_AIOJOBS is not set -# BR2_PACKAGE_PYTHON_AIOLOGSTASH is not set -# BR2_PACKAGE_PYTHON_AIOMONITOR is not set -# BR2_PACKAGE_PYTHON_AIOREDIS is not set -# BR2_PACKAGE_PYTHON_AIORWLOCK is not set -# BR2_PACKAGE_PYTHON_AIOSIGNAL is not set -# BR2_PACKAGE_PYTHON_AIOZIPKIN is not set -# BR2_PACKAGE_PYTHON_ALSAAUDIO is not set -# BR2_PACKAGE_PYTHON_ARGH is not set -# BR2_PACKAGE_PYTHON_ARGON2_CFFI is not set -# BR2_PACKAGE_PYTHON_ARROW is not set -# BR2_PACKAGE_PYTHON_ASGIREF is not set -# BR2_PACKAGE_PYTHON_ASN1CRYPTO is not set -# BR2_PACKAGE_PYTHON_ASYNC_LRU is not set -# BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT is not set -# BR2_PACKAGE_PYTHON_ATTRS is not set - -# -# python-autobahn needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_AUTOMAT is not set -# BR2_PACKAGE_PYTHON_AVRO is not set -# BR2_PACKAGE_PYTHON_BABEL is not set -# BR2_PACKAGE_PYTHON_BACKCALL is not set -# BR2_PACKAGE_PYTHON_BCRYPT is not set -# BR2_PACKAGE_PYTHON_BEAUTIFULSOUP4 is not set -# BR2_PACKAGE_PYTHON_BITSTRING is not set -# BR2_PACKAGE_PYTHON_BLUEZERO is not set -# BR2_PACKAGE_PYTHON_BOTTLE is not set -# BR2_PACKAGE_PYTHON_BUNCH is not set -# BR2_PACKAGE_PYTHON_CACHED_PROPERTY is not set -# BR2_PACKAGE_PYTHON_CAN is not set -# BR2_PACKAGE_PYTHON_CANOPEN is not set -# BR2_PACKAGE_PYTHON_CBOR is not set -# BR2_PACKAGE_PYTHON_CBOR2 is not set - -# -# python-cchardet needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_CERTIFI is not set -# BR2_PACKAGE_PYTHON_CFFI is not set - -# -# python-channels needs a toolchain w/ C++ -# - -# -# python-channels-redis needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_CHARACTERISTIC is not set -# BR2_PACKAGE_PYTHON_CHARDET is not set -# BR2_PACKAGE_PYTHON_CHEETAH is not set -# BR2_PACKAGE_PYTHON_CHEROOT is not set -# BR2_PACKAGE_PYTHON_CHERRYPY is not set -# BR2_PACKAGE_PYTHON_CLICK is not set -# BR2_PACKAGE_PYTHON_COLORAMA is not set -# BR2_PACKAGE_PYTHON_COLORLOG is not set -# BR2_PACKAGE_PYTHON_CONFIGSHELL_FB is not set -# BR2_PACKAGE_PYTHON_CONSTANTLY is not set -# BR2_PACKAGE_PYTHON_COUCHDB is not set -# BR2_PACKAGE_PYTHON_CRCMOD is not set -# BR2_PACKAGE_PYTHON_CRONTAB is not set - -# -# python-crossbar needs a toolchain w/ C++ -# - -# -# python-cryptography needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_CSSSELECT is not set -# BR2_PACKAGE_PYTHON_CSSUTILS is not set -# BR2_PACKAGE_PYTHON_CYCLER is not set -# BR2_PACKAGE_PYTHON_DAEMON is not set -# BR2_PACKAGE_PYTHON_DAEMONIZE is not set - -# -# python-daphne needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_DATAPROPERTY is not set -# BR2_PACKAGE_PYTHON_DATEUTIL is not set -# BR2_PACKAGE_PYTHON_DECORATOR is not set -# BR2_PACKAGE_PYTHON_DIALOG3 is not set -# BR2_PACKAGE_PYTHON_DICTTOXML is not set -# BR2_PACKAGE_PYTHON_DJANGO is not set -# BR2_PACKAGE_PYTHON_DJANGO_ENUMFIELDS is not set -# BR2_PACKAGE_PYTHON_DNSPYTHON is not set -# BR2_PACKAGE_PYTHON_DOCKER is not set -# BR2_PACKAGE_PYTHON_DOCKER_PYCREDS is not set -# BR2_PACKAGE_PYTHON_DOCKERPTY is not set -# BR2_PACKAGE_PYTHON_DOCOPT is not set -# BR2_PACKAGE_PYTHON_DOCUTILS is not set -# BR2_PACKAGE_PYTHON_DOMINATE is not set -# BR2_PACKAGE_PYTHON_DPKT is not set -# BR2_PACKAGE_PYTHON_ECDSA is not set -# BR2_PACKAGE_PYTHON_ENGINEIO is not set -# BR2_PACKAGE_PYTHON_ENTRYPOINTS is not set -# BR2_PACKAGE_PYTHON_ESPTOOL is not set -# BR2_PACKAGE_PYTHON_FALCON is not set -# BR2_PACKAGE_PYTHON_FILELOCK is not set -# BR2_PACKAGE_PYTHON_FIRE is not set -# BR2_PACKAGE_PYTHON_FLASK is not set -# BR2_PACKAGE_PYTHON_FLASK_BABEL is not set -# BR2_PACKAGE_PYTHON_FLASK_CORS is not set -# BR2_PACKAGE_PYTHON_FLASK_JSONRPC is not set -# BR2_PACKAGE_PYTHON_FLASK_LOGIN is not set -# BR2_PACKAGE_PYTHON_FLASK_SQLALCHEMY is not set -# BR2_PACKAGE_PYTHON_FLATBUFFERS is not set -# BR2_PACKAGE_PYTHON_FROZENLIST is not set -# BR2_PACKAGE_PYTHON_FUTURE is not set -# BR2_PACKAGE_PYTHON_GITDB2 is not set - -# -# python-gobject needs a glibc toolchain, gcc >= 4.9 -# -# BR2_PACKAGE_PYTHON_GUNICORN is not set -# BR2_PACKAGE_PYTHON_H2 is not set -# BR2_PACKAGE_PYTHON_HIREDIS is not set -# BR2_PACKAGE_PYTHON_HPACK is not set -# BR2_PACKAGE_PYTHON_HTML5LIB is not set -# BR2_PACKAGE_PYTHON_HTTPLIB2 is not set -# BR2_PACKAGE_PYTHON_HUEPY is not set -# BR2_PACKAGE_PYTHON_HUMANIZE is not set -# BR2_PACKAGE_PYTHON_HYPERFRAME is not set -# BR2_PACKAGE_PYTHON_HYPERLINK is not set -# BR2_PACKAGE_PYTHON_IBMIOTF is not set -# BR2_PACKAGE_PYTHON_IDNA is not set -# BR2_PACKAGE_PYTHON_IFADDR is not set -# BR2_PACKAGE_PYTHON_INCREMENTAL is not set -# BR2_PACKAGE_PYTHON_INFLECTION is not set -# BR2_PACKAGE_PYTHON_INFLUXDB is not set -# BR2_PACKAGE_PYTHON_INIPARSE is not set -# BR2_PACKAGE_PYTHON_IOWAIT is not set -# BR2_PACKAGE_PYTHON_IPTABLES is not set -# BR2_PACKAGE_PYTHON_IPYTHON is not set -# BR2_PACKAGE_PYTHON_IPYTHON_GENUTILS is not set -# BR2_PACKAGE_PYTHON_ISO8601 is not set -# BR2_PACKAGE_PYTHON_ITSDANGEROUS is not set -# BR2_PACKAGE_PYTHON_JANUS is not set -# BR2_PACKAGE_PYTHON_JARACO_CLASSES is not set -# BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS is not set -# BR2_PACKAGE_PYTHON_JEDI is not set -# BR2_PACKAGE_PYTHON_JINJA2 is not set -# BR2_PACKAGE_PYTHON_JSON_SCHEMA_VALIDATOR is not set -# BR2_PACKAGE_PYTHON_JSONMODELS is not set -# BR2_PACKAGE_PYTHON_JSONSCHEMA is not set - -# -# python-keyring needs a toolchain w/ C++ -# - -# -# python-kiwisolver needs a toolchain w/ C++ -# - -# -# python-libconfig needs a glibc or uClibc toolchain w/ C++, threads -# -# BR2_PACKAGE_PYTHON_LIBUSB1 is not set -# BR2_PACKAGE_PYTHON_LMDB is not set -# BR2_PACKAGE_PYTHON_LOCKFILE is not set -# BR2_PACKAGE_PYTHON_LOGBOOK is not set -# BR2_PACKAGE_PYTHON_LOGSTASH is not set -# BR2_PACKAGE_PYTHON_LXML is not set -# BR2_PACKAGE_PYTHON_M2R is not set -# BR2_PACKAGE_PYTHON_MAKO is not set -# BR2_PACKAGE_PYTHON_MARKDOWN is not set -# BR2_PACKAGE_PYTHON_MARKDOWN2 is not set -# BR2_PACKAGE_PYTHON_MARKUPSAFE is not set - -# -# python-matplotlib needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_MBSTRDECODER is not set -# BR2_PACKAGE_PYTHON_MELD3 is not set -# BR2_PACKAGE_PYTHON_MIMEPARSE is not set -# BR2_PACKAGE_PYTHON_MISTUNE is not set -# BR2_PACKAGE_PYTHON_MODBUS_TK is not set -# BR2_PACKAGE_PYTHON_MORE_ITERTOOLS is not set -# BR2_PACKAGE_PYTHON_MSGFY is not set -# BR2_PACKAGE_PYTHON_MSGPACK is not set -# BR2_PACKAGE_PYTHON_MULTIDICT is not set -# BR2_PACKAGE_PYTHON_MUTAGEN is not set -# BR2_PACKAGE_PYTHON_MWCLIENT is not set - -# -# python-mwscrape2slob needs a toolchain w/ C++, gcc >= 4.8 -# -# BR2_PACKAGE_PYTHON_NESTED_DICT is not set -# BR2_PACKAGE_PYTHON_NETADDR is not set -# BR2_PACKAGE_PYTHON_NETIFACES is not set -# BR2_PACKAGE_PYTHON_NETWORKX is not set -BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS=y -# BR2_PACKAGE_PYTHON_NUMPY is not set -# BR2_PACKAGE_PYTHON_OAUTHLIB is not set -# BR2_PACKAGE_PYTHON_PAHO_MQTT is not set - -# -# python-paramiko needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_PARSO is not set -# BR2_PACKAGE_PYTHON_PASSLIB is not set -# BR2_PACKAGE_PYTHON_PATHPY is not set -# BR2_PACKAGE_PYTHON_PATHTOOLS is not set -# BR2_PACKAGE_PYTHON_PATHVALIDATE is not set -# BR2_PACKAGE_PYTHON_PERIPHERY is not set -# BR2_PACKAGE_PYTHON_PEXPECT is not set -# BR2_PACKAGE_PYTHON_PICKLESHARE is not set -# BR2_PACKAGE_PYTHON_PIGPIO is not set -# BR2_PACKAGE_PYTHON_PILLOW is not set -# BR2_PACKAGE_PYTHON_PIP is not set -# BR2_PACKAGE_PYTHON_PLY is not set -# BR2_PACKAGE_PYTHON_PORTEND is not set -# BR2_PACKAGE_PYTHON_POSIX_IPC is not set -# BR2_PACKAGE_PYTHON_PRIORITY is not set -# BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT is not set -# BR2_PACKAGE_PYTHON_PROTOBUF is not set -# BR2_PACKAGE_PYTHON_PSUTIL is not set -# BR2_PACKAGE_PYTHON_PSYCOPG2 is not set -# BR2_PACKAGE_PYTHON_PTYPROCESS is not set -# BR2_PACKAGE_PYTHON_PUDB is not set -# BR2_PACKAGE_PYTHON_PY is not set -# BR2_PACKAGE_PYTHON_PYAES is not set -# BR2_PACKAGE_PYTHON_PYALSA is not set -# BR2_PACKAGE_PYTHON_PYASN1 is not set -# BR2_PACKAGE_PYTHON_PYASN1_MODULES is not set -# BR2_PACKAGE_PYTHON_PYCAIRO is not set -# BR2_PACKAGE_PYTHON_PYCARES is not set -# BR2_PACKAGE_PYTHON_PYCLI is not set -# BR2_PACKAGE_PYTHON_PYCPARSER is not set -# BR2_PACKAGE_PYTHON_PYCRYPTODOMEX is not set -# BR2_PACKAGE_PYTHON_PYDAL is not set -# BR2_PACKAGE_PYTHON_PYDANTIC is not set -# BR2_PACKAGE_PYTHON_PYELFTOOLS is not set -# BR2_PACKAGE_PYTHON_PYFTPDLIB is not set -# BR2_PACKAGE_PYTHON_PYGAME is not set -# BR2_PACKAGE_PYTHON_PYGMENTS is not set -# BR2_PACKAGE_PYTHON_PYHAMCREST is not set - -# -# python-pyicu needs a toolchain w/ C++, gcc >= 4.8 -# -# BR2_PACKAGE_PYTHON_PYINOTIFY is not set -# BR2_PACKAGE_PYTHON_PYJWT is not set -# BR2_PACKAGE_PYTHON_PYLIBFTDI is not set -# BR2_PACKAGE_PYTHON_PYLRU is not set -# BR2_PACKAGE_PYTHON_PYMODBUS is not set -# BR2_PACKAGE_PYTHON_PYMYSQL is not set -# BR2_PACKAGE_PYTHON_PYNACL is not set - -# -# python-pyopenssl needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_PYPARSING is not set -# BR2_PACKAGE_PYTHON_PYPARTED is not set -# BR2_PACKAGE_PYTHON_PYQRCODE is not set - -# -# python-pyqt5 needs Qt5 -# -# BR2_PACKAGE_PYTHON_PYRATEMP is not set -# BR2_PACKAGE_PYTHON_PYROUTE2 is not set -# BR2_PACKAGE_PYTHON_PYSENDFILE is not set -# BR2_PACKAGE_PYTHON_PYSFTP is not set - -# -# python-pysmb needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_PYSMI is not set -# BR2_PACKAGE_PYTHON_PYSNMP is not set - -# -# python-pysnmp-libs needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_PYSOCKS is not set -# BR2_PACKAGE_PYTHON_PYTABLEREADER is not set -# BR2_PACKAGE_PYTHON_PYTABLEWRITER is not set -# BR2_PACKAGE_PYTHON_PYTRIE is not set -# BR2_PACKAGE_PYTHON_PYTZ is not set - -# -# python-pyudev needs udev /dev management -# -# BR2_PACKAGE_PYTHON_PYUSB is not set -# BR2_PACKAGE_PYTHON_PYXB is not set -# BR2_PACKAGE_PYTHON_PYYAML is not set -# BR2_PACKAGE_PYTHON_RAVEN is not set -# BR2_PACKAGE_PYTHON_REDIS is not set -# BR2_PACKAGE_PYTHON_REENTRY is not set -# BR2_PACKAGE_PYTHON_REGEX is not set -# BR2_PACKAGE_PYTHON_REMI is not set -# BR2_PACKAGE_PYTHON_REQUEST_ID is not set -# BR2_PACKAGE_PYTHON_REQUESTS is not set -# BR2_PACKAGE_PYTHON_REQUESTS_OAUTHLIB is not set -# BR2_PACKAGE_PYTHON_REQUESTS_TOOLBELT is not set -# BR2_PACKAGE_PYTHON_RPI_WS281X is not set -# BR2_PACKAGE_PYTHON_RTSLIB_FB is not set -# BR2_PACKAGE_PYTHON_SCANDIR is not set -# BR2_PACKAGE_PYTHON_SCAPY is not set -# BR2_PACKAGE_PYTHON_SCHEDULE is not set -# BR2_PACKAGE_PYTHON_SDNOTIFY is not set - -# -# python-secretstorage needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_SEE is not set -# BR2_PACKAGE_PYTHON_SEMVER is not set -# BR2_PACKAGE_PYTHON_SENTRY_SDK is not set -# BR2_PACKAGE_PYTHON_SERIAL is not set -# BR2_PACKAGE_PYTHON_SERIAL_ASYNCIO is not set - -# -# python-service-identify needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_SETPROCTITLE is not set -# BR2_PACKAGE_PYTHON_SETUPTOOLS is not set -# BR2_PACKAGE_PYTHON_SH is not set -# BR2_PACKAGE_PYTHON_SHUTILWHICH is not set -# BR2_PACKAGE_PYTHON_SIMPLEAUDIO is not set -# BR2_PACKAGE_PYTHON_SIMPLEGENERIC is not set -# BR2_PACKAGE_PYTHON_SIMPLEJSON is not set -# BR2_PACKAGE_PYTHON_SIMPLELOGGING is not set -# BR2_PACKAGE_PYTHON_SIMPLESQLITE is not set -# BR2_PACKAGE_PYTHON_SIX is not set - -# -# python-slob needs a toolchain w/ C++, gcc >= 4.8 -# -# BR2_PACKAGE_PYTHON_SMBUS_CFFI is not set -# BR2_PACKAGE_PYTHON_SMMAP2 is not set - -# -# python-snappy needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_SOCKETIO is not set -# BR2_PACKAGE_PYTHON_SOCKJS is not set -# BR2_PACKAGE_PYTHON_SORTEDCONTAINERS is not set -# BR2_PACKAGE_PYTHON_SOUPSIEVE is not set -# BR2_PACKAGE_PYTHON_SPIDEV is not set -# BR2_PACKAGE_PYTHON_SQLALCHEMY is not set -# BR2_PACKAGE_PYTHON_SQLITESCHEMA is not set -# BR2_PACKAGE_PYTHON_SQLPARSE is not set - -# -# python-systemd needs systemd -# -# BR2_PACKAGE_PYTHON_TABLEDATA is not set -# BR2_PACKAGE_PYTHON_TEMPORA is not set -# BR2_PACKAGE_PYTHON_TERMCOLOR is not set -# BR2_PACKAGE_PYTHON_TERMINALTABLES is not set -# BR2_PACKAGE_PYTHON_TEXTTABLE is not set -# BR2_PACKAGE_PYTHON_THRIFT is not set -# BR2_PACKAGE_PYTHON_TINYRPC is not set -# BR2_PACKAGE_PYTHON_TOMAKO is not set -# BR2_PACKAGE_PYTHON_TOML is not set -# BR2_PACKAGE_PYTHON_TORNADO is not set -# BR2_PACKAGE_PYTHON_TQDM is not set -# BR2_PACKAGE_PYTHON_TRAITLETS is not set - -# -# python-treq needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_TWISTED is not set -# BR2_PACKAGE_PYTHON_TXAIO is not set -# BR2_PACKAGE_PYTHON_TXDBUS is not set - -# -# python-txtorcon needs a toolchain w/ C++ -# -# BR2_PACKAGE_PYTHON_TYPEPY is not set -# BR2_PACKAGE_PYTHON_U_MSGPACK is not set -# BR2_PACKAGE_PYTHON_UBJSON is not set -# BR2_PACKAGE_PYTHON_UJSON is not set -# BR2_PACKAGE_PYTHON_URLLIB3 is not set -# BR2_PACKAGE_PYTHON_URWID is not set -# BR2_PACKAGE_PYTHON_UVLOOP is not set -# BR2_PACKAGE_PYTHON_VALIDATORS is not set -# BR2_PACKAGE_PYTHON_VERSIONTOOLS is not set -# BR2_PACKAGE_PYTHON_VISITOR is not set -# BR2_PACKAGE_PYTHON_WATCHDOG is not set -# BR2_PACKAGE_PYTHON_WCWIDTH is not set -# BR2_PACKAGE_PYTHON_WEB2PY is not set -# BR2_PACKAGE_PYTHON_WEBENCODINGS is not set -# BR2_PACKAGE_PYTHON_WEBOB is not set -# BR2_PACKAGE_PYTHON_WEBPY is not set -# BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT is not set -# BR2_PACKAGE_PYTHON_WEBSOCKETS is not set -# BR2_PACKAGE_PYTHON_WERKZEUG is not set -# BR2_PACKAGE_PYTHON_WHOOSH is not set -# BR2_PACKAGE_PYTHON_WRAPT is not set -# BR2_PACKAGE_PYTHON_WS4PY is not set -# BR2_PACKAGE_PYTHON_WSACCEL is not set -# BR2_PACKAGE_PYTHON_WTFORMS is not set -# BR2_PACKAGE_PYTHON_XLIB is not set -# BR2_PACKAGE_PYTHON_XLRD is not set -# BR2_PACKAGE_PYTHON_XLSXWRITER is not set -# BR2_PACKAGE_PYTHON_XLUTILS is not set -# BR2_PACKAGE_PYTHON_XLWT is not set -# BR2_PACKAGE_PYTHON_XMLTODICT is not set -# BR2_PACKAGE_PYTHON_YARL is not set -# BR2_PACKAGE_PYTHON_ZC_LOCKFILE is not set -# BR2_PACKAGE_PYTHON_ZEROCONF is not set -# BR2_PACKAGE_PYTHON_ZOPE_INTERFACE is not set +# BR2_PACKAGE_PYTHON3 is not set # BR2_PACKAGE_RUBY is not set # BR2_PACKAGE_TCL is not set @@ -2780,6 +2329,10 @@ BR2_PACKAGE_CANFESTIVAL_ARCH_SUPPORTS=y # # BR2_PACKAGE_GMP is not set +# +# gobject-introspection needs python3 +# + # # gobject-introspection needs a glibc toolchain, gcc >= 4.9 # @@ -3149,7 +2702,6 @@ BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET=y # # BR2_PACKAGE_ETHTOOL is not set # BR2_PACKAGE_FAIFA is not set -# BR2_PACKAGE_FAIL2BAN is not set # BR2_PACKAGE_FASTD is not set # BR2_PACKAGE_FCGIWRAP is not set # BR2_PACKAGE_FLANNEL is not set @@ -3369,7 +2921,6 @@ BR2_PACKAGE_IFUPDOWN_SCRIPTS=y # BR2_PACKAGE_SHELLINABOX is not set # BR2_PACKAGE_SMCROUTE is not set # BR2_PACKAGE_SNGREP is not set -# BR2_PACKAGE_SNMPCLITOOLS is not set # BR2_PACKAGE_SNORT is not set # BR2_PACKAGE_SOCAT is not set # BR2_PACKAGE_SOCKETCAND is not set @@ -3542,7 +3093,6 @@ BR2_PACKAGE_BASH=y # BR2_PACKAGE_AT is not set # BR2_PACKAGE_BASH_COMPLETION is not set # BR2_PACKAGE_CCRYPT is not set -# BR2_PACKAGE_CRUDINI is not set BR2_PACKAGE_DIALOG=y # BR2_PACKAGE_DTACH is not set # BR2_PACKAGE_EASY_RSA is not set @@ -3625,7 +3175,10 @@ BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS=y # BR2_PACKAGE_HTOP is not set # BR2_PACKAGE_IBM_SW_TPM2 is not set BR2_PACKAGE_INITSCRIPTS=y -# BR2_PACKAGE_IOTOP is not set + +# +# iotop depends on python or python3 +# # BR2_PACKAGE_IPRUTILS is not set # BR2_PACKAGE_IRQBALANCE is not set # BR2_PACKAGE_JAILHOUSE is not set @@ -3684,7 +3237,10 @@ BR2_PACKAGE_PWGEN=y # # BR2_PACKAGE_SMACK is not set # BR2_PACKAGE_START_STOP_DAEMON is not set -# BR2_PACKAGE_SUPERVISOR is not set + +# +# supervisor needs a python interpreter +# # BR2_PACKAGE_SWUPDATE is not set # BR2_PACKAGE_SYSKLOGD is not set # BR2_PACKAGE_SYSLOG_NG is not set diff --git a/config/buildroot/rootfs_overlay/etc/inittab b/config/buildroot/rootfs_overlay/etc/inittab new file mode 100644 index 0000000..d66c906 --- /dev/null +++ b/config/buildroot/rootfs_overlay/etc/inittab @@ -0,0 +1,40 @@ +# /etc/inittab +# +# Copyright (C) 2001 Erik Andersen +# +# Note: BusyBox init doesn't support runlevels. The runlevels field is +# completely ignored by BusyBox init. If you want runlevels, use +# sysvinit. +# +# Format for each entry: ::: +# +# id == tty to run on, or empty for /dev/console +# runlevels == ignored +# action == one of sysinit, respawn, askfirst, wait, and once +# process == program to run + +# Startup the system +::sysinit:/bin/mount -t proc proc /proc +::sysinit:/bin/mount -o remount,rw / +::sysinit:/bin/mkdir -p /dev/pts /dev/shm +::sysinit:/bin/mount -a +::sysinit:/sbin/swapon -a +null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd +null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin +null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout +null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr +::sysinit:/bin/hostname -F /etc/hostname +# now run any rc scripts +::sysinit:/etc/init.d/rcS + +# Put a getty on the serial port +#console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL +::respawn:-/bin/bash + +# Stuff to do for the 3-finger salute +#::ctrlaltdel:/sbin/reboot + +# Stuff to do before rebooting +::shutdown:/etc/init.d/rcK +::shutdown:/sbin/swapoff -a +::shutdown:/bin/umount -a -r diff --git a/config/container/packages.list b/config/container/packages.list index 9576dac..bc57f0d 100644 --- a/config/container/packages.list +++ b/config/container/packages.list @@ -100,7 +100,7 @@ exim4-daemon-light=4.92-8+deb10u4 extlinux=3:6.04~git20190206.bf6db5b4+dfsg1-1 fakeroot=1.23-1 fdisk=2.33.1-0.1 -ffmpeg=7:4.1.4-1~deb10u1 +ffmpeg=7:4.1.6-1~deb10u1 file=1:5.35-4+deb10u1 findutils=4.6.0+git+20190209-2 firmware-linux-free=3.4 @@ -246,12 +246,12 @@ libavahi-client3:amd64=0.7-4+b1 libavahi-common-data:amd64=0.7-4+b1 libavahi-common3:amd64=0.7-4+b1 libavc1394-0:amd64=0.5.4-5 -libavcodec58:amd64=7:4.1.4-1~deb10u1 -libavdevice58:amd64=7:4.1.4-1~deb10u1 -libavfilter7:amd64=7:4.1.4-1~deb10u1 -libavformat58:amd64=7:4.1.4-1~deb10u1 -libavresample4:amd64=7:4.1.4-1~deb10u1 -libavutil56:amd64=7:4.1.4-1~deb10u1 +libavcodec58:amd64=7:4.1.6-1~deb10u1 +libavdevice58:amd64=7:4.1.6-1~deb10u1 +libavfilter7:amd64=7:4.1.6-1~deb10u1 +libavformat58:amd64=7:4.1.6-1~deb10u1 +libavresample4:amd64=7:4.1.6-1~deb10u1 +libavutil56:amd64=7:4.1.6-1~deb10u1 libbdplus0:amd64=0.1.2-3 libbinutils:amd64=2.31.1-16 libbison-dev:amd64=2:3.3.2.dfsg-1 @@ -347,6 +347,7 @@ libexif12:amd64=0.6.21-5.1+deb10u1 libexpat1:amd64=2.2.6-2+deb10u1 libext2fs2:amd64=1.44.5-1+deb10u3 libfakeroot:amd64=1.23-1 +libfaketime:amd64=0.9.7-3 libfdisk1:amd64=2.33.1-0.1 libfdt1:amd64=1.4.7-3 libffi-dev:amd64=3.2.1-9 @@ -624,7 +625,7 @@ libpolkit-gobject-1-0:amd64=0.105-25 libpoppler-glib8:amd64=0.71.0-5 libpoppler82:amd64=0.71.0-5 libpopt0:amd64=1.16-12 -libpostproc55:amd64=7:4.1.4-1~deb10u1 +libpostproc55:amd64=7:4.1.6-1~deb10u1 libprocps7:amd64=2:3.3.15-2 libprocyon-java=0.5.32-5 libprotobuf-lite17:amd64=3.6.1.3-2 @@ -720,8 +721,8 @@ libstdc++-8-dev:amd64=8.3.0-6 libstdc++6:amd64=8.3.0-6 libstringtemplate-java=3.2.1-2 libsuitesparseconfig5:amd64=1:5.4.0+dfsg-1 -libswresample3:amd64=7:4.1.4-1~deb10u1 -libswscale5:amd64=7:4.1.4-1~deb10u1 +libswresample3:amd64=7:4.1.6-1~deb10u1 +libswscale5:amd64=7:4.1.6-1~deb10u1 libsynctex2:amd64=2018.20181218.49446-1 libsystemd0:amd64=241-7~deb10u4 libtag1v5:amd64=1.11.1+dfsg.1-0.3+deb10u1 diff --git a/scripts/environment b/scripts/environment index 262b070..f4581a9 100755 --- a/scripts/environment +++ b/scripts/environment @@ -10,3 +10,7 @@ export BR2_EXTERNAL="${HOME}/config/buildroot" export RELEASE_DIR="${HOME}/release" export BUILDROOT_REPO=git://git.busybox.net/buildroot export HEADS_REPO=https://source.puri.sm/coreboot/purism-heads.git +export FAKETIME="@${GIT_DATETIME?}" +export SOURCE_DATE_EPOCH="${GIT_EPOCH?}" +export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1 +export ROOTFS_ISO9660_GENISOIMAGE_OPTS="-creation-date=${GIT_EPOCH} "