I have built a custom Intel Edison that has lots of modifications. I am trying to figure out how to copy the Edison and install it on many other Edison modules. I tried this "backup and restore" tutorial http://www.instructables.com/id/BackupRestore-Intel-Edison/ and it did copy the files but they did not run properly.
I've searched extensively but cannot find the answer. Can anyone help?
if you're using linux, i recommend you to modify the yocto image by chroot-ing the image.
create a mountpoint directory
mount the edison-xxx.ext4 to that directory
next, chroot to that directory
thats, good luck.
Related
I have a samba host computer where the remote files are located. I want to edit those files from my laptop without copying them first just like on windows. I am using VS Code on Ubuntu and same on Windows, both OS in dual-boot. I am in process of transitioning my workspace to Linux but the problem is that I can't edit files directly because VS Code won't display samba mount points. I figured out "gedit" can achieve the editing directly but who uses that as a code editor?
I am looking for a service or application that allows me to mount the samba shares in the way that VS Code can see it and be able to edit directly from it. I don't know any keywords to find the solution to my problem so any help would save me time.
Answering my own question
It turns out that I just had to install this package:
gvfs-fuse
Now i can edit files directly to my samba share regardless of what application I use.
im trying to make v4l2loopback work on my desktop PC (no hardware camera) with mint 19.3, kernel 5.4.0-42-generic x86_64.
I followed the official instructions and compiled from git the v4l2loopback module and everything seem to run correctly, as no error prompted while running the instructions, but when i do ll /dev/v* there's no /dev/videoN entry.
I also tried with the flags exclusive_caps=1 and devices=2 but to no avail.
Any idea what i might be missing or doing wrong?
you need to load the module (e.g. using modprobe) before you can use it.
see also https://github.com/umlaeute/v4l2loopback#run
trying to build an x86_64 dpdk on a buildroot generated file system ..
any guide ...
i searched thoughtlessly on the internet before asking for couple of days with no avail
Best Regards
rama
You need to add the package to buildroot. Fortunately, a patch was posted recently that adds it. Just apply that patch to your buildroot source.
Is it possible to set the path where the berkshelf plugin puts the cookbooks it installs? (As in the .berkshelf folder)
I am running Windows 7.
I am currently trying to install a mysql server using an opscode cookbook to a vm and here at work they have the %HOMEDRIVE% system variable set to a network drive. So when .berkshelf starts at the beginning of the Vagrantfile, it pushes the cookbooks to the network drive and it causes it to be slow and well, its not where it should be. Is there a fix to this?
VirtualBox did this as well, but I fixed it by altering the settings. I tried looking for some sort of equivalent settings for berkshelf, but the closest I got was for the standard berkshelf (thats not a vagrant plugin), it appears you can set this environment variable:
ENV['BERKSHELF_PATH']
Found here:
http://www.rubydoc.info/github/RiotGames/berkshelf/Berkshelf#berkshelf_path-class_method
I need to be able to have the cookbooks it reads from the berksfile store to my laptops local drive instead, as in my scenario I cannot have the mobility of the VM limited to the building because of files that are stored on the network.
Any incite would be much appreciated.
Perhaps its better to use the actual berkshelf over the vagrant plugin?
Thanks.
If you want to have the portability - a full chef-repo ready for chef-solo runs, better off using standalone berkshelf instead of the vagrant-berkshelf plugin - which is NOT that flexibly.
For complex cookbooks, I prefer to use standalone berkshelf as it allows me to do berks install --path chef/cookbooks to copy all cookbooks required from ~/.berkshelf/cookbooks, then I can just tar the whole thing and transfer to other machines for the same chef-solo run. some people use capistrano automate the tar and scp/rsync over the network. I just use rysnc/scp;-)
HTH
I've recently made a Slax instalation with only the core program.
I used a copy of the live CD and ran a script to make hda1 bootable and then another script to use lilo to boot it... they were all in the CD... So it's like a big live cd on my HD and not really a full fledged OS.
Anyway I want to begin by compiling my own Emacs... Can someone help me?
thanks
The process shouldn't be too complicated. First, you need to download the source from http://ftp.gnu.org/pub/gnu/emacs/
Then, you untar the source with
tar xzf emacs-22.3.tar.gz
and cd into the newly created directory (emacs-22.3)
There, you run:
./configure
and then
make && make install
Read the INSTALL file for more information.
To compile emacs 22.3, first download http://ftp.gnu.org/pub/gnu/emacs/emacs-22.3.tar.gz . Extract the files to a directory, and then follow the instructions in the INSTALL file to install.
If you're asking about how to compile it on a read-only filesystem:
If you have lots of RAM, you can mount a ram disk.
If you have a harddisk, you can mount the extra space.
You can look at something like fuse for more ideas.