Skip to content

Instantly share code, notes, and snippets.

@locusf

locusf/nemo-rpi.ks Secret

Created Apr 8, 2016
Embed
What would you like to do?
# -*-mic2-options-*- -f fs --compress-disk-image=tar.bz2 --copy-kernel --record-pkgs=name --pkgmgr=zypp --arch=armv7hl -*-mic2-options-*-
#
# Do not Edit! Generated by:
# kickstarter.py
#
lang en_US.UTF-8
keyboard us
timezone --utc UTC
part /boot --size 200 --ondisk sda --fstype=vfat
part / --size 3500 --ondisk sda --fstype=ext4
user --name nemo --groups audio,video --password nemo
rootpw root
repo --name=locusf-rpi2 --baseurl=http://repo.merproject.org/obs/home:/locusf:/branches:/nemo:/devel:/hw:/brcm:/bcm2835:/rpi/Core_armv7hl/
repo --name=ux --baseurl=http://repo.merproject.org/obs/nemo:/devel:/ux/mer-core_armv7hl_devel/
repo --name=core --baseurl=http://repo.merproject.org/obs/mer-core:/armv7hl:/devel/Core_armv7hl/
repo --name=fork --baseurl=http://repo.merproject.org/obs/home:/locusf:/branches:/mer-core:/devel/Core_armv7hl/
repo --name=apps --baseurl=http://repo.merproject.org/obs/nemo:/devel:/apps/latest_armv7hl/
%packages
#PackageKit-Qt5
#PackageKit-glib
#PackageKit-zypp
#PackageKit
alsa-lib
attr
augeas-libs
basesystem
bash
bluez-configs-mer
bluez-libs
bluez
boardname
boost-filesystem
boost-system
#buteo-mtp-qt5-sync-plugin
#buteo-syncfw-qt5
bzip2-libs
bzip2
ca-certificates
cairo
ce-backgrounds
check
cjkuni-fonts
commhistory-daemon
connman-qt5-declarative
connman-qt5
connman-test
connman
contactsd
#contextkit-plugin-kbslider
#contextkit-plugin-mce
#contextkit-plugin-power-bme
#contextkit
cor
coreutils
crda
curl
db4-utils
db4
dbus-glib
dbus-libs
dbus-python
#dbus-x11
dbus
deltarpm
desktop-file-utils
diffutils
droid-sans-fonts
droid-sans-mono-fonts
droid-serif-fonts
dsme
e2fsprogs-libs
e2fsprogs
elfutils-libelf
exempi
expat
farstream
fbset
file-libs
file
filesystem
findutils
fingerterm
flac
fontconfig
fontpackages-filesystem
freetype
fuse-libs
fuse
gawk
gconf
gdb
gdbm
giflib
glib-networking
glib2
glibc-common
glibc
gmime
gnupg2
gnutls
google-opensans-fonts
grep
gst-plugins-bad-free
gst-plugins-base
gst-plugins-good
gstreamer
gzip
hwdata
info
iotop
iproute
iptables
iputils
iw
json-c
kbd
kcalcore-qt5
kmod-libs
kmod
lcms-libs
lcms
libICE
libSM
libX11
libXau
libXaw
libXdamage
libXext
libXfixes
libXft
libXi
libXmu
libXpm
libXrender
libXt
libXtst
libXv
libaccounts-glib-tools
libaccounts-glib
libaccounts-qt5
libacl
libarchive
libasyncns
libattr
libblkid
libcanberra
libcap
libcom_err
libcommhistory-qt5-declarative
libcommhistory-qt5-tools
libcommhistory-qt5
libcontacts-qt5
libcontentaction-qt5
libcreds3
libcurl
libdbus-qeventloop-qt5
libdrm
libdsme
libenca-libenca0
libenca
libsmack
liberation-fonts-common
liberation-mono-fonts
liberation-sans-fonts
liberation-serif-fonts
libexif
libffi
libgcc
libgcrypt
libgpg-error
libgsf
libgudev1
libical
libicu
libidn
libiodata-qt5
libiphb
libiptcdata
libjpeg-turbo
libksba
liblua
libmlocale-qt5
libngf-qt5
libnice
libnl
libogg
libpng
libmeegotouchevents-qt5
libngf-client
libqmfclient1-qt5
libqmfmessageserver1-qt5
libqofono-qt5
libqt5sparql-tracker-direct
libqt5sparql
libqtwebkit5-widgets
libqtwebkit5
libquillmetadata-qt5
libresource
libresourceqt-qt5
libsailfishkeyprovider
libshadowutils
libsignon-glib
libsignon-qt5
libsndfile
libsolv-tools
libsolv0
libsoup
libss
libstdc++
libtasn1
libtheora
libtiff
libtool-ltdl
libtrace
#libudev
libusb
libusb1
libuser
libutempter
libuuid
libvisual
libvorbis
libxcb
libxkbcommon
libxkbfile
libxml2
libxslt
libzypp
lipstick-glacier-home-qt5
#lipstick-qt5-tools-ui
lipstick-qt5-tools
lipstick-qt5
lsb-release
lsof
lynx
maliit-framework-wayland-inputcontext
maliit-framework-wayland
maliit-plugins
mapplauncherd-booster-qtcomponents-qt5
mapplauncherd-qt5
mapplauncherd
mce-tools
mce
mer-gfx-tests
mer-release
mkcal-qt5
mlite-qt5
mobile-broadband-provider-info
multi_c_rehash
nano
ncurses-base
ncurses-libs
ncurses
#nemo-configs-connman
#nemo-firstsession
nemo-mobile-session-common
nemo-mobile-session-wayland
nemo-qml-plugin-accounts-qt5
#nemo-qml-plugin-alarms-qt5
nemo-qml-plugin-configuration-qt5
nemo-qml-plugin-contacts-qt5-tools
nemo-qml-plugin-contacts-qt5
nemo-qml-plugin-dbus-qt5
#nemo-qml-plugin-email-qt5
#nemo-qml-plugin-folderlistmodel
nemo-qml-plugin-messages-internal-qt5
nemo-qml-plugin-notifications-qt5
nemo-qml-plugin-signon-qt5
nemo-qml-plugin-systemsettings
nemo-qml-plugin-thumbnailer-qt5
nemo-qml-plugin-time-qt5
nemo-theme-glacier
net-tools
ngfd-settings-basic
ngfd
nspr
nss-softokn-freebl
nss-sysinit
nss
ntp
ofono-tests
ofono
ohm-configs-default
ohm-plugin-core
ohm
oneshot
openssh-clients
openssh-server
openssh
openssl-libs
orc
pacrunner
pam
pango
passwd
pcre
pixman
#plymouth-lite
polkit
poppler-glib
poppler
popt
prelink
procps
profiled-settings-default
profiled
psmisc
pth
pulseaudio-modules-nemo-common
#-5.0.16-10.1.Nemo.i486
pulseaudio-modules-nemo-mainvolume
pulseaudio-modules-nemo-music
pulseaudio-modules-nemo-parameters
pulseaudio-modules-nemo-record
pulseaudio-modules-nemo-stream-restore
pulseaudio-modules-nemo-voice
pulseaudio-policy-enforcement
pulseaudio
pygobject2
python-libs
python
qmlcalc
qmlcalendar
#qmlclock
#qmlcontacts
#qmlfilemuncher
qmlgallery
#qmlmail
qmlmaps
#qmlmessages
qmlmusicplayer
#qmlnotes-theme-blanco-extra
qmlnotes
qmlpackagemanager
qmlpinquery
qmlsettings-account-plugin-email
qmlsettings-account-plugin-jabber
qmlsettings
qmsystem-qt5
qt-components-qt5-gallery
qt-components-qt5
qt5-plugin-generic-evdev
qt5-plugin-imageformat-jpeg
qt5-plugin-platform-eglfs
qt5-plugin-platform-minimal
qt5-plugin-sqldriver-sqlite
qt5-qt3d
qt5-qtconcurrent
qt5-qtcore
qt5-qtdbus
qt5-qtdeclarative-import-localstorageplugin
qt5-qtdeclarative-import-location
qt5-qtdeclarative-import-multimedia
qt5-qtdeclarative-import-qtquick2plugin
qt5-qtdeclarative-import-window2
qt5-qtdeclarative-import-xmllistmodel
qt5-qtdeclarative-pim-organizer
qt5-qtdeclarative-qmlscene
qt5-qtdeclarative-qtquick
qt5-qtdeclarative
qt5-qtdocgallery
qt5-qtfeedback
qt5-qtgraphicaleffects
qt5-qtgui
qt5-qtlocation
qt5-qtmultimedia-gsttools
qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer
qt5-qtmultimedia
qt5-qtnetwork
qt5-qtopengl
qt5-qtpim-contacts
qt5-qtpim-organizer
qt5-qtpim-versit
qt5-qtpim-versitorganizer
qt5-qtpositioning
qt5-qtprintsupport
qt5-qtquickcontrols-nemo-examples
qt5-qtquickcontrols-nemo
qt5-qtquickcontrols
qt5-qtsensors-plugin-sensorfw
qt5-qtsensors
qt5-qtserviceframework
qt5-qtsql
qt5-qtsvg-plugin-imageformat-svg
qt5-qtsvg
qt5-qtsysteminfo
qt5-qtwebkit-uiprocess-launcher
qt5-qtwidgets
qt5-qtxml
qt5-qtxmlpatterns
qtcontacts-sqlite-qt5
quillimagefilter-qt5
readline
recode
rootfiles
rpm-libs
rpm
screen
sed
sensorfw-qt5-configs
sensorfw-qt5
setup
shadow-utils
shared-mime-info
signon-qt5
sound-theme-freedesktop
speex
sqlite
#ssu-vendor-data-nemo
ssu
statefs-contextkit-subscriber
#statefs-pp
statefs-qt5
statefs
##systemd-console-ttyS0
##systemd-sysv
systemd-config-mer
systemd-analyze
systemd-libs
systemd-user-session-targets
systemd
taglib
tar
telepathy-accounts-signon
telepathy-farstream
telepathy-glib
telepathy-mission-control
telepathy-qt5-farstream
telepathy-qt5
telepathy-ring
time
timed-qt5
tinycdb
tone-generator
totem-pl-parser
tracker-utils
tracker
tumbler
tzdata-timed
tzdata
unzip
usb-moded
usbutils
util-linux
v8
vim-common
vim-enhanced
vim-filesystem
vim-minimal
voicecall-qt5
wayland
wget
wireless-regdb
wireless-tools
wpa_supplicant
xdg-user-dirs
xdg-utils
xkeyboard-config
xorg-x11-filesystem
xorg-x11-xkb-utils
xz-libs
xz
zlib
zypper
qt5-qtquickcontrols-nemo-examples
#lipstick-qt5-tools-ui
openssh-clients
gfx-rpi
gfx-rpi-libEGL
gfx-rpi-libGLESv2
glacier-dialer
rpi-configs
qt5-qtplatformplugin-rpi
qt5-qtwayland
-qt5-qtwayland-wayland_egl
-mesa-llvmpipe-libwayland-egl
fingerterm
alsa-utils
oneshot
nano
zypper
%end
%pre
touch $INSTALL_ROOT/.bootstrap
%end
%post
rm $INSTALL_ROOT/.bootstrap
mv /usr/boot/* /boot/
mv /usr/lib/modules /lib/
cp /usr/share/patches-rpi/nemovars.conf /usr/share/lipstick-glacier-home-qt5/
export SSU_RELEASE_TYPE=release
### begin 01_arch-hack
# Without this line the rpm does not get the architecture right.
echo -n "armv7hl-meego-linux" > /etc/rpm/platform
# Also libzypp has problems in autodetecting the architecture so we force tha as well.
# https://bugs.meego.com/show_bug.cgi?id=11484
echo "arch = armv7hl" >> /etc/zypp/zypp.conf
### end 01_arch-hack
### begin 01_rpm-rebuilddb
# Rebuild db using target's rpm
echo -n "Rebuilding db using target rpm.."
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
echo "done"
### end 01_rpm-rebuilddb
### begin 50_oneshot
# exit boostrap mode
rm -f /.bootstrap
# export some important variables until there's a better solution
export LANG=en_US.UTF-8
export LC_COLLATE=en_US.UTF-8
export GSETTINGS_BACKEND=gconf
export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
# run the oneshot triggers for root and first user uid
UID_MIN=$(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2)
DEVICEUSER=`getent passwd $UID_MIN | sed 's/:.*//'`
if [ -x /usr/bin/oneshot ]; then
su -c "/usr/bin/oneshot --mic"
su -c "/usr/bin/oneshot --mic" $DEVICEUSER
fi
which chpasswd
which patch
echo root:root|/usr/sbin/chpasswd
%end
%post --nochroot
if [ -n "$IMG_NAME" ]; then
echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release
fi
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.