User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

kano os integration

Mon May 26, 2014 2:14 am

Is there a way to integrate kano os with raspbian?
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

riklaunim
Posts: 265
Joined: Tue Apr 22, 2014 7:34 pm

Re: kano os integration

Mon May 26, 2014 6:17 am

Change wallpaper, install the same apps and you have it.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: kano os integration

Mon May 26, 2014 6:31 am

what do you mean by 'integrate'?

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: kano os integration

Mon May 26, 2014 4:05 pm

ShiftPlusOne wrote:what do you mean by 'integrate'?
kano is build upon raspbian
what i mean is make an raspbian installation look and behave like kano without the need of reflashing my sdcard
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: kano os integration

Mon May 26, 2014 6:54 pm

I would start by looking at /etc/apt/sources.list and /etc/apt/sources.list.d/* and seeing if they added an additional repo to house their own stuff. Then you can fire up synaptic or use the command line tools to see what's actually installed from there. Then investigate what's autostarted and how.

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: kano os integration

Tue May 27, 2014 5:56 am

Foumd the repo

Code: Select all

dev.kano.me release/main
Cannot get the public key
Help
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: kano os integration

Tue May 27, 2014 6:05 am

Code: Select all

wget -q -O - http://dev.kano.me/archive/repo.gpg.key | sudo /usr/bin/apt-key add -

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: kano os integration

Tue May 27, 2014 1:40 pm

created a script to install kano on raspbian
pl. check
https://github.com/ric96/kano-raspbian
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: kano os integration

Tue May 27, 2014 7:22 pm

won't work

Code: Select all

sudo echo "deb http://dev.kano.me/archive/ release main" > /etc/apt/sources.list.d/kano.list
This runs the 'echo' command as root. However, the redirection '>' is done as the current user.
Why do you have 'sudo' in every other line?
You also download files and don't clean up after yourself.

Code: Select all

sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
Why? They do almost the same thing.

Code: Select all

#!/bin/bash -e
if [ $EUID -ne 0 ]; then
	echo "This script must be run as root!"
	exit 1
fi
Since almost everything the script does is done as root, cut out all of the 'sudo' and add the above check to the script.

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: kano os integration

Tue May 27, 2014 9:58 pm

ShiftPlusOne wrote:won't work

Code: Select all

sudo echo "deb http://dev.kano.me/archive/ release main" > /etc/apt/sources.list.d/kano.list
This runs the 'echo' command as root. However, the redirection '>' is done as the current user.
Why do you have 'sudo' in every other line?
You also download files and don't clean up after yourself.

Code: Select all

sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
Why? They do almost the same thing.

Code: Select all

#!/bin/bash -e
if [ $EUID -ne 0 ]; then
	echo "This script must be run as root!"
	exit 1
fi
Since almost everything the script does is done as root, cut out all of the 'sudo' and add the above check to the script.
Point 1. And 3. Noted changes will be made
Point 2 ) there are some files from the kano repo that are not upgraded by using just "upgrade"
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: kano os integration

Tue May 27, 2014 10:07 pm

2) Dist-upgrade implies upgrade.

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: kano os integration

Tue May 27, 2014 10:09 pm

ShiftPlusOne wrote:2) Dist-upgrade implies upgrade.
oh yeah !! almost forgot!
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: kano os integration

Tue May 27, 2014 10:12 pm

changes done!
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

Return to “General discussion”