[OpenWrt-Devel] LXC 2.1.1 generating a ipk package with no file inside it

Ronaldo Afonso ronaldo at ronaldoafonso.com.br
Wed Feb 28 10:29:24 EST 2018


  Hi all,

  I'm trying to build LXC 2.1.1 using OpenWrt package's feed but the result
is an ipk package file with no "useful" file inside it.

  Following is the commands running from my x86_64 router.

root at OpenWrt:~# opkg status lxc
Package: lxc
Version: 2.1.1-1
Depends: libc
Status: install user installed
Architecture: x86_64
Installed-Time: 1519749033

root at OpenWrt:~# opkg files lxc
Package lxc (2.1.1-1) is installed on root and has the following files:

  I compiled OpenWrt using the "master" branch from:
ronaldo at fox:~/Linux/OpenWrt/src/openwrt$ git remote -v
origin    https://git.openwrt.org/openwrt/openwrt.git (fetch)
origin    https://git.openwrt.org/openwrt/openwrt.git (push)

  And I used the feeds from:

ronaldo at fox:~/Linux/OpenWrt/src/openwrt$ ./scripts/feeds list -s
packages   src-git  345420f  https://git.openwrt.org/feed/packages.git
routing    src-git  2f74073  https://git.openwrt.org/feed/routing.git
luci       src-git  088b92c  https://git.openwrt.org/project/luci.git

  I tried to compile the package alone and noted that make
package/lxc/install is issuing and error:

ronaldo at fox:~/Linux/OpenWrt/src/openwrt$ make -j1 V=s package/lxc/install
make[1]: Entering directory '/home/ronaldo/Linux/OpenWrt/src/openwrt'
make[1]: *** No rule to make target 'package/lxc/install'.  Stop.
make[1]: Leaving directory '/home/ronaldo/Linux/OpenWrt/src/openwrt'
/home/ronaldo/Linux/OpenWrt/src/openwrt/include/toplevel.mk:216: recipe for
target 'package/lxc/install' failed
make: *** [package/lxc/install] Error 2

  Even though there are files inside the build_dir LXC directory:

ronaldo at fox:~/Linux/OpenWrt/src/openwrt$ ls
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-*
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-attach
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-device
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-stop
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-autostart
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-execute
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-top
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-cgroup
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-freeze
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-unfreeze
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-checkpoint
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-info
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-unshare
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-config
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-ls
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-user-nic
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-console
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-monitor
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-usernsexec
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-copy
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-monitord
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-wait
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-create
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-snapshot
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-destroy
build_dir/target-x86_64_musl/lxc-2.1.1/src/lxc/lxc-start

  Can anyone give any help?

  Thanks in advance ...


-- 
Ronaldo Afonso
11 9 5252 0484
www.ronaldoafonso.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20180228/d2566029/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list