upstart install ?
Closed this issue · 21 comments
can you please try install of upstart? with mountall preferable.
what a simulation (apt-get -s install) tells you.
Currently, i can't due to the plymouth issue.
probably resolvable ???
Yes, in the Beta 1 update it is, but currently i have to installed the custom Alpha 5 update to remove the syslogd and ksyslogd dependencies. Will do that later.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libwavpack1
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
initramfs-tools klibc-utils libjson0 libklibc libnih-dbus1 libnih1 libudev0 makedev plymouth udev
Suggested packages:
desktop-base plymouth-drm graphviz
Recommended packages:
pciutils
The following packages will be REMOVED:
console-tools sysvinit
The following NEW packages will be installed:
initramfs-tools klibc-utils libjson0 libklibc libnih-dbus1 libnih1 makedev mountall plymouth
upstart
The following packages will be upgraded:
libudev0 udev
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
sysvinit
2 upgraded, 10 newly installed, 2 to remove and 68 not upgraded.
Remv console-tools [1:0.2.3dbs-70]
Remv sysvinit [2.88dsf-34]
Inst libudev0 [175-7] (175-7.1 Raspbian:7.0/testing [armhf]) [udev:armhf ]
Conf libudev0 (175-7.1 Raspbian:7.0/testing [armhf]) [udev:armhf ]
Inst udev [175-7] (175-7.1 Raspbian:7.0/testing [armhf])
Conf udev (175-7.1 Raspbian:7.0/testing [armhf])
Inst makedev (2.3.1-92 Raspbian:7.0/testing [all])
Conf makedev (2.3.1-92 Raspbian:7.0/testing [all])
Inst libklibc (2.0.1-3.1+rpi1 Raspbian:7.0/testing [armhf])
Inst klibc-utils (2.0.1-3.1+rpi1 Raspbian:7.0/testing [armhf])
Inst initramfs-tools (0.109 Raspbian:7.0/testing [all])
Inst plymouth (0.8.5.1-5 Raspbian:7.0/testing [armhf])
Inst libnih1 (1.0.3-4.1 Raspbian:7.0/testing [armhf])
Inst libnih-dbus1 (1.0.3-4.1 Raspbian:7.0/testing [armhf])
Inst mountall (2.46 Raspbian:7.0/testing [armhf])
Inst libjson0 (0.10-1.2 Raspbian:7.0/testing [armhf])
Inst upstart (1.6.1-1 Raspbian:7.0/testing [armhf])
Conf libklibc (2.0.1-3.1+rpi1 Raspbian:7.0/testing [armhf])
Conf klibc-utils (2.0.1-3.1+rpi1 Raspbian:7.0/testing [armhf])
Conf initramfs-tools (0.109 Raspbian:7.0/testing [all])
Conf plymouth (0.8.5.1-5 Raspbian:7.0/testing [armhf])
Conf libnih1 (1.0.3-4.1 Raspbian:7.0/testing [armhf])
Conf libnih-dbus1 (1.0.3-4.1 Raspbian:7.0/testing [armhf])
Conf mountall (2.46 Raspbian:7.0/testing [armhf])
Conf libjson0 (0.10-1.2 Raspbian:7.0/testing [armhf])
Conf upstart (1.6.1-1 Raspbian:7.0/testing [armhf])
I tried to install upstart earlier but it made my system unbootable. What should i do to at least to be able to boot with upstart?
proper initramfs. that's why you sometimes ask why I change things, when they are working.
Good answer
and different init needs to be called. & some services started before.
A different init can of course be called by the init= parameter, but the services might have been the problem.
one is expecting this, yes, but it was not implemented in xbian.
Awaiting your instructions bút take your time ;)
wanna try the upstart?
install upstart (and mountall and plymouth if you don't have them). then from xbian-beta1-upstart take
- initramfs.gz and /usr/bin/splash binary
- all scripts from /etc/init (feel free to overwrite existing)
- all scripts from /etc/init.d (feel free ...)
- go to /etc/init.d/update-rc.d_xxx_remove and run 'bash README.md' so many times until all are disabled
run 'initctl reload-configuration' then 'initctl check-config', reboot
Works!:)
EDIT: the only thing that doens't work is the initramfs splash (the splash that says "Starting XBMC" does work)
What about boot time?
or check, if you don't have debug parameter in cmdfile. if debug is specified, splash is not shown...
The cmdline.txt is the same one as in xbianonpi/xbian/xbian-beta1/boot , boot time is fine, +- 45 seconds
hmm, how are you booting? the image (latest) is missing mod del files, so can't load btrfs and can't mount rootfs.
and you are right with the splash, of course the binary of splash on ini tram and /usr/bin (after remounting root) needs to be the same for me is, but that's not your case. so one point to the list, copy splash binary to your root.
I tested with ext4 ( btrfs indeed got stuck on boot)
it's corrected. busybox depmod is not doing compatible dependency files with standard mod utils.