- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: ReadyNAS SDK - Error & Proper removal
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?