From dc175eceac65b4ef0caf37b8e0902332d14b1402 Mon Sep 17 00:00:00 2001 From: Liron Navon Date: Mon, 13 Jan 2025 13:24:36 +0100 Subject: [PATCH] README: update sdk example --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fe76cd2..cdb775e 100644 --- a/README.md +++ b/README.md @@ -41,12 +41,18 @@ via CI. ### SDK Example ```shell -docker run --rm -v "$(pwd)"/bin/:/builder/bin -it openwrt/sdk -# inside the Docker container -./scripts/feeds update packages -make defconfig -./scripts/feeds install tmate -make package/tmate/{clean,compile} -j$(nproc) +$ docker run --rm -v "$(pwd)"/bin/:/builder/bin -it openwrt/sdk + +# inside the Docker container first run the setup script +$ ./setup.sh + +# update the packages and config +$ ./scripts/feeds update packages +$ make defconfig + +# now you can install packages from the feeds, for example: tmate +$ ./scripts/feeds install tmate +$ make package/tmate/{clean,compile} -j$(nproc) ``` Enjoy a local OpenWrt SDK container building the `tmate` package and but the