Skip to content

Rebuild OpenWrt kernel with BPF and BTF support enabled

Notifications You must be signed in to change notification settings

fantastic-packages/rebuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rebuild

How to clone this project

umask 022
git clone --branch conf --single-branch --no-tags --recurse-submodules https://github.com/fantastic-packages/rebuild.git fantastic_rebuild

Something is wrong with ImageBuilder. You need to execute the following code to fix it.

REPO=fantastic-packages/rebuild
VERSION=<openwrt-imagebuilder-version> # e.g. 23.05.3
TARGET=<openwrt-imagebuilder-target> # e.g. x86
SUBTARGET=<openwrt-imagebuilder-subtarget> # e.g. 64
TARGETBRANCH=$VERSION-$TARGET-$SUBTARGET
sed -i "/src\/gz rebuild_core /{ \
	s|downloads.openwrt.org/releases/$VERSION|github.com/$REPO/raw/$TARGETBRANCH| \
}" repositories.conf

OR

Expand/Collapse
REPO=fantastic-packages/rebuild
VERSION=<openwrt-imagebuilder-version> # e.g. 23.05.3
TARGET=<openwrt-imagebuilder-target> # e.g. x86
SUBTARGET=<openwrt-imagebuilder-subtarget> # e.g. 64
TARGETBRANCH=$VERSION-$TARGET-$SUBTARGET
sed -i "/src\/gz rebuild_core /{ \
	s|downloads.openwrt.org/releases/$VERSION|fastly.jsdelivr.net/gh/$REPO@$TARGETBRANCH| \
}" repositories.conf

Something is wrong with system image. You need to execute the following code to fix it.

REPO=fantastic-packages/rebuild
VERSION=<openwrt-imagebuilder-version> # e.g. 23.05.3
TARGET=<openwrt-imagebuilder-target> # e.g. x86
SUBTARGET=<openwrt-imagebuilder-subtarget> # e.g. 64
TARGETBRANCH=$VERSION-$TARGET-$SUBTARGET
sed -i "/src\/gz rebuild_core /{ \
	s|downloads.openwrt.org/releases/$VERSION|github.com/$REPO/raw/$TARGETBRANCH| \
}" /etc/opkg/distfeeds.conf

OR

Expand/Collapse
REPO=fantastic-packages/rebuild
VERSION=<openwrt-imagebuilder-version> # e.g. 23.05.3
TARGET=<openwrt-imagebuilder-target> # e.g. x86
SUBTARGET=<openwrt-imagebuilder-subtarget> # e.g. 64
TARGETBRANCH=$VERSION-$TARGET-$SUBTARGET
sed -i "/src\/gz rebuild_core /{ \
	s|downloads.openwrt.org/releases/$VERSION|fastly.jsdelivr.net/gh/$REPO@$TARGETBRANCH| \
}" /etc/opkg/distfeeds.conf

About

Rebuild OpenWrt kernel with BPF and BTF support enabled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published