LINUX.ORG.RU

Не могу собрать OpenWrt через image builder

 imagebuilder, , ,


0

1

Скачал image builder, собираю под мой девайс командой:

make clean
make image PROFILE="xiaomi_mir3g" PACKAGES="...lot_of_packages..."
Ругается на версию ядра и ничего не собирает. Пробовал месяц назад с таким же результатом. Сказали, что может подождать - вдруг что не собрали/обновили. Тогда было не срочно, а теперь - уже бы пора.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for firewall:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package firewall.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for ip6tables:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package ip6tables.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-cfg80211:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-cfg80211.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-crypto-crc32c:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-crypto-crc32c.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-ext4:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-fs-ext4.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-msdos:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-fs-msdos.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-nfs:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-fs-nfs.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-ntfs:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-fs-ntfs.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-gpio-button-hotplug:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-gpio-button-hotplug.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-offload:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-ipt-offload.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-leds-gpio:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-leds-gpio.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-lib-crc-ccitt:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-lib-crc-ccitt.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mac80211:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-mac80211.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mt76-core:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-mt76-core.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mt7603:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-mt7603.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mt76x02-common:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-mt76x02-common.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mt76x2:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-mt76x2.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ppp:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-ppp.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-pppoe:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-pppoe.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-scsi-core:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-scsi-core.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-tun:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-tun.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-core:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-usb-core.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-ledtrig-usbport:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-usb-ledtrig-usbport.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-usb-storage.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb3:
 *      kernel (= 4.14.123-1-0f2b58b95a3589aa65a03b0bc6e81695)
 * opkg_install_cmd: Cannot install package kmod-usb3.
make[2]: *** [Makefile:155: package_install] Error 255
make[1]: *** [Makefile:116: _call_image] Error 2
make: *** [Makefile:195: image] Ошибка 2


И ещё вопрос: как правильно добавить дополнительный git репозиорий? В repositories.conf, добавлены вида
src/gz openwrt_core http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages
Я пробовал, src/git туда не залезает. А многие инструкции (даже в офф вики), протухли и устарели.

★★★★★

Последнее исправление: fehhner (всего исправлений: 1)

Ответ на: комментарий от intelfx

У меня тоже собралось сразу, спасибо большое. Не думал, что билдер каждый раз нужно заново выкачивать для обновления версии ядра (я же make clean делаю).

Как можно добавить git репозиторий? Я хочу попробовать с другими драйверами собрать, а инструкция для старых версий билдера.

fehhner ★★★★★
() автор топика
Ответ на: комментарий от intelfx

Дополню всё же. Я хочу попробовать собрать с этим проприетарным драйвером. Нужно отключить и выбрать драйвер через menuconfig и добавить git источник с драйверами в feeds.conf.
Описанные в вики feeds.conf, feeds.conf.default отсутствуют, menuconfig тоже:

% make menuconfig
make: *** Нет правила для сборки цели «menuconfig».  Останов.

% ./scripts/feeds update -a                                                                                                                                                    
Unable to open feeds configuration at ./scripts/feeds line 48.
Через imagebuilder этого не сделать (сохранив остальной конфиг под железо)? Только выкачивать с гитхаба и с нуля собирать?

fehhner ★★★★★
() автор топика
Ответ на: комментарий от fehhner

imagebuilder — он для сборки образов из готовых пакетов.

Я хочу попробовать собрать с этим проприетарным драйвером. Нужно отключить и выбрать драйвер через menuconfig и добавить git источник с драйверами в feeds.conf.

Только выкачивать с гитхаба и с нуля собирать?

Я не понял, тебе ядро что ли нужно пересобрать с другими параметрами или просто какие-то пакеты дособрать? В первом случае да, только страдать, во втором случае попробуй SDK (SDK ≠ ImageBuilder).

intelfx ★★★★★
()
Последнее исправление: intelfx (всего исправлений: 2)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.