Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Development Guide?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Development Guide?
7th Dec, 2013, 11:43 PM
Post: #8
Killerbee Offline
Registered
Posts: 143
Joined: Feb 2013
Reputation: 6
RE: Development Guide?
Just for my own backup Sleepy
to rsynch a directory from a remote (ubuntu) machine use this rsync command
Terminal

rsync -chavzP --stats user@remote.host:/path/to/debootstrap_stage1/ /mnt/jesse

Add name server before running apt-get
vi /etc/resolv.conf
change nameserver to 8.8.8.8

Add the public keys of the repos
wget -qO - http://xbian.brantje.com/xbian.gpg.key | apt-key add -

Terminal

apt-get update
apt-get install xbian-package-kernel
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
xbian-package-kernel : Depends: rng-tools but it is not installable
Depends: xbian-package-initramfs-tools (>= 1.0-2.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

please add rng-tools to the first stage of bootdebstrap.

better is to add deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi to the /etc/apt/sources.list file
the file should look like this:
Code:
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb http://xbian.brantje.com devel main
deb http://xbian.brantje.com staging main
deb http://xbian.brantje.com stable main

Code:
mount -o bind /dev /mnt/jessie/dev
mount -o bind /dev/pts /mnt/jessie/dev/pts
mount -o bind /sys /mnt/jessie/sys
mount -o bind /proc /mnt/jessie/proc
mount -o bind /run /mnt/jessie/run
mount -o bind /boot /mnt/jessie/boot
chroot /mnt/jessie /bin/busybox sh

apt-get install xbian-package-kernel shows this:
Terminal

/ # apt-get install xbian-package-kernel
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
btrfs-tools libfreetype6 libjpeg8 liblzo2-2 rng-tools triggerhappy xbian-package-firmware xbian-package-initramfs-tools xbian-package-splash
Suggested packages:
xbian-package-kernel-headers
The following NEW packages will be installed:
btrfs-tools libfreetype6 libjpeg8 liblzo2-2 rng-tools triggerhappy xbian-package-firmware xbian-package-initramfs-tools xbian-package-kernel xbian-package-splash
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.8 MB of archives.
After this operation, 48.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://xbian.brantje.com/ devel/main btrfs-tools armhf 1.0-xbian2a [1237 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main liblzo2-2 armhf 2.06-1 [56.0 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main rng-tools armhf 2-unofficial-mt.14-1 [48.7 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libfreetype6 armhf 2.4.9-1.1 [401 kB]
Get:5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libjpeg8 armhf 8d-1 [132 kB]
Get:6 http://mirrordirector.raspbian.org/raspbian/ wheezy/main triggerhappy armhf 0.3.4-2 [31.2 kB]
Get:7 http://xbian.brantje.com/ devel/main xbian-package-firmware armhf 1.4-9 [3182 kB]
Get:8 http://xbian.brantje.com/ staging/main xbian-package-splash armhf 1.0-1.1a [456 kB]
Get:9 http://xbian.brantje.com/ staging/main xbian-package-initramfs-tools armhf 1.3.2-1c [15.4 kB]
Get:10 http://xbian.brantje.com/ staging/main xbian-package-kernel armhf 1.3-6.2 [15.2 MB]
Fetched 20.8 MB in 20s (1010 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_US.UTF-8",
LC_CTYPE = "C",
LC_TYPE = "C",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package liblzo2-2:armhf.
(Reading database ... 7565 files and directories currently installed.)
Unpacking liblzo2-2:armhf (from .../liblzo2-2_2.06-1_armhf.deb) ...
Setting up liblzo2-2:armhf (2.06-1) ...
Selecting previously unselected package btrfs-tools.
(Reading database ... 7574 files and directories currently installed.)
Unpacking btrfs-tools (from .../btrfs-tools_1.0-xbian2a_armhf.deb) ...
Setting up btrfs-tools (1.0-xbian2a) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
Selecting previously unselected package xbian-package-firmware.
(Reading database ... 7635 files and directories currently installed.)
Unpacking xbian-package-firmware (from .../xbian-package-firmware_1.4-9_armhf.deb) ...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
findmnt: can't read /proc/mounts: No such file or directory
Setting up xbian-package-firmware (1.4-9) ...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Selecting previously unselected package rng-tools.
(Reading database ... 7850 files and directories currently installed.)
Unpacking rng-tools (from .../rng-tools_2-unofficial-mt.14-1_armhf.deb) ...
Setting up rng-tools (2-unofficial-mt.14-1) ...
Trying to create /dev/hwrng device inode...
/run/udev or .udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
Starting Hardware RNG entropy gatherer daemon: (Hardware RNG device inode not found)
/etc/init.d/rng-tools: Cannot find a hardware RNG device to use.
invoke-rc.d: initscript rng-tools, action "start" failed.
Selecting previously unselected package libfreetype6:armhf.
(Reading database ... 7868 files and directories currently installed.)
Unpacking libfreetype6:armhf (from .../libfreetype6_2.4.9-1.1_armhf.deb) ...
Setting up libfreetype6:armhf (2.4.9-1.1) ...
Selecting previously unselected package libjpeg8:armhf.
(Reading database ... 7880 files and directories currently installed.)
Unpacking libjpeg8:armhf (from .../libjpeg8_8d-1_armhf.deb) ...
Setting up libjpeg8:armhf (8d-1) ...
Selecting previously unselected package xbian-package-splash.
(Reading database ... 7887 files and directories currently installed.)
Unpacking xbian-package-splash (from .../xbian-package-splash_1.0-1.1a_armhf.deb) ...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Setting up xbian-package-splash (1.0-1.1a) ...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Selecting previously unselected package triggerhappy.
(Reading database ... 7905 files and directories currently installed.)
Unpacking triggerhappy (from .../triggerhappy_0.3.4-2_armhf.deb) ...
Setting up triggerhappy (0.3.4-2) ...
Selecting previously unselected package xbian-package-initramfs-tools.
(Reading database ... 7919 files and directories currently installed.)
Unpacking xbian-package-initramfs-tools (from .../xbian-package-initramfs-tools_1.3.2-1c_armhf.deb) ...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Selecting previously unselected package xbian-package-kernel.
Unpacking xbian-package-kernel (from .../xbian-package-kernel_1.3-6.2_armhf.deb) ...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
findmnt: can't read /proc/mounts: No such file or directory
Setting up xbian-package-kernel (1.3-6.2) ...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Setting up xbian-package-initramfs-tools (1.3.2-1c) ...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/var/lib/dpkg/info/xbian-package-initramfs-tools.postinst: line 7: /home/xbian/xbian-initramfs-update.log: No such file or directory
/var/lib/dpkg/info/xbian-package-initramfs-tools.postinst: line 9: /home/xbian/xbian-initramfs-update.log: No such file or directory
/var/lib/dpkg/info/xbian-package-initramfs-tools.postinst: line 17: /home/xbian/xbian-initramfs-update.log: No such file or directory
Processing triggers for xbian-package-initramfs-tools ...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
findmnt: can't read /proc/mounts: No such file or directory

Installation of the kernel package went well Smile

I installed the next additional packages:
Terminal

apt-get install net-tools dhcpcd bash-completion vim apt-utils perl-modules locales apt-utils xbian-package-xbianhome

changing cmdline.txt (root for jessie)

reboot

Login as root and run:

Terminal
apt-get install xbian-update

All went well.
Auto reboot but XBMC didnot start (splash starting XBMC........)

Try to start xbmc manually terminal shows
Terminal

./xbmc.bin --standalone -fs --lircdev /run/lirc/lircd
Could not init logging classes. Permission errors on ~/.xbmc (/home/xbian/.xbmc/temp/)
ERROR: Unable to create application. Exiting

To solve this I used this command as root:
Terminal
chown -R xbian:xbian /home/xbian

Try again

Terminal
/usr/local/lib/xbmc/xbmc.bin ./xbmc.bin --standalone -fs --lircdev /run/lirc/lircd

xbmc-loaded start/running, process 9229
error reading file
calib_x_d=1280;
calib_x_fact=-1.000000;
calib_y_d=720;
calib_y_fact=-1.000000;
swap_axes=:0;
click_confines=7;error reading file
calib_x_d=1280;
calib_x_fact=-1.000000;
calib_y_d=720;
calib_y_fact=-1.000000;
swap_axes=:0;
click_confines=7;

A few more things I had to do:
Change the password of xbian user (changed it to raspberry)
Also I had to add xbian as sudousers

I don't now if this is the correct way but I added this line to the /etc/sudoers file
Code:
xbian   ALL=(ALL:ALL) ALL

reboot
WHOHOOOOO
xbmc starts and I have a working system Big Grin

One issue I have is with localisation of xbian-config-shell
Probably I need a nl_UTF8 translation file Tongue

[edit]
I had to run dpkg-reconfigure locales.
[/edit]
KB
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Development Guide? - A_Porcupine - 13th Sep, 2013, 08:32 AM
RE: Development Guide? - Koenkk - 13th Sep, 2013, 04:41 PM
RE: Development Guide? - mk01 - 1st Dec, 2013, 06:25 PM
RE: Development Guide? - mk01 - 2nd Dec, 2013, 01:09 AM
RE: Development Guide? - Killerbee - 2nd Dec, 2013, 11:55 PM
RE: Development Guide? - mk01 - 3rd Dec, 2013, 01:42 AM
RE: Development Guide? - mk01 - 3rd Dec, 2013, 06:36 AM
RE: Development Guide? - Killerbee - 7th Dec, 2013 11:43 PM
RE: Development Guide? - Killerbee - 10th Dec, 2013, 01:16 AM
RE: Development Guide? - Killerbee - 11th Dec, 2013, 08:17 AM
RE: Development Guide? - mk01 - 13th Dec, 2013, 10:02 AM
RE: Development Guide? - Killerbee - 16th Dec, 2013, 08:52 PM
RE: Development Guide? - mk01 - 21st Dec, 2013, 06:55 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 23rd May, 2025, 07:28 PM Powered By MyBB, © 2002-2025 MyBB Group.