Busybox - opkg用パッケージを作成する方法

Busybox - opkg用パッケージを作成する方法

dpkgのディレクトリ構造、制御ファイルなどを含むdebパッケージをUbuntuでビルドする方法を知っています。 opkgも同じですか?

  1. opkg用のパッケージを構築する方法は?
  2. Busyboxから直接パッケージを作成できますか?それとも別のLinux(Ubuntuなど)が必要ですか?

オッケ 動作しますが、ビルドオプションはありません。

私はBusyboxでこれを実行しています:

BusyBox v1.23.2 (2017-06-15 11:01:48 CEST) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2012.
Licensed under GPLv2. See source distribution for detailed copyright notices.

Usage: busybox [function [arguments]...]
or: busybox --list
or: function [arguments]...

    BusyBox is a multi-call binary that combines many common Unix
    utilities into a single executable.  Most people will create a
    link to busybox for each function they wish to use and BusyBox
    will act like whatever it was invoked as.

Currently defined functions:
    [, [[, addgroup, adduser, ar, arp, ash, awk, base64, basename, bash, bbconfig, brctl, bunzip2, bzcat, bzip2,
    cat, chattr, chgrp, chmod, chown, chroot, chrt, chvt, clear, cmp, cp, cpio, crond, cut, date, dc, dd,
    deallocvt, delgroup, deluser, devmem, df, diff, dirname, dmesg, dnsdomainname, dos2unix, du, dumpkmap, echo,
    egrep, eject, env, ether-wake, expr, false, fatattr, fbset, fbsplash, fdisk, fgrep, find, flock, fstrim,
    getopt, getty, grep, groups, gunzip, gzip, hd, head, hexdump, hostname, id, ifconfig, ifdown, ifup, inetd,
    inotifyd, insmod, ionice, iostat, ip, kbd_mode, klogd, less, ln, loadfont, loadkmap, logger, logname, logread,
    losetup, ls, lsattr, lsmod, lsof, lspci, lsusb, lzcat, md5sum, microcom, mkdir, mkdosfs, mkfifo, mkfs.vfat,
    mknod, mkswap, mktemp, modinfo, modprobe, more, mount, mpstat, mv, nameif, nbd-client, nc, netstat, nice,
    nmeter, nohup, nslookup, ntpd, od, openvt, patch, pidof, powertop, printf, pwd, rdate, rdev, readahead,
    readlink, readprofile, realpath, renice, reset, rm, rmdir, rmmod, route, run-parts, sed, sendmail, seq,
    setconsole, setfont, setkeycodes, setlogcons, setserial, setsid, sh, sha1sum, sha256sum, sha3sum, sha512sum,
    showkey, shuf, sleep, smemcap, sort, start-stop-daemon, strings, stty, sulogin, swapoff, swapon, switch_root,
    sync, syslogd, tail, tar, taskset, tee, telnet, telnetd, test, tftp, time, timeout, touch, tr, true, tty,
    tunctl, tune2fs, udhcpc, umount, uname, uniq, unix2dos, unlink, unlzma, unxz, unzip, users, usleep, uudecode,
    uuencode, vconfig, vi, volname, wc, wget, which, who, whoami, whois, xargs, xzcat, yes, zcat

ベストアンサー1

Busyboxはシンプルなツールセットで、パッケージ管理機能はありません。 busyboxを実行しているシステムを指定する必要があり、システムにシステムを含めることができます。

おすすめ記事