[FS#291] Predefined config files at <buildroot>/files directory not copy to the router image

LEDE Bugs lede-bugs at lists.infradead.org
Sat Nov 19 13:49:17 PST 2016


The following task has a new comment added:

FS#291 - Predefined config files at /files directory not copy to the router image 
User who did this - Denis (rwx)

----------
ls -lR ./files/:

./files/:
итого 48
drwxr-xr-x  2 home home 4096 ноя 11 22:20 config
-rw-r--r--  1 home home  932 ноя 15 23:45 dhcpd6.conf
-rw-r--r--  1 home home  231 окт 24 20:02 dhcpd.conf
-rw-------  1 home home  708 ноя 19 16:55 ipsec.conf
drwxr-xr-x 10 home home 4096 окт 19 18:33 ipsec.d
-rw-r--r--  1 home home   52 авг  7 20:24 ipsec.secrets
-rw-r--r--  1 home home 2930 ноя 17 23:54 nftables.conf
-rw-------  1 home home  590 окт 19 18:33 ntp.conf
drwxr-xr-x  2 home home 4096 окт 24 04:15 openvpn
-rw-r--r--  1 home home  237 окт 24 22:39 rc.local
-rw-------  1 home home  546 ноя 12 17:55 rsyslog.conf
drwxr-x---  2 home home 4096 окт 26 18:36 unbound

./files/config:
итого 12
-rw------- 1 home home 254 окт 22 17:56 igmpproxy
-rw-r--r-- 1 home home 952 окт 22 15:43 network
-rw-r--r-- 1 home home 388 ноя 11 22:20 wireless

./files/ipsec.d:
итого 32
drwxr-xr-x 2 home home 4096 окт 19 18:33 aacerts
drwxr-xr-x 2 home home 4096 окт 19 18:33 acerts
drwxr-xr-x 2 home home 4096 окт 19 20:04 cacerts
drwxr-xr-x 2 home home 4096 окт 19 20:05 certs
drwxr-xr-x 2 home home 4096 окт 19 18:33 crls
drwxr-xr-x 2 home home 4096 окт 19 18:33 ocspcerts
drwxr-xr-x 2 home home 4096 окт 19 20:06 private
drwxr-xr-x 2 home home 4096 окт 19 18:33 reqs

./files/ipsec.d/aacerts:
итого 0

./files/ipsec.d/acerts:
итого 0

./files/ipsec.d/cacerts:
итого 4
-rw-r--r-- 1 home home 1883 окт 19 20:04 strongswancacert.pem

./files/ipsec.d/certs:ls -lR ./files/
итого 8
-rw-r--r-- 1 home home 1509 окт 19 20:05 client1cert.pem
-rw-r--r-- 1 home home 1578 окт 19 20:05 strongswansrvcert.pem

./files/ipsec.d/crls:
итого 0

./files/ipsec.d/ocspcerts:
итого 0ls -lR ./files/

./files/ipsec.d/private:
итого 12
-rw------- 1 home home 1679 окт 19 20:06 client1key.pem
-rw------- 1 home home 3243 окт 19 20:06 strongswancakey.pem
-rw------- 1 home home 1679 окт 19 20:06 strongswansrvkey.pem

./files/ipsec.d/reqs:
итого 0

./files/openvpn:
итого 40
-rw------- 1 home home  1168 окт 24 04:25 ca.crt
-rw------- 1 home home  1834 окт 24 04:25 ca.key
-rw------- 1 home home   424 окт 24 04./files/:
итого 48
drwxr-xr-x  2 home home 4096 ноя 11 22:20 config
-rw-r--r--  1 home home  932 ноя 15 23:45 dhcpd6.conf
-rw-r--r--  1 home home  231 окт 24 20:02 dhcpd.conf
-rw-------  1 home home  708 ноя 19 16:55 ipsec.conf
drwxr-xr-x 10 home home 4096 окт 19 18:33 ipsec.d
-rw-r--r--  1 home home   52 авг  7 20:24 ipsec.secrets
-rw-r--r--  1 home home 2930 ноя 17 23:54 nftables.conf
-rw-------  1 home home  590 окт 19 18:33 ntp.conf
drwxr-xr-x  2 home home 4096 окт 24 04:15 openvpn
-rw-r--r--  1 home home  237 окт 24 22:39 rc.local
-rw-------  1 home home  546 ноя 12 17:55 rsyslog.conf
drwxr-x---  2 home home 4096 окт 26 18:36 unbound

./files/config:
итого 12
-rw------- 1 home home 254 окт 22 17:56 igmpproxy
-rw-r--r-- 1 home home 952 окт 22 15:43 network
-rw-r--r-- 1 home home 388 ноя 11 22:20 wireless

./files/ipsec.d:
итого 32
drwxr-xr-x 2 home home 4096 окт 19 18:33 aacerts
drwxr-xr-x 2 home home 4096 окт 19 18:33 acerts
drwxr-xr-x 2 home home 4096 окт 19 20:04 cacerts
drwxr-xr-x 2 home home 4096 окт 19 20:05 certs
drwxr-xr-x 2 home home 4096 окт 19 18:33 crls
drwxr-xr-x 2 home home 4096 окт 19 18:33 ocspcerts
drwxr-xr-x 2 home home 4096 окт 19 20:06 private
drwxr-xr-x 2 home home 4096 окт 19 18:33 reqs

./files/ipsec.d/aacerts:
итого 0

./files/ipsec.d/acerts:
итого 0

./files/ipsec.d/cacerts:
итого 4
-rw-r--r-- 1 home home 1883 окт 19 20:04 strongswancacert.pem

./files/ipsec.d/certs:ls -lR ./files/
итого 8
-rw-r--r-- 1 home home 1509 окт 19 20:05 client1cert.pem
-rw-r--r-- 1 home home 1578 окт 19 20:05 strongswansrvcert.pem

./files/ipsec.d/crls:
итого 0

./files/ipsec.d/ocspcerts:
итого 0ls -lR ./files/

./files/ipsec.d/private:
итого 12
-rw------- 1 home home 1679 окт 19 20:06 client1key.pem
-rw------- 1 home home 3243 окт 19 20:06 strongswancakey.pem
-rw------- 1 home home 1679 окт 19 20:06 strongswansrvkey.pem

./files/ipsec.d/reqs:
итого 0

./files/openvpn:
итого 40
-rw------- 1 home home  1168 окт 24 04:25 ca.crt
-rw------- 1 home home  1834 окт 24 04:25 ca.key
-rw------- 1 home home   424 окт 24 04:25 dh.pem
-rw------- 1 home home    15 окт 25 19:50 ipp.txt
-rw------- 1 home home     0 окт 25 19:51 openvpn-status.log
-rw-r--r-- 1 home home 10514 окт 24 04:25 server.conf
-rw------- 1 home home  4399 окт 24 04:25 vpn.srv.crt
-rw------- 1 home home  1704 окт 24 04:25 vpn.srv.key

./files/unbound:
итого 40
-rw-r----- 1 home home  3291 окт 24 20:16 root.hints
-rw-r--r-- 1 home home   759 окт 26 18:36 root.key
-rw------- 1 home home 29819 окт 24 20:15 unbound.conf:25 dh.pem
-rw------- 1 home home    15 окт 25 19:50 ipp.txt
-rw------- 1 home home     0 окт 25 19:51 openvpn-status.log
-rw-r--r-- 1 home home 10514 окт 24 04:25 server.conf
-rw------- 1 home home  4399 окт 24 04:25 vpn.srv.crt
-rw------- 1 home home  1704 окт 24 04:25 vpn.srv.key

./files/unbound:
итого 40
-rw-r----- 1 home home  3291 окт 24 20:16 root.hints
-rw-r--r-- 1 home home   759 окт 26 18:36 root.key
-rw------- 1 home home 29819 окт 24 20:15 unbound.conf

du -hs ./files/:
200K	./files/

ls -la bin/targets/ramips/mt7620/
drwxr-xr-x 3 home home    4096 ноя 19 20:34 .
drwxr-xr-x 3 home home    4096 ноя 19 20:33 ..
-rw-r--r-- 1 home home    6216 ноя 19 20:34 lede-ramips-mt7620-device-wt3020-8m.manifest
-rw-r--r-- 1 home home 7602210 ноя 19 20:34 lede-ramips-mt7620-wt3020-8M-squashfs-factory.bin
-rw-r--r-- 1 home home 7602180 ноя 19 20:34 lede-ramips-mt7620-wt3020-8M-squashfs-sysupgrade.bin
drwxr-xr-x 2 home home    4096 ноя 19 20:34 packages
-rw-r--r-- 1 home home     346 ноя 19 20:34 sha256sums

All files in "files/*" I add manualy in router with "scp -r"  after flash firmware on router successfuly, df -h after this:
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 6.0M      6.0M         0 100% /rom
tmpfs                    29.7M    136.0K     29.6M   0% /tmp
/dev/mtdblock6          664.0K    120.0K    544.0K  18% /overlay
overlayfs:/overlay      664.0K    120.0K    544.0K  18% /
tmpfs                   512.0K         0    512.0K   0% /dev




----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=291#comment900



More information about the lede-bugs mailing list