Hi I get the below error when trying to greate a manifest would any one have an idea what may be wrong?
make: *** [/home/professor_jonny/openwrt/include/toplevel.mk:236: manifest] Error 2
hnyman
November 23, 2020, 12:55pm
#2
To my knowledge, manifest is created at the end of the image creation process, but is not a separate make target in the main buildsystem.
$(call Image/InstallKernel) $(foreach device,$(TARGET_DEVICES),$(call Device,$(device))) install-images: kernel_prepare $(foreach fs,$(filter-out $(if $(UBIFS_OPTS),,ubifs),$(TARGET_FILESYSTEMS) $(fs-subtypes-y)),$(KDIR)/root.$(fs)) $(foreach fs,$(TARGET_FILESYSTEMS), $(call Image/Build,$(fs)) ) install: install-images $(call Image/Manifest) endef
Looks like there is "make manifest" for the imagebuilder, but that is a different thing than compiling from sources via full toolchain.
to change that: make image PROFILE="<profilename>" # override the default target profile make image PACKAGES="<pkg1> [<pkg2> [<pkg3> ...]]" # include extra packages make image FILES="<path>" # include extra files from <path> make image BIN_DIR="<path>" # alternative output directory for the images make image EXTRA_IMAGE_NAME="<string>" # Add this to the output image filename (sanitized) make image DISABLED_SERVICES="<svc1> [<svc2> [<svc3> ..]]" # Which services in /etc/init.d/ should be disabled make image ADD_LOCAL_KEY=1 # store locally generated signing key in built images Print manifest: List "all" packages which get installed into the image. You can use the following parameters: make manifest PROFILE="<profilename>" # override the default target profile make manifest PACKAGES="<pkg1> [<pkg2> [<pkg3> ...]]" # include extra packages endef $(eval $(call shexport,Helptext)) help: FORCE
1 Like
Ok cool so I have to build an image then create a manifest, I was thinking I could create a list of what is included before the process of creating an image that may be incorect for the target.
hnyman
November 23, 2020, 6:13pm
#4
If you use the full toolchain for the build, the manifest gets created automatically...
If you use the image builder, then you can make a manifest before the image.