× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: ReadyNAS SDK - Error & Proper removal

givememynamebak
Luminary

ReadyNAS SDK - Error & Proper removal

Hi - I could use some help.

 

I want to build a .deb file, so I followed all the directions in the SDK.  When I try to build, I get this error: 

root@ReadyNAS:~/sdk/examples# ./build.sh
E: Failed to change to directory ‘/root/sdk/examples/sample1-1.0.0’: No such file or directory
I: The directory does not exist inside the chroot.  Use the --directory option to run the command in a different directory.

I have no ideas how to fix this so it really builds...  Anyone have any ideas?

------

The next thing is, after doing all these steps - I found out that there's a VirtualBox image available (albiet, not the latest OS6 version) that should work.  So my next question is, how do I properly reverse these steps to unmount/remove and get the space back from my file system without messing anything up?

 

$ sudo apt update
$ sudo apt install debootstrap
$ sudo mkdir -p /chroot/jessie
$ sudo debootstrap --arch amd64 jessie /chroot/jessie http://ftp.us.debian.org/debian
$ sudo apt install schroot
$ sudo bash -c 'cat > /etc/schroot/schroot.conf' << EOF
[jessie]
aliases=R6,r6
description=jessie 64bits for R6 developement
type=directory
directory=/chroot/jessie
users=r2d2
root-users=r2d2
EOF

$ schroot -c R6 apt -- install sudo
$ schroot -c R6 sudo -- apt update
$ schroot -c R6 sudo -- apt install build-essential

$ schroot -c R6 sudo -- \
  apt install libxml2-dev libsqlite3-dev pkg-config libsystemd-daemon-dev devscripts

 

 

 

Message 1 of 2
givememynamebak
Luminary

Re: ReadyNAS SDK - Error & Proper removal

So these are the step's I've taken to remove, can anyone tell if I missed something to get my space back?  I went from 87% full root volume to %64 full.

 

$ schroot -c R6 sudo -- apt remove libxml2-dev libsqlite3-dev pkg-config libsystemd-daemon-dev devscripts
$ schroot -c R6 sudo -- apt remove build-essential
$ schroot -c R6 apt -- remove sudo
$ vi /etc/schroot/schroot.conf -- and removed contents
$ sudo apt remove schroot
$ rm -rf /chroot
$ apt remove debootstrap
$ reboot

 

Is there anything additional I can do for cleanup to maximize my space back on root volume?

Message 2 of 2
Top Contributors
Discussion stats
  • 1 reply
  • 710 views
  • 0 kudos
  • 1 in conversation
Announcements