make[3]: *** No rule to make target 'generic-images', needed by '/home/ubuntu/git-program/test-openwrt/test/immortalwrt-imagebuilder-x86-64.Linux-x86_64/build_dir/target-x86_64_musl/linux-x86_64/tmp/immortalwrt-x86-64-generic-image.iso'. Stop.
make[2]: *** [Makefile:247: build_image] Error 2
make[1]: *** [Makefile:153: _call_image] Error 2
make: *** [Makefile:310:image] 错误 2
J3160% make info
Current Target: "x86/64"
Current Architecture: "x86_64"
Current Revision: "r31949-b8b8ccdf89"
Default Packages: base-files ca-bundle dropbear fstools libc libgcc libustream-openssl logd mtd netifd uci uclient-fetch urandom-seed urngd alsa-utils partx-utils mkf2fs fdisk kmod-button-hotplug kmod-usb-hid kmod-e1000e kmod-i40e kmod-igb kmod-igbvf kmod-igc kmod-ixgbe kmod-ixgbevf kmod-pcnet32 kmod-tulip kmod-vmxnet3 kmod-r8101 kmod-r8125 kmod-r8126 kmod-r8168 kmod-8139cp kmod-8139too kmod-fs-f2fs kmod-ac97 kmod-sound-hda-core kmod-sound-hda-codec-realtek kmod-sound-hda-codec-via kmod-sound-via82xx kmod-sound-hda-intel kmod-sound-hda-codec-hdmi kmod-sound-i8x0 kmod-usb-audio kmod-usb-net kmod-usb-net-asix kmod-usb-net-asix-ax88179 kmod-usb-net-rtl8150 kmod-usb-net-rtl8152-vendor grub2-bios-setup intel-igpu-firmware-dmc automount opkg busybox procd procd-ujail procd-seccomp dnsmasq-full firewall4 nftables kmod-nft-offload ipv6helper ppp ppp-mod-pppoe
Available Profiles:
generic:
Generic x86/64
Packages: kmod-amazon-ena kmod-amd-xgbe kmod-bnx2 kmod-e1000 kmod-dwmac-intel kmod-forcedeth kmod-fs-vfat kmod-tg3
hasImageMetadata: 0
* opkg_install_cmd: Cannot install package luci-i18n-filetransfer-zh-cn.
* opkg_install_cmd: Cannot install package luci-i18n-turboacc-zh-cn.
* opkg_install_cmd: Cannot install package luci-app-fileassistant.
* opkg_install_cmd: Cannot install package luci-app-filetransfer.
* opkg_install_cmd: Cannot install package luci-app-gowebdav.
* opkg_install_cmd: Cannot install package luci-app-n2n_v2.
* opkg_install_cmd: Cannot install package luci-app-samba.
* opkg_install_cmd: Cannot install package luci-app-serverchan.
* opkg_install_cmd: Cannot install package luci-app-ssr-plus.
* opkg_install_cmd: Cannot install package luci-app-webadmin.
* opkg_install_cmd: Cannot install package luci-app-wireguard.
* opkg_install_cmd: Cannot install package luci-app-wrtbwmon.
* opkg_install_cmd: Cannot install package luci-i18n-gowebdav-zh-cn.
* opkg_install_cmd: Cannot install package luci-i18n-n2n_v2-zh-cn.
* opkg_install_cmd: Cannot install package luci-i18n-samba-zh-cn.
* opkg_install_cmd: Cannot install package luci-i18n-ssr-plus-zh-cn.
* opkg_install_cmd: Cannot install package luci-i18n-webadmin-zh-cn.
* opkg_install_cmd: Cannot install package luci-i18n-wireguard-zh-cn.
* opkg_install_cmd: Cannot install package luci-i18n-wrtbwmon-zh-cn.
* opkg_install_cmd: Cannot install package luci-theme-argonv3.
* opkg_install_cmd: Cannot install package ddns-scripts_dnspod.
make[2]: *** [Makefile:220: package_install] Error 255
make[1]: *** [Makefile:151: _call_image] Error 2
因为.config中没有配置允许生成,同时作者原始的编译文件中也不会存在rootfs.tar.gz,例如https://downloads.immortalwrt.org/snapshots/targets/bcm27xx/bcm2710/ 不存在rootfs.tar.gz
.config文件中将# CONFIG_TARGET_ROOTFS_TARGZ is not set
改为CONFIG_TARGET_ROOTFS_TARGZ=y
参考链接:https://github.com/immortalwrt/immortalwrt/discussions/1502
- opkg_install_cmd: Cannot install package kmod-amazon-ena. 622
- opkg_install_cmd: Cannot install package kmod-bcmgenet. 623
- opkg_install_cmd: Cannot install package kmod-dwmac-imx. 624
- opkg_install_cmd: Cannot install package kmod-dwmac-rockchip. 625
- opkg_install_cmd: Cannot install package kmod-dwmac-sun8i. 626
- opkg_install_cmd: Cannot install package kmod-fsl-dpaa1-net. 627
- opkg_install_cmd: Cannot install package kmod-fsl-dpaa2-net. 628
- opkg_install_cmd: Cannot install package kmod-fsl-enetc-net. 629
- opkg_install_cmd: Cannot install package kmod-fsl-fec. 630
- opkg_install_cmd: Cannot install package kmod-mvneta. 631
- opkg_install_cmd: Cannot install package kmod-mvpp2. 632
- opkg_install_cmd: Cannot install package kmod-octeontx2-net. 633
- opkg_install_cmd: Cannot install package kmod-renesas-net-avb. 634
- opkg_install_cmd: Cannot install package kmod-thunderx-net. 635 make[2]: *** [Makefile:220: package_install] Error 255 636 make[1]: *** [Makefile:151: _call_image] Error 2 637 make: *** [Makefile:310: image] Error 2
解决方法:关闭privileged模式