wdpksrc icon indicating copy to clipboard operation
wdpksrc copied to clipboard

Add packages to WD app browser

Open stefaang opened this issue 7 years ago • 4 comments

Add an 'appstore' hook into the WD web UI to fetch the latest packages.

stefaang avatar Sep 11 '18 09:09 stefaang

See here https://github.com/hashashin/mycloudapps/tree/master/CustomAppList

stefaang avatar Jan 16 '19 07:01 stefaang

Chattr doesn't work on tmpfs, you need to bind-mount an ext4 volume first. See https://github.com/hashashin/mycloudapps/issues/1

stefaang avatar Feb 26 '19 08:02 stefaang

stefaang,

I just read your comment in https://github.com/hashashin/mycloudapps/issues/1. I just checked on the EX4100 and found the following :

root@WDMyCloudEX4100 xml # pwd
/var/www/xml
root@WDMyCloudEX4100 xml # df -k .
Filesystem           1K-blocks      Used Available Use% Mounted on
%root%                   55529     32372     20290  61% /
root@WDMyCloudEX4100 xml # mount | grep root
%root% on / type unknown (rw)
root@WDMyCloudEX4100 xml # touch blah
root@WDMyCloudEX4100 xml # ls -al blah
-rw-r--r--    1 root     root             0 Oct  4 08:48 blah

Not sure if that helps you to work out why this might work with no issues on ARM.

Cheers,

JediNite

JediNite avatar Oct 03 '19 22:10 JediNite

Some extra info.

root@MyCloudEX2Ultra home # /bin/mount | /bin/grep root
%root% on / type unknown (rw)
root@MyCloudEX2Ultra home # cat /proc/mounts | grep root
rootfs / rootfs rw 0 0
/dev/root / ext2 rw,relatime,errors=continue 0 0
root@MyCloudEX2Ultra home # cat /etc/fstab | grep ram
/dev/ram0 	/		ext2    defaults	1	1
root@MyCloudEX2Ultra home # /opt/bin/lsattr /var/www/xml/app_info.xml 
------------------- /var/www/xml/apkg_all.xml

root@MyCloudPR4100 home # /bin/mount | /bin/grep root
%root% on / type unknown (rw)
root@MyCloudPR4100 home # cat /proc/mounts | grep root
rootfs / rootfs rw,relatime 0 0
root@MyCloudPR4100 home # /opt/bin/lsattr /var/www/xml/app_info.xml 
lsattr: Inappropriate ioctl for device While reading flags on /var/www/xml/app_info.xml

Searching for answers.. https://unix.stackexchange.com/questions/295060/why-on-some-linux-systems-does-the-root-filesystem-appear-as-dev-root-instead https://www.linuxquestions.org/questions/slackware-14/slackware-current-dev-root-688189/page2.html

stefaang avatar Oct 18 '19 12:10 stefaang