Commit 2dc6b09d authored by Florent Revest's avatar Florent Revest

Adds asteroid-btsyncd to the default image

parent 573613e7
...@@ -7,7 +7,7 @@ IMAGE_FEATURES += "splash package-management" ...@@ -7,7 +7,7 @@ IMAGE_FEATURES += "splash package-management"
IMAGE_INSTALL += " \ IMAGE_INSTALL += " \
base-files base-passwd shadow systemd tzdata coreutils bash file findutils gawk grep procps psmisc sed util-linux sudo module-init-tools less tar gzip bzip2 \ base-files base-passwd shadow systemd tzdata coreutils bash file findutils gawk grep procps psmisc sed util-linux sudo module-init-tools less tar gzip bzip2 \
connman bluez5 pulseaudio ppp dropbear qtbase-fonts qtbase-fonts-ttf-dejavu qtbase-plugins statefs dsme mce ngfd timed sensorfw android-init mapplauncherd-booster-qtcomponents usb-moded \ connman bluez5 pulseaudio ppp dropbear qtbase-fonts qtbase-fonts-ttf-dejavu qtbase-plugins statefs dsme mce ngfd timed sensorfw android-init mapplauncherd-booster-qtcomponents usb-moded \
asteroid-launcher asteroid-calculator asteroid-calendar asteroid-stopwatch asteroid-settings asteroid-timer asteroid-alarmclock" asteroid-launcher asteroid-calculator asteroid-calendar asteroid-stopwatch asteroid-settings asteroid-timer asteroid-alarmclock asteroid-btsyncd"
EXTRA_USERS_PARAMS = "groupadd system; \ EXTRA_USERS_PARAMS = "groupadd system; \
groupadd statefs; \ groupadd statefs; \
......
[Unit]
Description=Starts the BLE synchronization daemon
Requires=dbus.socket
[Service]
Type=simple
ExecStartPre=hciconfig hci0 leadv 0
ExecStart=/usr/bin/asteroid-btsyncd
Restart=always
[Install]
WantedBy=default.target
SUMMARY = "Asteroid's BLE synchronization daemon."
HOMEPAGE = "https://github.com/AsteroidOS/asteroid-btsyncd"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d"
SRC_URI = "git://github.com/AsteroidOS/asteroid-btsyncd.git;protocol=https \
file://asteroid-btsyncd.service"
SRCREV = "${AUTOREV}"
PR = "r1"
PV = "+git${SRCREV}"
S = "${WORKDIR}/git"
RDEPENDS_${PN} += "python python-dbus python-pygobject"
FILES_${PN} += "/usr/bin/ /usr/lib/systemd/user/"
do_install_append() {
install -d ${D}/usr/bin/
cp asteroid-btsyncd ${D}/usr/bin/
install -d ${D}/usr/lib/systemd/user/default.target.wants/
cp ../asteroid-btsyncd.service ${D}/usr/lib/systemd/user/
ln -s ../asteroid-btsyncd.service ${D}/usr/lib/systemd/user/default.target.wants/asteroid-btsyncd.service
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment