RADIUSdesk

logo

This is an old revision of the document!


Prepare OpenWRT 22.03.x on Ubuntu 22.04

Prepare The System

  • This page will cover the preparation work for you to be able to build OpenWRT with the MESHdesk packages included.
  • The SDK and build process will require ~30-40G of hard drive space.
  • Install the required packages to ensure the SDK can build the firmware.
sudo apt-get update
sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl unzip mercurial
  • Create the location for the SDK
  • Our suggestion is to create a folder that will indicate the version of the firmware you'll be building.
  • Here we create a folder for the 22.03.0 release.
# Create the working directory 
mkdir 22.03.0
# Change to our working directory 
cd 22.03.0

Checkout the SDK

  • Do a clean checkout of the OpenWRT repository.
git clone https://git.openwrt.org/openwrt/openwrt.git
  • This repository has various branches. To see which branches are available and which one we are currently set to use, issue the following command.
#We may first need to change our directory to the openwrt directory
cd openwrt
git branch -a
#Also to see the tags 
git tag -l
  • We will be checking out the v22.03.0 tag.
git checkout v22.03.0
  • Confirm that this v22.03.0 is now checked out.
git branch
  • Update the package feeds.
./scripts/feeds update