Busybox - Como construir um pacote para o opkg

0

Eu sei como construir um pacote deb no Ubuntu com as estruturas de diretório, os arquivos de controle e assim por diante para o dpkg. É o mesmo para o opkg?

  1. Como posso criar um pacote para o opkg?
  2. Posso produzir o pacote diretamente no Busybox ou preciso de outro Linux como o Ubuntu?

opkg está funcionando, mas não tem opção de compilação.

Estou correndo neste 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
    
por musbach 09.08.2017 / 21:18

1 resposta

1

O Busybox é um conjunto de ferramentas simples e não possui um recurso de gerenciamento de pacotes. Você deve especificar em qual sistema você executou seu busybox e pode conter um.

    
por 09.08.2017 / 21:27