target/imagebuilder: add help text and rename whatdepends to package_whatdepens
Add the command `package_whatdepends` to show all package that have a dependency to this packages. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
		 Florian Eckert
					Florian Eckert
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							c75a565d2c
						
					
				
				
					commit
					744a5ab9ce
				
			| @@ -36,6 +36,7 @@ Available Commands: | |||||||
| 	clean:	Remove images and temporary build files | 	clean:	Remove images and temporary build files | ||||||
| 	image:	Build an image (see below for more information). | 	image:	Build an image (see below for more information). | ||||||
| 	manifest: Show all package that will be installed into the image | 	manifest: Show all package that will be installed into the image | ||||||
|  | 	package_whatdepends: Show which packages have a dependency on this | ||||||
| 	package_depends: Show installation dependency of the package | 	package_depends: Show installation dependency of the package | ||||||
|  |  | ||||||
| image: | image: | ||||||
| @@ -59,6 +60,13 @@ manifest: | |||||||
| 	make manifest PACKAGES="<pkg1> [<pkg2> [<pkg3> ...]]" # include extra packages | 	make manifest PACKAGES="<pkg1> [<pkg2> [<pkg3> ...]]" # include extra packages | ||||||
| 	make manifest STRIP_ABI=1 # remove ABI version from printed package names | 	make manifest STRIP_ABI=1 # remove ABI version from printed package names | ||||||
|  |  | ||||||
|  |  | ||||||
|  | package_whatdepends: | ||||||
|  | 	List "all" packages that have a dependency on this package | ||||||
|  | 	You can use the following parameters: | ||||||
|  |  | ||||||
|  | 	make package_whatdepends PACKAGE="<pkg>" | ||||||
|  |  | ||||||
| package_depends: | package_depends: | ||||||
| 	List "all" packages dependency of the package | 	List "all" packages dependency of the package | ||||||
| 	You can use the following parameters: | 	You can use the following parameters: | ||||||
| @@ -263,7 +271,7 @@ manifest: FORCE | |||||||
| 		$(if $(PROFILE),USER_PROFILE="$(PROFILE_FILTER)") \ | 		$(if $(PROFILE),USER_PROFILE="$(PROFILE_FILTER)") \ | ||||||
| 		$(if $(PACKAGES),USER_PACKAGES="$(PACKAGES)")) | 		$(if $(PACKAGES),USER_PACKAGES="$(PACKAGES)")) | ||||||
|  |  | ||||||
| whatdepends: FORCE | package_whatdepends: FORCE | ||||||
| ifeq ($(PACKAGE),) | ifeq ($(PACKAGE),) | ||||||
| 	@echo 'Variable `PACKAGE` is not set but required by `whatdepends`' | 	@echo 'Variable `PACKAGE` is not set but required by `whatdepends`' | ||||||
| 	@exit 1 | 	@exit 1 | ||||||
| @@ -280,4 +288,4 @@ endif | |||||||
| 	@$(OPKG) depends -A $(PACKAGE) | 	@$(OPKG) depends -A $(PACKAGE) | ||||||
|  |  | ||||||
|  |  | ||||||
| .SILENT: help info image manifest whatdepends package_depends | .SILENT: help info image manifest package_whatdepends package_depends | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user