working!!

This commit is contained in:
Miguel Fuertes committed 2025-09-15 23:12:00 +02:00
1 parent d5b65bfe84
commit b19dc82f3f
5 files changed
+155 -535

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
FROM debian:bookworm-slim AS base
LABEL maintainer="OpenWrt Builder"
# Install required dependencies
COPY ./dependencies.sh /install_dependencies
RUN chmod +x /install_dependencies && \
/install_dependencies && \
rm -rf /install_dependencies
# Create a non-root user for building
RUN useradd -G sudo -m -u 1000 builder
USER builder
WORKDIR /home/builder
FROM base
RUN git clone --depth=1 https://github.com/openwrt/openwrt openwrt
COPY mods/ath.mk openwrt/package/kernel/mac80211/ath.mk
COPY mods/netdevices.mk openwrt/package/kernel/linux/modules/netdevices.mk
COPY mods/power openwrt/package/base-files/files/etc/rc.button/power
RUN openwrt/scripts/feeds update -a && \
openwrt/scripts/feeds install -a && \
rm -rf openwrt/tmp
CMD ["/bin/bash"]
+2 -2
View File
@@ -13,8 +13,8 @@ services:
builder:
build:
context: .
dockerfile: Dockerfile.immortalwrt
container_name: immortalwrt-builder
dockerfile: Dockerfile.openwrt
container_name: openwrt-builder
working_dir: /home/builder/openwrt
stdin_open: true
tty: true
+2 -2
View File
@@ -21,6 +21,7 @@ CONFIG_PACKAGE_libffi=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-ucode=y
CONFIG_PACKAGE_libmbim=y
CONFIG_PACKAGE_libncurses=y
CONFIG_PACKAGE_libpcre2=y
CONFIG_PACKAGE_libqmi=y
CONFIG_PACKAGE_libqrtr-glib=y
@@ -47,6 +48,7 @@ CONFIG_PACKAGE_rpcd-mod-iwinfo=y
CONFIG_PACKAGE_rpcd-mod-luci=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_rpcd-mod-ucode=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_ucode-mod-html=y
CONFIG_PACKAGE_ucode-mod-log=y
CONFIG_PACKAGE_ucode-mod-math=y
@@ -54,5 +56,3 @@ CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_uhttpd-mod-ubus=y
# CONFIG_TARGET_IMAGES_GZIP is not set
# CONFIG_TARGET_ROOTFS_SQUASHFS is not set
# CONFIG_PACKAGE_libncurses is not set
# CONFIG_PACKAGE_terminfo is not set
File diff suppressed because it is too large. Load diff
+1
View File
@@ -43,6 +43,7 @@ These are my attempts at building the os... my end goal is to build a working mo
$(eval $(call BuildPackage,foo))
```
- openwrt: enable wifi by default!
---
### Stuff
- The `msm8916-yiming-uz801v3.dtb` file is a prebuilt dtb extracted from one of the many OpenStick-Builder project living in Github.