Compare commits
308 Commits
remote-sst
...
kirkstone
| Author | SHA1 | Date | |
|---|---|---|---|
| fb8c8d848a | |||
| 154c00bcad | |||
| f4fe20cf29 | |||
|
|
ab7a89e6fb | ||
|
|
fd142a9602 | ||
|
|
4c1e174438 | ||
|
|
7a8f88dde3 | ||
|
|
b3f0d385d4 | ||
|
|
8fb46b4dea | ||
|
|
f50fcdcc86 | ||
|
|
fb234003bf | ||
|
|
0dde7d704a | ||
|
|
f7e8ab52d2 | ||
|
|
d3b10e7d6b | ||
|
|
92380d368e | ||
|
|
d5b398bb02 | ||
|
|
1b91a95078 | ||
|
|
160d42e42a | ||
|
|
d9ffe021dd | ||
|
|
53fdb45d3f | ||
|
|
5d484f1a8a | ||
|
|
29ce9f23fa | ||
|
|
1f738ee110 | ||
|
|
6042877daa | ||
|
|
438f51e5c1 | ||
|
|
b3de710465 | ||
|
|
a4dcc10c4d | ||
|
|
2c8402aa20 | ||
|
|
66e4106520 | ||
|
|
8176a2a893 | ||
|
|
f2ae934032 | ||
|
|
b3eefa0291 | ||
|
|
6f308eca04 | ||
|
|
37d83c66e0 | ||
|
|
3588af3c36 | ||
|
|
4984b0323a | ||
|
|
b0633ff0dc | ||
|
|
6ce853cf92 | ||
|
|
11c94efca2 | ||
|
|
d699820ef7 | ||
|
|
dae8b7c6bd | ||
|
|
7a3b2d6fb6 | ||
|
|
f34eb509b1 | ||
|
|
2fb64d8ea2 | ||
|
|
0c5b1b1419 | ||
|
|
df5a93ed5c | ||
|
|
75231523fa | ||
|
|
c3672bd60b | ||
|
|
6230e3eb9f | ||
|
|
03b7b8c9c9 | ||
|
|
70ebea74f9 | ||
|
|
4a20f472e7 | ||
|
|
7ec30dd8db | ||
|
|
77991352d2 | ||
|
|
79b7081b18 | ||
|
|
496883ea76 | ||
|
|
57bd26030a | ||
|
|
537184d597 | ||
|
|
5c18f09d97 | ||
|
|
926671eca1 | ||
|
|
14380b639c | ||
|
|
fb8c00a03e | ||
|
|
79726d0278 | ||
|
|
5c90a45ff5 | ||
|
|
8b72684b6c | ||
|
|
9e42065c7f | ||
|
|
e71d9a59d2 | ||
|
|
917d9299ed | ||
|
|
db846fab9e | ||
|
|
2d38334eaf | ||
|
|
4804547b10 | ||
|
|
7ddee3ef10 | ||
|
|
ed6d23d68d | ||
|
|
50942b1ade | ||
|
|
71f0207ace | ||
|
|
4c3d75c89a | ||
|
|
6ca627cb01 | ||
|
|
069c3737f8 | ||
|
|
460d41871c | ||
|
|
d7feada280 | ||
|
|
e6e8af2285 | ||
|
|
85dbb88600 | ||
|
|
ae97557264 | ||
|
|
b3e5fdfed2 | ||
|
|
1c815a27f4 | ||
|
|
53152fd934 | ||
|
|
95485a778e | ||
|
|
04d9a5c977 | ||
|
|
840dfe5d15 | ||
|
|
9967ff852f | ||
|
|
21a69cd581 | ||
|
|
bac420ed7e | ||
|
|
ce8144fa5a | ||
|
|
126de7f8fa | ||
|
|
09d1fa1576 | ||
|
|
030f3515f8 | ||
|
|
5239c1cdb9 | ||
|
|
9ccbb065e8 | ||
|
|
33d3bbc56b | ||
|
|
78195319b3 | ||
|
|
79919cbef8 | ||
|
|
617a7af3f1 | ||
|
|
36f2f65cef | ||
|
|
4f1ae30fac | ||
|
|
a86863af6b | ||
|
|
55b9f3daaa | ||
|
|
893e66b352 | ||
|
|
e4c1fa7ce9 | ||
|
|
0fe01a6059 | ||
|
|
a019147efd | ||
|
|
b5d17de7cf | ||
|
|
0d1b428b13 | ||
|
|
13972e1d85 | ||
|
|
e10a176f88 | ||
|
|
715ae745b6 | ||
|
|
af1911a492 | ||
|
|
5fe4be9bf4 | ||
|
|
06841f7897 | ||
|
|
85fd1f9df6 | ||
|
|
71d64d3d6c | ||
|
|
3d10fec376 | ||
|
|
79a33e3e52 | ||
|
|
7242634678 | ||
|
|
663451f0c4 | ||
|
|
5d520237d6 | ||
|
|
51aadaaaa5 | ||
|
|
f38fc04e8c | ||
|
|
5923824466 | ||
|
|
d293ed475f | ||
|
|
d69e4f1315 | ||
|
|
03d406a2d0 | ||
|
|
372b4c1003 | ||
|
|
ec65d92154 | ||
|
|
ef4bdb0676 | ||
|
|
a7807559ba | ||
|
|
d24a00df42 | ||
|
|
931ffeb523 | ||
|
|
e5f9d491ff | ||
|
|
b173db7096 | ||
|
|
024e5c8772 | ||
|
|
32e2fc92d4 | ||
|
|
1820b786fa | ||
|
|
f80b6ad435 | ||
|
|
00c0f6fc66 | ||
|
|
0411624070 | ||
|
|
8257c45c9a | ||
|
|
f02e4cfd6e | ||
|
|
a8d75f0391 | ||
|
|
488534e5b0 | ||
|
|
e010cfc0b1 | ||
|
|
87ba258871 | ||
|
|
13f585eebe | ||
|
|
db0fc7f7fb | ||
|
|
bea7d9d00a | ||
|
|
9ebd223d47 | ||
|
|
ab8d24794e | ||
|
|
93a4e97816 | ||
|
|
1e88143ba8 | ||
|
|
9e4474c2f2 | ||
|
|
595fbe4d32 | ||
|
|
d79199c35a | ||
|
|
dbbac53a6d | ||
|
|
bf8c07c569 | ||
|
|
9fc3dc01c2 | ||
|
|
ed7682ca70 | ||
|
|
c04023ae7c | ||
|
|
2f33aae751 | ||
|
|
446da46495 | ||
|
|
4920b0d8c6 | ||
|
|
6f4fa506aa | ||
|
|
b5940827d8 | ||
|
|
06000b9231 | ||
|
|
b550845bc4 | ||
|
|
08c4665a82 | ||
|
|
e450bd9313 | ||
|
|
f163bf441c | ||
|
|
4b8921dd23 | ||
|
|
0437dd8d15 | ||
|
|
549b52ed48 | ||
|
|
0cf33d763e | ||
|
|
5e95d64cca | ||
|
|
409483d5b5 | ||
|
|
f6e72fa2e3 | ||
|
|
e9ac12e6f2 | ||
|
|
ec7946dcb0 | ||
|
|
a480769628 | ||
|
|
f3ae63b9c5 | ||
|
|
6faee2bd7e | ||
|
|
1ee6848e33 | ||
|
|
3c73cc6208 | ||
|
|
6deef03d0f | ||
|
|
d66556e2aa | ||
|
|
190e71805e | ||
|
|
af34ecdd84 | ||
|
|
bd86dda708 | ||
|
|
28e8c91482 | ||
|
|
bb5833ad59 | ||
|
|
9883633e4f | ||
|
|
63d5a3b6ab | ||
|
|
aa68922983 | ||
|
|
f90d639dfa | ||
|
|
851fc4da51 | ||
|
|
a33b93ac66 | ||
|
|
598e4004a6 | ||
|
|
2442ec1ee0 | ||
|
|
1b9960f253 | ||
|
|
56b6d11605 | ||
|
|
6553814e86 | ||
|
|
1847519cf3 | ||
|
|
d4c5383948 | ||
|
|
1760eea00f | ||
|
|
84ad5be0a9 | ||
|
|
92bd1073c6 | ||
|
|
fe42ec1128 | ||
|
|
3ca852b598 | ||
|
|
4801bf3cd5 | ||
|
|
aa09cecd96 | ||
|
|
1d155d9d88 | ||
|
|
05a420b9d4 | ||
|
|
2c73bd74f9 | ||
|
|
4609be5aa2 | ||
|
|
2d846191c0 | ||
|
|
6ed688828b | ||
|
|
82ab133fda | ||
|
|
81f899aee6 | ||
|
|
fd2831e6fb | ||
|
|
a735f099a6 | ||
|
|
3f10ead336 | ||
|
|
85f4695cff | ||
|
|
ab38d6e19f | ||
|
|
7e73138dbb | ||
|
|
57d6439f6b | ||
|
|
9657f9bbfa | ||
|
|
723f54fb82 | ||
|
|
11764a3c93 | ||
|
|
fe7b051c0b | ||
|
|
c374bfe685 | ||
|
|
95189c7710 | ||
|
|
b67d620c97 | ||
|
|
c77b7e05cd | ||
|
|
a841a014c3 | ||
|
|
684f765d27 | ||
|
|
b2f57e0f17 | ||
|
|
ab5bf122e9 | ||
|
|
b4d2e1834d | ||
|
|
010614c7b9 | ||
|
|
d09afce6f8 | ||
|
|
9efa80d926 | ||
|
|
9a8ab2f035 | ||
|
|
7de041956a | ||
|
|
8dceec4bbb | ||
|
|
23ebf7f38f | ||
|
|
5ad14a2d73 | ||
|
|
51c94f5066 | ||
|
|
20ac15f967 | ||
|
|
98de75b63b | ||
|
|
769a0e0f32 | ||
|
|
a7ae6d978b | ||
|
|
4f7eb763c8 | ||
|
|
9fc26f7ba0 | ||
|
|
ed61a8799f | ||
|
|
9583c42495 | ||
|
|
202192d55a | ||
|
|
ef94f5cac4 | ||
|
|
0d0764b1a7 | ||
|
|
a321532a82 | ||
|
|
2afa50d1f0 | ||
|
|
590b8ca8bb | ||
|
|
e7a7e65c17 | ||
|
|
d916915ce3 | ||
|
|
e0ce02ae9c | ||
|
|
49bed45070 | ||
|
|
35a709c7e6 | ||
|
|
a16e65298a | ||
|
|
eaecabbc59 | ||
|
|
5f0aa504e4 | ||
|
|
0389e6a080 | ||
|
|
2eacce9896 | ||
|
|
48dfeb0ce2 | ||
|
|
e602738f22 | ||
|
|
0f00f37c8d | ||
|
|
3c4eb9919d | ||
|
|
5ee9a3271c | ||
|
|
21b2447183 | ||
|
|
6b4c68e8c4 | ||
|
|
ebd94e2afd | ||
|
|
0184428974 | ||
|
|
3161bf4239 | ||
|
|
7f2ea5ab33 | ||
|
|
565e1a19cd | ||
|
|
d3c9bdef55 | ||
|
|
aa892ad0fc | ||
|
|
635aadf003 | ||
|
|
cfb70c1ddf | ||
|
|
835bfa17ab | ||
|
|
f3c630d617 | ||
|
|
8832368b22 | ||
|
|
6d38466293 | ||
|
|
30da1979e6 | ||
|
|
7b6f297ad0 | ||
|
|
17e7b655c1 | ||
|
|
6003d4d3b5 | ||
|
|
8b8213afad | ||
|
|
dc93483c39 | ||
|
|
30f117019f | ||
|
|
ed6923ecef | ||
|
|
79f7f61ce1 | ||
|
|
6e75bd8c4a |
177
README
177
README
@@ -1,177 +0,0 @@
|
||||
.-. .-.
|
||||
| \ / | .-.
|
||||
| \/ |.-----.----.| | .-----.-----.-----..----.
|
||||
| || | .-'| '--.| ---' __ | |.-- |
|
||||
| | || ' | | | --'|--- | | | | ' \
|
||||
'----'---''-----'--' '----''-----'--. |--'--''--`--`
|
||||
.-' |
|
||||
'----'
|
||||
|
||||
meta-mortsgna is yet another distribution layer. It is based on Ångström
|
||||
distribution - check https://github.com/Angstrom-distribution/meta-angstrom.
|
||||
|
||||
The target of this layer is to build images with the best out-of-the-box
|
||||
experience and to support developers with helpers for common tasks.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Layer maintainer: Andreas Müller <schnitzeltony@gmail.com>
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Additionally this layer checks the following variable in local.conf:
|
||||
|
||||
* MORTSGNA_ARMV7_TUNE:
|
||||
If this variable is set to "1", all armv7a / cortex variants are build as
|
||||
armv7a.
|
||||
|
||||
+ Reduce build time/disk-space required when building for multiple machines
|
||||
- Build optimization (e.g vfp/NEON) is not the best your machine can get
|
||||
|
||||
Rules of thumb:
|
||||
* If you build images for multiple armv7 machines and don't need to tickle
|
||||
the last quarter of your machine's performance:
|
||||
Set MORTSGNA_ARMV7_TUNE="1"
|
||||
* If you are looking for best optimization for your machine and/or you have
|
||||
a fast build host with lots of disk-space: don't!
|
||||
see conf/distro/include/mortsgna-armv7-tune.inc for more information
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
The following image-features are (re-)added:
|
||||
|
||||
* x11-base: Let systemd boot into grahical target
|
||||
|
||||
* volatile-log: If set, journal goes to volatile /run/log and /var/log is
|
||||
linked to /run/log which is volatile.
|
||||
NOTE: We change OE-Core's default here: In bitbake.conf VOLATILE_LOG_DIR is
|
||||
enabled so that all images are build for volatile log. Since this is far off
|
||||
what others do change the default.
|
||||
See conf/distro/include/mortsgna-image-logfile-volatile.inc for more
|
||||
information.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
This layer contains the following folders:
|
||||
|
||||
appends:
|
||||
All bbappends are stored in this folder. For each layer a sub-folder exists
|
||||
and the appends are dynamic: If a layer is not in bblayers.conf the folder
|
||||
for the layer is ignored (see conf/layer.conf).
|
||||
|
||||
classes:
|
||||
* instant-remote-debug.bbclass: Create a sysroot for remote debugging -
|
||||
Yocto's suggested workflows are cumbersome for ad-hoc remote debugging.
|
||||
* instant-native-sysroot.bbclass: Native recipes inheriting this class
|
||||
install everything necessary to run into a native sysroot. It's like a
|
||||
quick & minimal native SDK. Currently gcc-cross and gdb-cross inherit this
|
||||
class to enable instant remote debugging.
|
||||
* user-with-full-skel.bbclass: Helper to populate /etc/skel in user's
|
||||
home at image creation time.
|
||||
|
||||
conf:
|
||||
layer.conf / and distro configurations
|
||||
|
||||
recipes-defaultconfig:
|
||||
* default configurations for lxqt and xfce to get a preconfigured
|
||||
environment. Note that all data is stored in th image at /etc/skel
|
||||
* unpriv-user: A default non root user (named morona) member of many groups
|
||||
required for daily operations. It is shipped with home folder populated
|
||||
form /etc/skel.
|
||||
|
||||
recipes-image:
|
||||
All images for console / kde / lxqt / xfce ar found. allgui-images build
|
||||
images for all graphical environments.
|
||||
|
||||
recipes-utlis:
|
||||
* udev-rules-udisks-hide-bootpart: Hide boot partition from udisks
|
||||
* Some tools (these are the only left from angstrom). Honestly: Have never
|
||||
used them but kept them if users come from angstrom and might miss
|
||||
them.
|
||||
|
||||
scripts:
|
||||
A script collection
|
||||
* to write images or kernel only to sdcards
|
||||
* for changing recipe checksums automatically after version bump
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
This layer depends on:
|
||||
|
||||
URI: git://git.openembedded.org/openembedded-core
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
|
||||
For building console images:
|
||||
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-oe
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-networking
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Other layers are required when building 'GUI images'
|
||||
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-gnome
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-multimedia
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-python
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-xfce
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
URI: git://github.com/meta-qt5/meta-qt5.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
URI: git://github.com/schnitzeltony/meta-qt5-extra.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
URI: git://github.com/schnitzeltony/meta-office.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
URI: git://github.com/OSSystems/meta-browser.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
URI: git://github.com/cazfi/meta-games.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
URI: git://github.com/schnitzeltony/meta-retro
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
To add plymouth to 'GUI images'
|
||||
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-initramfs
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
To hear radio
|
||||
|
||||
URI: git://github.com/balister/meta-sdr.git
|
||||
Layer: meta-initramfs
|
||||
branch: master
|
||||
revision: HEAD
|
||||
230
README.md
Normal file
230
README.md
Normal file
@@ -0,0 +1,230 @@
|
||||
# meta-mortsgna: (more than) yet another distro layer
|
||||
|
||||
The target of this layer is to build images with the best out-of-the-box experience and to support developers with helpers for common tasks.
|
||||
It has its origin Ångström distribution - check https://github.com/Angstrom-distribution/meta-angstrom.
|
||||
|
||||
----------------------------------------------
|
||||
### Additional global variable for local.conf:
|
||||
|
||||
* MORTSGNA_ARMV7_TUNE:
|
||||
|
||||
If this variable is set to "1", all armv7a / cortex variants are build as
|
||||
armv7a.
|
||||
|
||||
\+ Reduce build time/disk-space required when building for multiple machines
|
||||
|
||||
\- Build optimization (e.g vfp/NEON) is not the best your machine can get
|
||||
|
||||
Rules of thumb:
|
||||
* If you build images for multiple armv7 machines and don't need to tickle
|
||||
the last quarter of your machine's performance:
|
||||
Set MORTSGNA_ARMV7_TUNE="1"
|
||||
* If you are looking for best optimization for your machine and/or you have
|
||||
a fast build host with lots of disk-space: don't!
|
||||
see [mortsgna-armv7-tune.inc](conf/distro/include/mortsgna-armv7-tune.inc) for more information
|
||||
|
||||
------------------------------------------------
|
||||
### The following image-features are (re-)added:
|
||||
|
||||
* x11-base:
|
||||
Let systemd boot into grahical target
|
||||
|
||||
* volatile-log:
|
||||
If set, journal goes to volatile /run/log and /var/log is linked to /run/log
|
||||
which is volatile. NOTE: We change OE-Core's default here: In bitbake.conf
|
||||
VOLATILE_LOG_DIR is enabled so that all images are build for volatile log.
|
||||
Since this is far off what others do change the default. See
|
||||
[mortsgna-image-logfile-volatile.inc](conf/distro/include/mortsgna-image-logfile-volatile.inc) for more
|
||||
information.
|
||||
|
||||
----------------------------------------------
|
||||
### This layer contains the following folders:
|
||||
|
||||
[appends](appends):
|
||||
* All bbappends are stored in this folder. For each layer a sub-folder exists
|
||||
and the appends are dynamic: If a layer is not in bblayers.conf the folder
|
||||
for the layer is ignored (see conf/layer.conf).
|
||||
|
||||
[classes](classes):
|
||||
* [instant-sysroot-target.bbclass](classes/instant-sysroot-target.bbclass): Create a sysroot for target remote
|
||||
building/debugging - Yocto's suggested workflows are cumbersome for ad-hoc
|
||||
usage.
|
||||
* [instant-sysroot-native.bbclass](classes/instant-sysroot-native.bbclass): Native recipes inheriting this class
|
||||
install everything necessary to run into a native sysroot. For a
|
||||
quick & minimal native SDK gcc-cross and gdb-cross inherit this class.
|
||||
class to enable instant remote debugging.
|
||||
* [user-with-full-skel.bbclass](classes/user-with-full-skel.bbclass): Helper to populate /etc/skel in user's
|
||||
home at image creation time.
|
||||
|
||||
[conf](conf):
|
||||
* layer.conf / and distro configurations
|
||||
|
||||
[recipes-defaultconfig](recipes-defaultconfig):
|
||||
* default configurations for lxqt and xfce to get a preconfigured
|
||||
environment. Note that all data is stored in th image at /etc/skel
|
||||
* unpriv-user: A default non root user (named morona) member of many groups
|
||||
required for daily operations. It is shipped with home folder populated
|
||||
form /etc/skel.
|
||||
|
||||
[recipes-image](recipes-image):
|
||||
* All images for cinnamon / console / gnome / kde / lxqt / weston / xfce are found in this folder.
|
||||
allgui-images build images for all desktop environments.
|
||||
|
||||
[recipes-utils](recipes-utils):
|
||||
* udev-rules-udisks-hide-bootpart: Hide boot partition from udisks
|
||||
* Some tools (these are the only left from angstrom). Honestly: Have never
|
||||
used them but kept them if users come from angstrom and might miss
|
||||
them.
|
||||
|
||||
[scripts](scripts):
|
||||
A script collection
|
||||
* to write images or kernel only to sdcards
|
||||
* for changing recipe checksums automatically after version bump -> [update-recipe-checksums.sh](scripts/update-recipe-checksums.sh)
|
||||
|
||||
|
||||
--------------------------
|
||||
### This layer depends on:
|
||||
|
||||
```
|
||||
URI: git://git.openembedded.org/openembedded-core
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
#### For building console-images:
|
||||
```
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-oe
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
```
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-networking
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
#### For building GUI-images:
|
||||
|
||||
```
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-gnome
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
```
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-multimedia
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
```
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-python
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
```
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-xfce
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
```
|
||||
URI: git://github.com/meta-qt5/meta-qt5.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
```
|
||||
URI: git://github.com/schnitzeltony/meta-qt5-extra.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
```
|
||||
URI: git://github.com/schnitzeltony/meta-gnome-forks.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
#### To add plymouth to GUI-images:
|
||||
|
||||
```
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
Layer: meta-initramfs
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
#### To surf the internet:
|
||||
|
||||
```
|
||||
URI: git://github.com/OSSystems/meta-browser.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
#### To pretend work:
|
||||
```
|
||||
URI: git://github.com/schnitzeltony/meta-office.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
#### To produce music:
|
||||
|
||||
```
|
||||
URI: git://github.com/schnitzeltony/meta-musicians.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
#### To hear radio:
|
||||
|
||||
```
|
||||
URI: git://github.com/balister/meta-sdr.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
#### To happily waste time:
|
||||
|
||||
```
|
||||
URI: git://github.com/cazfi/meta-games.git
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
```
|
||||
URI: git://github.com/schnitzeltony/meta-retro
|
||||
branch: master
|
||||
revision: HEAD
|
||||
```
|
||||
|
||||
------------
|
||||
Contributing
|
||||
------------
|
||||
* Submit any patches against the `meta-mortsgna` layer by using the GitHub pull-request feature.
|
||||
|
||||
|
||||
--------
|
||||
Policies
|
||||
--------
|
||||
* Please do not send private emails to maintainers. For questions/suggestions.. use GitHub issues.
|
||||
* Pull requests should follow [OE-Styleguide](https://www.openembedded.org/wiki/Styleguide) with the following additions:
|
||||
* Use 4 spaces for indention always
|
||||
* For splitting of long list values use four-space indentation on successive lines set the closing quote as the first character ([OE-Styleguide](https://www.openembedded.org/wiki/Styleguide) - second example)
|
||||
|
||||
|
||||
-----------
|
||||
Maintainers
|
||||
-----------
|
||||
|
||||
Layer maintainer: Andreas Müller <schnitzeltony@gmail.com>
|
||||
3
TODO
3
TODO
@@ -1,8 +1,5 @@
|
||||
These are tasks are planned:
|
||||
|
||||
OE:
|
||||
* Introduce security_flags.inc
|
||||
|
||||
Scripts:
|
||||
* get rid of bashisms
|
||||
* dialog -> ncurses?
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
PACKAGECONFIG_append = " use-egl impl-side-painting proprietary-codecs"
|
||||
1
appends/meta-browser/chromium-ozone-wayland_%.bbappend
Normal file
1
appends/meta-browser/chromium-ozone-wayland_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG = "proprietary-codecs"
|
||||
1
appends/meta-browser/chromium-x11_%.bbappend
Normal file
1
appends/meta-browser/chromium-x11_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG = "proprietary-codecs"
|
||||
@@ -18,7 +18,6 @@ if(wnd_type == "WINDOW_TYPE_NORMAL") then
|
||||
"xarchiver",
|
||||
"Thunar",
|
||||
"geany",
|
||||
"gedit",
|
||||
}
|
||||
|
||||
app_name = get_application_name()
|
||||
|
||||
@@ -1 +1 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
3
appends/meta-gnome/faenza-icon-theme_%.bbappend
Normal file
3
appends/meta-gnome/faenza-icon-theme_%.bbappend
Normal file
@@ -0,0 +1,3 @@
|
||||
do_install:prepend() {
|
||||
install -d ${D}${datadir}/themes
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
PACKAGECONFIG_append = " archive gcr libmtp libgphoto2 samba systemd"
|
||||
PACKAGECONFIG:append = " archive gcr libmtp libgphoto2 samba systemd"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
PACKAGECONFIG ?= " \
|
||||
sndfile \
|
||||
jack \
|
||||
pulseaudio \
|
||||
portaudio \
|
||||
readline \
|
||||
sndfile \
|
||||
"
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
PACKAGECONFIG_append = " \
|
||||
hls \
|
||||
libmms \
|
||||
faad \
|
||||
fluidsynth \
|
||||
gtk \
|
||||
"
|
||||
@@ -1,4 +0,0 @@
|
||||
PACKAGECONFIG_append = " \
|
||||
mad \
|
||||
x264 \
|
||||
"
|
||||
5
appends/meta-networking/dnsmasq_%.bbappend
Normal file
5
appends/meta-networking/dnsmasq_%.bbappend
Normal file
@@ -0,0 +1,5 @@
|
||||
# In our environment dnsmasq is used by networkmanager only. That takes care
|
||||
# of all the configuration parameters necessary. Unfortunately this is broken
|
||||
# by dnsmasq running as service: It is set-up by configuration files and that
|
||||
# are not matching networkmanagers's needs.
|
||||
SYSTEMD_AUTO_ENABLE:${PN} = "disable"
|
||||
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append = " gnome"
|
||||
3
appends/meta-oe/googletest_%.bbappend
Normal file
3
appends/meta-oe/googletest_%.bbappend
Normal file
@@ -0,0 +1,3 @@
|
||||
EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"
|
||||
|
||||
RDEPENDS:${PN}-dev:remove = "${PN}-staticdev"
|
||||
@@ -1,4 +1,4 @@
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
# Since we
|
||||
# * do not have angstroms's DISTRO_TYPE
|
||||
# * do not want to set all debug-tweaks
|
||||
|
||||
1
appends/meta-oe/nodejs_%.bbappend
Normal file
1
appends/meta-oe/nodejs_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append = " shared"
|
||||
1
appends/meta-oe/octave_%.bbappend
Normal file
1
appends/meta-oe/octave_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append = "gui"
|
||||
@@ -1 +1 @@
|
||||
RRECOMMENDS_${PN} += "udev-rules-udisks-hide-bootpart"
|
||||
RRECOMMENDS:${PN} += "udev-rules-udisks-hide-bootpart"
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
RRECOMMENDS_${PN} += "udev-rules-udisks-hide-bootpart"
|
||||
3
appends/meta-qt5/qtbase-native_%.bbappend
Normal file
3
appends/meta-qt5/qtbase-native_%.bbappend
Normal file
@@ -0,0 +1,3 @@
|
||||
inherit instant-sysroot-native
|
||||
|
||||
INSANE_SKIP += "native-last"
|
||||
@@ -4,3 +4,39 @@ PACKAGECONFIG_DISTRO += " \
|
||||
gtk \
|
||||
harfbuzz \
|
||||
"
|
||||
|
||||
inherit instant-paths
|
||||
|
||||
do_install:append() {
|
||||
# at least KDE's extra-cmake-modules expect qmake-qt5
|
||||
ln -s qmake ${D}/${bindir}/qmake-qt5
|
||||
}
|
||||
|
||||
do_copy_to_target_sysroot:append() {
|
||||
# ---------- qt.conf ----------
|
||||
# create
|
||||
generate_qt_config_file_paths
|
||||
|
||||
# move to target sysroot
|
||||
qtconf=`basename ${OE_QMAKE_QTCONF_PATH}`
|
||||
targetpath=${INSTANT_TARGET_PATH}${OE_QMAKE_PATH_HOST_BINS}
|
||||
rm -f "$targetpath/$qtconf"
|
||||
mv "${OE_QMAKE_QTCONF_PATH}" "$targetpath"
|
||||
echo "${OE_QMAKE_PATH_HOST_BINS}/$qtconf" >> ${INSTANT_MANIFEST}
|
||||
|
||||
# adjust to instant sysroot
|
||||
sed -i \
|
||||
-e 's:${STAGING_DIR_NATIVE}:${INSTANT_NATIVE_PATH}:g' \
|
||||
-e 's:${STAGING_DIR_HOST}:${INSTANT_TARGET_PATH}:g' \
|
||||
-e 's:^HostBinaries =.*:HostBinaries = ${INSTANT_NATIVE_PATH}${bindir}${QT_DIR_NAME}:g' \
|
||||
"$targetpath/$qtconf"
|
||||
|
||||
# ---------- mkspecs qmake.conf ----------
|
||||
rm ${INSTANT_TARGET_PATH}${libdir}${QT_DIR_NAME}/mkspecs/${XPLATFORM}/qmake.conf
|
||||
cp -f "${WORKDIR}/packages-split/${PN}-mkspecs${libdir}${QT_DIR_NAME}/mkspecs/${XPLATFORM}/qmake.conf" \
|
||||
"${INSTANT_TARGET_PATH}${libdir}${QT_DIR_NAME}/mkspecs/${XPLATFORM}/"
|
||||
sed -i \
|
||||
-e 's:${DEBUG_PREFIX_MAP}:-fdebug-prefix-map=${INSTANT_TARGET_PATH}= -fdebug-prefix-map=${INSTANT_NATIVE_PATH}=:g' \
|
||||
"${INSTANT_TARGET_PATH}${libdir}${QT_DIR_NAME}/mkspecs/${XPLATFORM}/qmake.conf"
|
||||
|
||||
}
|
||||
|
||||
1
appends/meta-qt5/qtquickcontrols2_%.bbappend
Normal file
1
appends/meta-qt5/qtquickcontrols2_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append = " examples"
|
||||
1
appends/meta-qt5/qtwayland_%.bbappend
Normal file
1
appends/meta-qt5/qtwayland_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append = " examples"
|
||||
3
appends/meta-qt5/vlc_%.bbappend
Normal file
3
appends/meta-qt5/vlc_%.bbappend
Normal file
@@ -0,0 +1,3 @@
|
||||
# VLC is not part of meta-qt5. We add append here so the append will work only
|
||||
# in case meta-qt5 is in layers
|
||||
PACKAGECONFIG:append = " qt5"
|
||||
@@ -1 +1 @@
|
||||
PACKAGECONFIG_append = " startup-notification gladeui"
|
||||
PACKAGECONFIG:append = " gladeui2"
|
||||
|
||||
3
appends/meta-xfce/packagegroup-xfce-extended.bbappend
Normal file
3
appends/meta-xfce/packagegroup-xfce-extended.bbappend
Normal file
@@ -0,0 +1,3 @@
|
||||
RRECOMMENDS:${PN} += " \
|
||||
imsettings \
|
||||
"
|
||||
@@ -1 +1 @@
|
||||
PACKAGECONFIG_append = " notify"
|
||||
PACKAGECONFIG:append = " notify"
|
||||
|
||||
@@ -1 +1 @@
|
||||
PACKAGECONFIG_append = " datetime-setter sound-setter notify"
|
||||
PACKAGECONFIG:append = " sound-setter notify"
|
||||
|
||||
1
appends/meta-xfce/xfce4-terminal_%.bbappend
Normal file
1
appends/meta-xfce/xfce4-terminal_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
RRECOMMENDS:${PN} += "xfce4-terminal-default-config"
|
||||
@@ -3,14 +3,12 @@
|
||||
|
||||
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
|
||||
|
||||
EDITOR="vi" # needed for packages like cron, git-commit
|
||||
|
||||
TERM="xterm-256color"
|
||||
|
||||
# Set the prompt for bash and ash (no other shells known to be in use here)
|
||||
# Set the prompt for bash
|
||||
PS1='\u@\h:\W\$ '
|
||||
PROMPT_COMMAND='printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
|
||||
|
||||
# loop profile.d scriptlets
|
||||
if [ -d /etc/profile.d ]; then
|
||||
for i in /etc/profile.d/*.sh; do
|
||||
if [ -f $i -a -r $i ]; then
|
||||
@@ -20,15 +18,44 @@ if [ -d /etc/profile.d ]; then
|
||||
unset i
|
||||
fi
|
||||
|
||||
if command -v resize >/dev/null && command -v tty >/dev/null; then
|
||||
# Make sure we are on a serial console (i.e. the device used starts with
|
||||
# /dev/tty[A-z]), otherwise we confuse e.g. the eclipse launcher which
|
||||
# tries do use ssh
|
||||
case $(tty) in
|
||||
/dev/tty[A-z]*) resize >/dev/null;;
|
||||
esac
|
||||
# set locale fallback - all our images contain en_US
|
||||
if [ -z "$LANG" ]; then
|
||||
LANG="en_US.utf8"
|
||||
export LANG
|
||||
fi
|
||||
|
||||
export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM PROMPT_COMMAND
|
||||
# `ls' enhancements:
|
||||
eval `dircolors`
|
||||
alias l.='ls -d .* --color=auto'
|
||||
alias ll='ls -l --color=auto'
|
||||
alias ls='ls --color=auto'
|
||||
|
||||
# colorize all grep variants
|
||||
alias grep='grep --color'
|
||||
alias egrep='egrep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias xzegrep='xzegrep --color=auto'
|
||||
alias xzfgrep='xzfgrep --color=auto'
|
||||
alias xzgrep='xzgrep --color=auto'
|
||||
alias zegrep='zegrep --color=auto'
|
||||
alias zfgrep='zfgrep --color=auto'
|
||||
alias zgrep='zgrep --color=auto'
|
||||
|
||||
# Turn on parallel history
|
||||
shopt -s histappend
|
||||
history -a
|
||||
|
||||
HOSTNAME=`hostname 2>/dev/null`
|
||||
HISTSIZE=1000
|
||||
if [ "$HISTCONTROL" = "ignorespace" ] ; then
|
||||
export HISTCONTROL=ignoreboth
|
||||
else
|
||||
export HISTCONTROL=ignoredups
|
||||
fi
|
||||
|
||||
# Turn on checkwinsize
|
||||
shopt -s checkwinsize
|
||||
|
||||
export PATH TERM PS1 PROMPT_COMMAND HOSTNAME HISTSIZE
|
||||
|
||||
umask 022
|
||||
|
||||
@@ -1,13 +1,5 @@
|
||||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
# ~/.bashrc: executed by bash(1) for interactive non-login shells.
|
||||
|
||||
PS1='\u@\h:\W\$ '
|
||||
|
||||
# `ls' enhancements:
|
||||
export LS_OPTIONS='--color=auto'
|
||||
eval `dircolors`
|
||||
alias ls='ls $LS_OPTIONS'
|
||||
alias ll='ls $LS_OPTIONS -l'
|
||||
# REVISIT - do not change path
|
||||
alias su='su --login'
|
||||
|
||||
umask 022
|
||||
if [ -f /etc/profile ]; then
|
||||
. /etc/profile
|
||||
fi
|
||||
|
||||
@@ -1,14 +1,5 @@
|
||||
# ~/.profile: executed by Bourne-compatible login shells.
|
||||
# ~/.profile: executed by interactive login shells.
|
||||
|
||||
if [ -f ~/.bashrc ]; then
|
||||
. ~/.bashrc
|
||||
fi
|
||||
|
||||
# Might fail after "su - myuser" when /dev/tty* is not writable by "myuser".
|
||||
mesg n 2>/dev/null
|
||||
|
||||
# locale fallback for UTF8
|
||||
if [ -z "$LANG" ]; then
|
||||
LANG="en_US.utf8"
|
||||
export LANG
|
||||
fi
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
BASEFILESISSUEINSTALL = "do_install_mortsgnaissue"
|
||||
|
||||
do_install_mortsgnaissue () {
|
||||
echo ${MACHINE} > ${D}${sysconfdir}/hostname
|
||||
|
||||
install -m 644 ${WORKDIR}/issue* ${D}${sysconfdir}
|
||||
if [ -n "${DISTRO_NAME}" ]; then
|
||||
echo -n "${DISTRO_NAME} " >> ${D}${sysconfdir}/issue
|
||||
|
||||
3
appends/oe-core/base-passwd_%.bbappend
Normal file
3
appends/oe-core/base-passwd_%.bbappend
Normal file
@@ -0,0 +1,3 @@
|
||||
do_install:append() {
|
||||
sed -i 's|root::0:0:root:/home/root:/bin/sh|root::0:0:root:/home/root:/bin/bash|' ${D}${datadir}/${BPN}/passwd.master
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
# It is time I do suggest common / global PREFERRED_OPENGL variable
|
||||
|
||||
PACKAGECONFIG_remove_class-target = "opengl"
|
||||
PACKAGECONFIG:remove:class-target = "opengl"
|
||||
|
||||
PACKAGECONFIG_append_class-target = " egl glesv2"
|
||||
PACKAGECONFIG:append:class-target = " egl glesv2"
|
||||
|
||||
3
appends/oe-core/cmake-native%.bbappend
Normal file
3
appends/oe-core/cmake-native%.bbappend
Normal file
@@ -0,0 +1,3 @@
|
||||
inherit instant-sysroot-native
|
||||
|
||||
INSANE_SKIP += "native-last"
|
||||
3
appends/oe-core/enchant2_%.bbappend
Normal file
3
appends/oe-core/enchant2_%.bbappend
Normal file
@@ -0,0 +1,3 @@
|
||||
PACKAGECONFIG = "hunspell"
|
||||
|
||||
RRECOMMENDS:${PN} += "hunspell-dictionaries"
|
||||
@@ -1 +1 @@
|
||||
inherit instant-native-sysroot
|
||||
inherit instant-sysroot-native
|
||||
|
||||
@@ -1 +1 @@
|
||||
inherit instant-native-sysroot
|
||||
inherit instant-sysroot-native
|
||||
|
||||
5
appends/oe-core/gstreamer1.0-plugins-bad_%.bbappend
Normal file
5
appends/oe-core/gstreamer1.0-plugins-bad_%.bbappend
Normal file
@@ -0,0 +1,5 @@
|
||||
PACKAGECONFIG:append = " \
|
||||
hls \
|
||||
faad \
|
||||
fluidsynth \
|
||||
"
|
||||
3
appends/oe-core/gstreamer1.0-plugins-ugly_%.bbappend
Normal file
3
appends/oe-core/gstreamer1.0-plugins-ugly_%.bbappend
Normal file
@@ -0,0 +1,3 @@
|
||||
PACKAGECONFIG:append = " \
|
||||
x264 \
|
||||
"
|
||||
1
appends/oe-core/libsdl2_%.bbappend
Normal file
1
appends/oe-core/libsdl2_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append:class-target = " jack"
|
||||
@@ -1 +0,0 @@
|
||||
PACKAGECONFIG ?= "gnome"
|
||||
@@ -1,4 +1,4 @@
|
||||
kernel_do_deploy_append() {
|
||||
kernel_do_deploy:append() {
|
||||
# deploy an extra link containing abiversion - used by our
|
||||
# card-kernel-write scripts
|
||||
for imageType in ${KERNEL_IMAGETYPES} ; do
|
||||
|
||||
5
appends/oe-core/packagegroup-core-x11-xserver%.bbappend
Normal file
5
appends/oe-core/packagegroup-core-x11-xserver%.bbappend
Normal file
@@ -0,0 +1,5 @@
|
||||
# we want xf86-input-libinput and some BSP layers exceed their allowed limits :(
|
||||
XSERVER:remove = " xf86-input-evdev "
|
||||
|
||||
# at least for test add xserver's standard xf86-video-modesetting
|
||||
XSERVER:append = " xf86-video-modesetting"
|
||||
1
appends/oe-core/pulseaudio_%.bbappend
Normal file
1
appends/oe-core/pulseaudio_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append = " jack"
|
||||
@@ -1,8 +1,8 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI += "file://inputrc"
|
||||
|
||||
# Get more out of our console
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
cp ${WORKDIR}/inputrc ${D}${sysconfdir}/inputrc
|
||||
}
|
||||
|
||||
1
appends/oe-core/sudo_%.bbappend
Normal file
1
appends/oe-core/sudo_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append = " pam-wheel"
|
||||
2
appends/oe-core/weston%.bbappend
Normal file
2
appends/oe-core/weston%.bbappend
Normal file
@@ -0,0 +1,2 @@
|
||||
# A root session without password activated by just two keys - honestly..
|
||||
RRECOMMENDS:${PN}:remove = "weston-init"
|
||||
86
classes/image-buildinfo-mortsgna.bbclass
Normal file
86
classes/image-buildinfo-mortsgna.bbclass
Normal file
@@ -0,0 +1,86 @@
|
||||
#
|
||||
# Writes build information to target filesystem on /etc/buildinfo
|
||||
#
|
||||
# Copyright (C) 2014 Intel Corporation
|
||||
# Author: Alejandro Enedino Hernandez Samaniego <alejandro.hernandez@intel.com>
|
||||
#
|
||||
# Licensed under the MIT license, see COPYING.MIT for details
|
||||
#
|
||||
# Usage: add INHERIT += "image-buildinfo_mortsgna-mortsgna" to your conf file
|
||||
#
|
||||
# This is a slightly reworked version oe-core's version. Patch was sent [1]
|
||||
# but...
|
||||
# [1] http://lists.openembedded.org/pipermail/openembedded-core/2018-September/274747.html
|
||||
|
||||
# Desired variables to display
|
||||
IMAGE_BUILDINFO_MORTSGNA_VARS ?= "DISTRO DISTRO_VERSION"
|
||||
|
||||
# Desired location of the output file in the image.
|
||||
IMAGE_BUILDINFO_MORTSGNA_FILE ??= "${sysconfdir}/buildinfo"
|
||||
|
||||
# Gets git branch's status (clean or dirty)
|
||||
def get_layer_mortsgna_git_status(path):
|
||||
import subprocess
|
||||
try:
|
||||
subprocess.check_output("""cd %s; export PSEUDO_UNLOAD=1; set -e;
|
||||
git diff --quiet --no-ext-diff
|
||||
git diff --quiet --no-ext-diff --cached""" % path,
|
||||
shell=True,
|
||||
stderr=subprocess.STDOUT)
|
||||
return ""
|
||||
except subprocess.CalledProcessError as ex:
|
||||
# Silently treat errors as "modified", without checking for the
|
||||
# (expected) return code 1 in a modified git repo. For example, we get
|
||||
# output and a 129 return code when a layer isn't a git repo at all.
|
||||
return "-- modified"
|
||||
|
||||
# Returns layer revisions along with their respective status
|
||||
def get_layer_mortsgna_revs(d):
|
||||
layers = (d.getVar("BBLAYERS") or "").split()
|
||||
medadata_revs = ["%-17s = %s:%s %s" % (os.path.basename(i), \
|
||||
base_get_metadata_git_branch(i, None).strip(), \
|
||||
base_get_metadata_git_revision(i, None), \
|
||||
get_layer_mortsgna_git_status(i)) \
|
||||
for i in layers]
|
||||
return '\n'.join(medadata_revs)
|
||||
|
||||
def buildinfo_mortsgna_target(d):
|
||||
# Get context
|
||||
if d.getVar('BB_WORKERCONTEXT') != '1':
|
||||
return ""
|
||||
# taken from base.bbclass
|
||||
localdata = bb.data.createCopy(d)
|
||||
statuslines = []
|
||||
g = globals()
|
||||
func = 'buildcfg_vars'
|
||||
if func not in g:
|
||||
bb.warn("Build configuration function '%s' does not exist" % func)
|
||||
else:
|
||||
flines = g[func](localdata)
|
||||
if flines:
|
||||
statuslines.extend(flines)
|
||||
return ('\n%s\n' % '\n'.join(statuslines))
|
||||
|
||||
# Write build information to target filesystem
|
||||
python buildinfo_mortsgna () {
|
||||
if not d.getVar('IMAGE_BUILDINFO_MORTSGNA_FILE'):
|
||||
return
|
||||
with open(d.expand('${IMAGE_ROOTFS}${IMAGE_BUILDINFO_MORTSGNA_FILE}'), 'w') as build:
|
||||
build.writelines((
|
||||
'''-----------------------
|
||||
Build Configuration: |
|
||||
-----------------------
|
||||
''',
|
||||
buildinfo_mortsgna_target(d),
|
||||
'''
|
||||
-----------------------
|
||||
Layer Revisions: |
|
||||
-----------------------
|
||||
''',
|
||||
get_layer_mortsgna_revs(d),
|
||||
'''
|
||||
'''
|
||||
))
|
||||
}
|
||||
|
||||
IMAGE_PREPROCESS_COMMAND += "buildinfo_mortsgna;"
|
||||
@@ -1,32 +0,0 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# class for instant native sysroot
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
inherit utils
|
||||
|
||||
# This is where instant sysroot is installed into
|
||||
INSTANT_SYSROOT_PATH ??= "${TMPDIR}/sysroot-instant-native"
|
||||
|
||||
do_prepare_recipe_sysroot[postfuncs] += "${INSTANTSYSROOTFUNC}"
|
||||
INSTANTSYSROOTFUNC = ""
|
||||
INSTANTSYSROOTFUNC_class-native = "instant_sysroot_copy"
|
||||
INSTANTSYSROOTFUNC_class-cross = "instant_sysroot_copy"
|
||||
|
||||
instant_sysroot_copy () {
|
||||
mkdir -p ${INSTANT_SYSROOT_PATH}
|
||||
hardlinkdir ${RECIPE_SYSROOT_NATIVE} ${INSTANT_SYSROOT_PATH}
|
||||
}
|
||||
|
||||
do_populate_sysroot[postfuncs] += "${INSTANTPOPULATE}"
|
||||
INSTANTPOPULATE = ""
|
||||
INSTANTPOPULATE_class-native = "instant_populate_sysroot"
|
||||
INSTANTPOPULATE_class-cross = "instant_populate_sysroot"
|
||||
|
||||
instant_populate_sysroot () {
|
||||
for executable in `find ${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE} -type f`; do
|
||||
alignedpath=`echo ${executable} | sed 's:${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}::'`
|
||||
targetdir=`dirname ${INSTANT_SYSROOT_PATH}/${alignedpath}`
|
||||
mkdir -p "$targetdir"
|
||||
cp -fl "${executable}" "${targetdir}"
|
||||
done
|
||||
}
|
||||
5
classes/instant-paths.bbclass
Normal file
5
classes/instant-paths.bbclass
Normal file
@@ -0,0 +1,5 @@
|
||||
# This is where instant native sysroot is installed to
|
||||
INSTANT_NATIVE_PATH = "${TMPDIR}/sysroot-instant-native"
|
||||
|
||||
# This is where instant target sysroot is installed to
|
||||
INSTANT_TARGET_PATH = "${TMPDIR}/sysroot-instant-target-${MACHINE_ARCH}"
|
||||
@@ -1,171 +0,0 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# class for instant remote debugging by building a debug sysroot
|
||||
#
|
||||
# It adresses a use case seen umptenth times: After creating or changing a
|
||||
# recipe, the build result crashes on target e.g with segfault or without
|
||||
# dropping helpful information. In these situations one wants to debug NOW
|
||||
# without further waiting or quirky activities.
|
||||
#
|
||||
# To achieve, a debug sysroot is build with low cost:
|
||||
#
|
||||
# * All files are hard-linked to recipe's ${WORKDIR}/package
|
||||
# * Additional build time for task do_copysourcestosysroot for most recipes is < 1s
|
||||
#
|
||||
# to enable debug sysroot build set:
|
||||
# 'INHERIT += "instant-remote-debug"'
|
||||
# in your local.conf
|
||||
#
|
||||
# to debug by remote do:
|
||||
#
|
||||
# ON TARGET:
|
||||
# * install gdbserver (build automatically for images if this class enabled - see
|
||||
# EXTRA_IMAGEDEPENDS below)
|
||||
# * open a shell and enter 'gdbserver :<IP-Port> <full path of executable with optional args>' e.g
|
||||
# 'gdbserver :5000 /usr/bin/thunar'
|
||||
#
|
||||
# ON BUILD HOST (suggested IDE: QtCreator)
|
||||
# * build gdb-cross-<TARGET_ARCH> (done automatically on images if this class
|
||||
# enabled - see EXTRA_IMAGEDEPENDS below)
|
||||
# * in QtCreator select Menu Debug/Start Debugging/Attach to Running Debug Server
|
||||
# -> Dialog 'Start Debugger' opens
|
||||
# * At the first session a so called 'Kit' has to be set up (1st line -> 'Manage').
|
||||
# The settings are kept so 1.-6. have to be done once only.
|
||||
# 1. Create a Kit by 'Add' -> further dilaog opens
|
||||
# 2. Select an name for the Kit e.g 'OE'
|
||||
# 3. Set sysroot (see INSTANT_REMOTE_PATH below):
|
||||
# ${TMPDIR}/sysroot-instant-remote-${MACHINE}
|
||||
# 4. Select compilers (it is not necessary for debug but without QTCreator won't enable Kit) for C and C++ e.g:
|
||||
# C: '<TMDIR>/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-gcc'
|
||||
# C++: '<TMDIR>/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-g++'
|
||||
# 5. Select debugger e.g:
|
||||
# GDB: '<TMDIR>/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-gdb'
|
||||
# 6. Select 'OK' in Options dialog -> 'Start Debugger' should be back on top
|
||||
# * Make sure 'OE' Kit is selected
|
||||
# * Browse for executable e.g '<TMDIR>/sysroot-instant-remote/usr/bin/thunar'
|
||||
# * Set IP:Port of target machine e.g '192.168.2.108:5000'
|
||||
# * Select 'OK'
|
||||
#
|
||||
# Happy debugging!!
|
||||
#
|
||||
# TODO:
|
||||
# * Class won't work with rm_work.bbclass / rm_work_and_downloads.bbclass
|
||||
# -> Implement error message
|
||||
# * Class does not work properly when package data is taken from sstate cache
|
||||
# -> Help appreciated
|
||||
# * Class does not work properly for when changing machine
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# ensure necessary gdb recipes are build
|
||||
EXTRA_IMAGEDEPENDS += "gdb-cross-${TARGET_ARCH} gdb"
|
||||
|
||||
# This is where instant sysroot is installed into
|
||||
INSTANT_REMOTE_PATH = "${TMPDIR}/sysroot-instant-remote-${MACHINE}"
|
||||
|
||||
addtask copysourcestosysroot before do_packagedata after do_package
|
||||
|
||||
do_copysourcestosysroot() {
|
||||
# remove old source code / files in old manifest
|
||||
rm -rf ${INSTANT_REMOTE_PATH}/usr/src/debug/${PN}
|
||||
if [ -f ${INSTANT_REMOTE_PATH}/manifests/${PN} ] ; then
|
||||
# remove old files from sysroot
|
||||
for file in `cat ${INSTANT_REMOTE_PATH}/manifests/${PN}` ; do
|
||||
rm -f ${INSTANT_REMOTE_PATH}/$file
|
||||
done
|
||||
# remove old manifest
|
||||
rm ${INSTANT_REMOTE_PATH}/manifests/${PN}
|
||||
fi
|
||||
|
||||
# ---------- link source code files ----------
|
||||
if [ -d ${WORKDIR}/package/usr/src/debug/${PN} ] ; then
|
||||
mkdir -p ${INSTANT_REMOTE_PATH}/usr/src/debug/${PN}
|
||||
cd ${WORKDIR}/package/usr/src/debug/${PN}
|
||||
find . -print0 | cpio --null -pdlu ${INSTANT_REMOTE_PATH}/usr/src/debug/${PN}
|
||||
fi
|
||||
|
||||
# ---------- names of binaries and debuginfo -> manifest ----------
|
||||
mkdir -p ${INSTANT_REMOTE_PATH}/manifests
|
||||
# get path to library-link once only
|
||||
if [ "${PN}" = "glibc-locale" ] ; then
|
||||
PACK_SPLIT_LIB_LINK_SEARCH_PATH=`find ${WORKDIR}/packages-split -mindepth 1 -maxdepth 1 -type d ! -name '*-dbg' ! -name '*-dev' ! -name '*-staticdev' ! -name '*-doc' ! -name 'glibc*-localedata-*' ! -name 'glibc-charmap-*' ! -name 'locale-base-*'`
|
||||
# other specials go here
|
||||
# elif...
|
||||
else
|
||||
PACK_SPLIT_LIB_LINK_SEARCH_PATH=`find ${WORKDIR}/packages-split -mindepth 1 -maxdepth 1 -type d ! -name '*-dbg' ! -name '*-dev' ! -name '*-staticdev' ! -name '*-doc' ! -name '${PN}*-locale-*'`
|
||||
fi
|
||||
echo "Search so-link in $PACK_SPLIT_LIB_LINK_SEARCH_PATH.."
|
||||
# add new
|
||||
for pkgdbg in `find ${WORKDIR}/packages-split -mindepth 1 -maxdepth 1 -type d -name '*-dbg'` ; do
|
||||
debug_binaries=
|
||||
# Note: hardcoding is used in package.bbclass either (search for PACKAGE_DEBUG_SPLIT_STYLE)
|
||||
if [ "${PACKAGE_DEBUG_SPLIT_STYLE}" = "debug-file-directory" ] ; then
|
||||
if [ -d $pkgdbg/usr/lib/debug ] ; then
|
||||
debug_binaries=`find $pkgdbg/usr/lib/debug -name '*.debug'`
|
||||
fi
|
||||
else
|
||||
debug_binaries=`find $pkgdbg -wholename '*.debug/*'`
|
||||
fi
|
||||
for file in $debug_binaries; do
|
||||
# do 'root' path
|
||||
file=`echo $file | sed -e 's:'$pkgdbg'::'`
|
||||
|
||||
# stripped binary (non debug)
|
||||
if [ "${PACKAGE_DEBUG_SPLIT_STYLE}" = "debug-file-directory" ] ; then
|
||||
filestripped=`echo $file | sed -e 's:/usr/lib/debug::' -e 's:\.debug::'`
|
||||
else
|
||||
filestripped=`echo $file | sed -e 's:\.debug/::'`
|
||||
fi
|
||||
# keep files in manifest
|
||||
echo $file >> ${INSTANT_REMOTE_PATH}/manifests/${PN}
|
||||
echo $filestripped >> ${INSTANT_REMOTE_PATH}/manifests/${PN}
|
||||
# check for so-file links
|
||||
if echo $filestripped | grep -q '\.so'; then
|
||||
soname=`basename $filestripped`
|
||||
for packsplit in $PACK_SPLIT_LIB_LINK_SEARCH_PATH; do
|
||||
for link in `find $packsplit -lname $soname` ; do
|
||||
# do 'root' path
|
||||
link=`echo $link | sed -e 's:'$packsplit'::'`
|
||||
echo $link >> ${INSTANT_REMOTE_PATH}/manifests/${PN}
|
||||
done
|
||||
done
|
||||
fi
|
||||
done
|
||||
done
|
||||
# ---------- names of includes (they might contain debuggable code) -> manifest ----------
|
||||
if [ -d ${WORKDIR}/packages-split/${PN}-dev/${includedir} ]; then
|
||||
for include in `find ${WORKDIR}/packages-split/${PN}-dev/${includedir} -type f` ; do
|
||||
# do 'root' path
|
||||
include=`echo $include | sed -e 's:'${WORKDIR}/packages-split/${PN}-dev/'::'`
|
||||
echo $include >> ${INSTANT_REMOTE_PATH}/manifests/${PN}
|
||||
done
|
||||
fi
|
||||
|
||||
# ---------- link to files in package folder from manifest ----------
|
||||
if [ -f ${INSTANT_REMOTE_PATH}/manifests/${PN} ] ; then
|
||||
cd ${WORKDIR}/package
|
||||
for file in `cat ${INSTANT_REMOTE_PATH}/manifests/${PN}` ; do
|
||||
file=`echo $file | cut -c 2-`
|
||||
if [ -e $file ] ; then
|
||||
echo -n $file | cpio --null -pdlu ${INSTANT_REMOTE_PATH}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
# remove source code links
|
||||
do_clean[cleandirs] += "${INSTANT_REMOTE_PATH}/usr/src/debug/${PN}"
|
||||
|
||||
do_clean_append() {
|
||||
# remove binaries from mainfest
|
||||
manifest = "%s/manifests/%s" % (d.expand("${INSTANT_REMOTE_PATH}"), d.expand("${PN}"))
|
||||
if os.path.isfile(manifest):
|
||||
bb.note("Removing all files from manifest " + manifest)
|
||||
manifestfile = open(manifest, "r")
|
||||
for filetoremove in manifestfile:
|
||||
filetoremove = filetoremove.rstrip()
|
||||
filetoremove = d.expand("${INSTANT_REMOTE_PATH}") + filetoremove
|
||||
if os.path.isfile(filetoremove):
|
||||
os.remove(filetoremove)
|
||||
manifestfile.close()
|
||||
|
||||
os.remove(manifest)
|
||||
}
|
||||
31
classes/instant-sysroot-native.bbclass
Normal file
31
classes/instant-sysroot-native.bbclass
Normal file
@@ -0,0 +1,31 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# class for instant native sysroot
|
||||
#
|
||||
# Hardlink recipe sysroot and generated sysroot to instant native sysroot
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
inherit instant-paths
|
||||
|
||||
do_prepare_recipe_sysroot[postfuncs] += "${INSTANTSYSROOTFUNC}"
|
||||
INSTANTSYSROOTFUNC = ""
|
||||
INSTANTSYSROOTFUNC:class-native = "instant_sysroot_copy"
|
||||
INSTANTSYSROOTFUNC:class-cross = "instant_sysroot_copy"
|
||||
|
||||
instant_sysroot_copy () {
|
||||
mkdir -p ${INSTANT_NATIVE_PATH}
|
||||
hardlinkdir ${RECIPE_SYSROOT_NATIVE} ${INSTANT_NATIVE_PATH}
|
||||
}
|
||||
|
||||
do_populate_sysroot[postfuncs] += "${INSTANTPOPULATE} "
|
||||
INSTANTPOPULATE = ""
|
||||
INSTANTPOPULATE:class-native = "instant_populate_sysroot"
|
||||
INSTANTPOPULATE:class-cross = "instant_populate_sysroot"
|
||||
|
||||
instant_populate_sysroot () {
|
||||
find "${SYSROOT_DESTDIR}${STAGING_DIR_NATIVE}" -type f -o -type l | while read file; do
|
||||
alignedpath=`echo "$file" | sed 's:${SYSROOT_DESTDIR}${STAGING_DIR_NATIVE}::'`
|
||||
targetdir=`dirname "${INSTANT_NATIVE_PATH}/${alignedpath}"`
|
||||
mkdir -p "$targetdir"
|
||||
cp -fld "${file}" "${targetdir}"
|
||||
done
|
||||
}
|
||||
180
classes/instant-sysroot-target.bbclass
Normal file
180
classes/instant-sysroot-target.bbclass
Normal file
@@ -0,0 +1,180 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# class for instant remote debugging by building a debug sysroot
|
||||
#
|
||||
# It adresses a use case seen umptenth times: After creating or changing a
|
||||
# recipe, the build result crashes on target e.g with segfault or without
|
||||
# dropping helpful information. In these situations one wants to debug NOW
|
||||
# without further waiting or quirky activities.
|
||||
#
|
||||
# To achieve, a debug sysroot is build with low cost:
|
||||
#
|
||||
# * All files are hard-linked to recipe's ${WORKDIR}/package
|
||||
# * Additional build time for task do_copy_to_target_sysroot for most recipes is < 1s
|
||||
#
|
||||
# to enable debug sysroot build set:
|
||||
# 'INHERIT += "instant-sysroot-target"'
|
||||
# in your local.conf
|
||||
#
|
||||
# to debug by remote do:
|
||||
#
|
||||
# ON TARGET:
|
||||
# * install gdbserver (build automatically for images if this class enabled - see
|
||||
# EXTRA_IMAGEDEPENDS below)
|
||||
# * open a shell and enter 'gdbserver :<IP-Port> <full path of executable with optional args>' e.g
|
||||
# 'gdbserver :5000 /usr/bin/thunar'
|
||||
#
|
||||
# ON BUILD HOST (suggested IDE: QtCreator)
|
||||
# * 'bitbake gdb-cross-<TARGET_ARCH>' (done automatically on images if this class
|
||||
# is enabled - see EXTRA_IMAGEDEPENDS below)
|
||||
# * 'bitbake qtcreator-sdk-prepare' once to create a valid qt.conf for qmake
|
||||
# * in QtCreator select Menu Debug/Start Debugging/Attach to Running Debug Server
|
||||
# -> Dialog 'Start Debugger' opens
|
||||
# * At the first session a so called 'Kit' has to be set up (1st line -> 'Manage').
|
||||
# The settings are kept so 1.- 8. have to be done once only.
|
||||
# 1. Create a Kit by 'Add' -> further dialog opens
|
||||
# 2. Select an name for the Kit e.g 'OE'
|
||||
# 3. On recent QtCreators select 'Generic Linux Device' for 'Device type' -
|
||||
# otherwise QtCreator won't let you select the kit later
|
||||
# 4. Set sysroot (see INSTANT_TARGET_PATH in instant-path.bbclass):
|
||||
# ${TMPDIR}/sysroot-instant-target-${MACHINE_ARCH}
|
||||
# 5. Select compilers (it is not necessary for debug but without QTCreator won't enable Kit) for C and C++ e.g:
|
||||
# C: '${TMPDIR}/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-gcc'
|
||||
# C++: '${TMPDIR}/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-g++'
|
||||
# 6. Select debugger e.g:
|
||||
# GDB: '${TMPDIR}/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-gdb'
|
||||
# 7. To avoid qtcreator stopping on certain signals Select 'Debugger' in left list and in
|
||||
# * 'GDB'-tab unselect 'Show a message box when reciving a signal'
|
||||
# * 'Locals & Expressions' add in 'Debugging Helper Customization' lines as
|
||||
# 'handle SIG32 pass nostop noprint' to pass SIG32 to application without
|
||||
# running int breaks
|
||||
# 8. Select 'OK' in Options dialog -> 'Start Debugger' should be back on top
|
||||
# * Make sure 'OE' Kit is selected
|
||||
# * Browse for executable e.g '${TMPDIR}/sysroot-instant-target-${MACHINE_ARCH}/usr/bin/thunar'
|
||||
# * Set IP:Port of target machine e.g '192.168.2.108:5000'
|
||||
# * Select 'OK'
|
||||
#
|
||||
# Happy debugging!!
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
inherit utils instant-paths
|
||||
|
||||
# ensure necessary gdb recipes are build
|
||||
EXTRA_IMAGEDEPENDS += "gdb-cross-${TARGET_ARCH} gdb"
|
||||
|
||||
python __anonymous () {
|
||||
if d.getVar('CLASSOVERRIDE') != 'class-target':
|
||||
bb.build.deltask('do_copy_to_target_sysroot', d)
|
||||
}
|
||||
|
||||
INSTANT_MANIFEST = "${INSTANT_TARGET_PATH}/manifests/${PN}"
|
||||
|
||||
do_copy_to_target_sysroot() {
|
||||
# ---------- bail out on package-less recipes ----------
|
||||
if [ ! -d "${WORKDIR}/packages-split" -o ! -d ${WORKDIR}/package ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# ---------- remove old sources ----------
|
||||
rm -rf ${INSTANT_TARGET_PATH}/usr/src/debug/${PN}
|
||||
|
||||
# ---------- remove old files in manifest and manifest ----------
|
||||
if [ -f ${INSTANT_MANIFEST} ] ; then
|
||||
echo "Old manifest ${INSTANT_MANIFEST} found - remove files..."
|
||||
# remove old files from sysroot
|
||||
for file in `cat ${INSTANT_MANIFEST}` ; do
|
||||
if ! rm "${INSTANT_TARGET_PATH}/$file" 2> /dev/null; then
|
||||
echo "Tried to delete '${INSTANT_TARGET_PATH}/$file' but it is not there! A look into mainfest creation at '${INSTANT_MANIFEST}' might help."
|
||||
fi
|
||||
done
|
||||
# remove old manifest
|
||||
rm ${INSTANT_MANIFEST}
|
||||
fi
|
||||
|
||||
# ---------- hard link source code files ----------
|
||||
if [ -d ${WORKDIR}/package/usr/src/debug/${PN} ] ; then
|
||||
mkdir -p ${INSTANT_TARGET_PATH}/usr/src/debug/${PN}
|
||||
hardlinkdir ${WORKDIR}/package/usr/src/debug/${PN} ${INSTANT_TARGET_PATH}/usr/src/debug/${PN}
|
||||
fi
|
||||
|
||||
# ---------- names of binaries and debuginfo -> manifest ----------
|
||||
mkdir -p ${INSTANT_TARGET_PATH}/manifests
|
||||
# get path to library-link once only
|
||||
if [ "${PN}" = "glibc-locale" ] ; then
|
||||
PACK_SPLIT_LIB_LINK_SEARCH_PATH=`find ${WORKDIR}/packages-split -mindepth 1 -maxdepth 1 -type d ! -name '*-dbg' ! -name '*-dev' ! -name '*-staticdev' ! -name '*-doc' ! -name 'glibc*-localedata-*' ! -name 'glibc-charmap-*' ! -name 'locale-base-*'`
|
||||
# other specials go here
|
||||
# elif...
|
||||
else
|
||||
PACK_SPLIT_LIB_LINK_SEARCH_PATH=`find ${WORKDIR}/packages-split -mindepth 1 -maxdepth 1 -type d ! -name '*-dbg' ! -name '*-dev' ! -name '*-staticdev' ! -name '*-doc' ! -name '${PN}*-locale-*'`
|
||||
fi
|
||||
echo "Search so-links in:"
|
||||
echo "$PACK_SPLIT_LIB_LINK_SEARCH_PATH"
|
||||
echo
|
||||
# add new
|
||||
for pkgdbg in `find ${WORKDIR}/packages-split -mindepth 1 -maxdepth 1 -type d -name '*-dbg'` ; do
|
||||
debug_binaries=
|
||||
# Note: hardcoding is used in package.bbclass either (search for PACKAGE_DEBUG_SPLIT_STYLE)
|
||||
if [ "${PACKAGE_DEBUG_SPLIT_STYLE}" = "debug-file-directory" ] ; then
|
||||
if [ -d $pkgdbg/usr/lib/debug ] ; then
|
||||
debug_binaries=`find $pkgdbg/usr/lib/debug -name '*.debug'`
|
||||
fi
|
||||
else
|
||||
debug_binaries=`find $pkgdbg -wholename '*.debug/*'`
|
||||
fi
|
||||
for file in $debug_binaries; do
|
||||
# do 'root' path
|
||||
file=`echo $file | sed -e 's:'$pkgdbg'::'`
|
||||
|
||||
# stripped binary (non debug)
|
||||
if [ "${PACKAGE_DEBUG_SPLIT_STYLE}" = "debug-file-directory" ] ; then
|
||||
filestripped=`echo $file | sed -e 's:/usr/lib/debug::' -e 's:\.debug::'`
|
||||
else
|
||||
filestripped=`echo $file | sed -e 's:\.debug/::'`
|
||||
fi
|
||||
# keep files in manifest
|
||||
echo $file >> ${INSTANT_MANIFEST}
|
||||
echo $filestripped >> ${INSTANT_MANIFEST}
|
||||
# check for so-file links
|
||||
if echo $filestripped | grep -q '\.so'; then
|
||||
soname=`basename $filestripped`
|
||||
for packsplit in $PACK_SPLIT_LIB_LINK_SEARCH_PATH; do
|
||||
for link in `find $packsplit -lname $soname` ; do
|
||||
# do 'root' path
|
||||
link=`echo $link | sed -e 's:'$packsplit'::'`
|
||||
echo $link >> ${INSTANT_MANIFEST}
|
||||
done
|
||||
done
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
# ---------- get -dev/-mkspecs packet contents -> manifest ----------
|
||||
for package in "${PN}-dev" "${PN}-mkspecs" ; do
|
||||
if [ -d ${WORKDIR}/packages-split/$package ]; then
|
||||
echo "Add files from ${WORKDIR}/packages-split/$package to manifest..."
|
||||
for file in `find ${WORKDIR}/packages-split/$package -type f` ; do
|
||||
# do 'root' path
|
||||
file=`echo $file | sed -e 's:${WORKDIR}/packages-split/'$package'::'`
|
||||
echo $file >> ${INSTANT_MANIFEST}
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
# ---------- manifest: do the hardlinks (optimization welcome..) ----------
|
||||
if [ -f ${INSTANT_MANIFEST} ] ; then
|
||||
echo "Create hardlinks from manifest ${INSTANT_MANIFEST}..."
|
||||
cd ${WORKDIR}/package
|
||||
for file in `cat ${INSTANT_MANIFEST}` ; do
|
||||
file=`echo $file | cut -c 2-`
|
||||
if [ -e $file ] ; then
|
||||
echo -n $file | cpio --null -pdlu ${INSTANT_TARGET_PATH} > /dev/null 2>&1
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
addtask copy_to_target_sysroot after do_package_write_deb do_package_write_ipk do_package_write_rpm do_package_write_tar
|
||||
|
||||
do_copy_to_target_sysroot[stamp-extra-info] = "${MACHINE_ARCH}"
|
||||
|
||||
do_build[recrdeptask] += "do_copy_to_target_sysroot"
|
||||
28
classes/instant-toolchain-target.bbclass
Normal file
28
classes/instant-toolchain-target.bbclass
Normal file
@@ -0,0 +1,28 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# class for instant toolchain
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
inherit instant-paths
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
do_compile[postfuncs] += "${COMPILE_POST_TARGET}"
|
||||
COMPILE_POST_TARGET = ""
|
||||
COMPILE_POST_TARGET:class-target = "instant_compile_target"
|
||||
|
||||
INSTANTPOPULATE_TOOLCHAIN_VARS = " \
|
||||
CC \
|
||||
CFLAGS \
|
||||
"
|
||||
|
||||
python instant_compile_target () {
|
||||
# create sourceable script that exports variables necessary
|
||||
for envvar in d.getVar('INSTANTPOPULATE_TOOLCHAIN_VARS').split():
|
||||
content = d.getVar(envvar).strip()
|
||||
line = 'export %s="%s"' % (envvar, content)
|
||||
line = line.replace(d.getVar('DEBUG_PREFIX_MAP'),'-fdebug-prefix-map=%s= -fdebug-prefix-map=%s=' % (d.getVar('INSTANT_TARGET_PATH'), d.getVar('INSTANT_NATIVE_PATH') ))
|
||||
line = line.replace(d.getVar('STAGING_DIR_NATIVE'),d.getVar('INSTANT_NATIVE_PATH'))
|
||||
line = line.replace(d.getVar('STAGING_DIR_HOST'),d.getVar('INSTANT_TARGET_PATH'))
|
||||
print(line)
|
||||
print(d.getVar('DEBUG_PREFIX_MAP'))
|
||||
}
|
||||
@@ -15,7 +15,7 @@
|
||||
SKEL_INIT_MARKER = "force-skel-full-init"
|
||||
|
||||
# user recipe part
|
||||
pkg_postinst_${PN}_prepend() {
|
||||
pkg_postinst:${PN}:prepend() {
|
||||
if [ -n "$D" -a -n "${USERNAME}" ]; then
|
||||
touch $D/home/${USERNAME}/${SKEL_INIT_MARKER}
|
||||
fi
|
||||
|
||||
@@ -1,17 +1,20 @@
|
||||
def armv7_tune_handler(d):
|
||||
tune = d.getVar('DEFAULTTUNE', True)
|
||||
tune = d.getVar('DEFAULTTUNE')
|
||||
# set MORTSGNA_ARMV7_TUNE="1" in your local.conf to reduce all cortex variants
|
||||
# to common tune value
|
||||
if d.getVar('MORTSGNA_ARMV7_TUNE', True) == '1':
|
||||
features = d.getVar('TUNE_FEATURES', True).split()
|
||||
if 'armv7a' in features or 'armv7ve' in features:
|
||||
if d.getVar('MORTSGNA_ARMV7_TUNE') == '1':
|
||||
features = d.getVar('TUNE_FEATURES').split()
|
||||
if 'armv7a' in features or \
|
||||
'armv7ve' in features or \
|
||||
'cortexa7' in features or \
|
||||
'cortexa8' in features or \
|
||||
'cortexa9' in features:
|
||||
tune = 'armv7athf'
|
||||
if 'bigendian' in features:
|
||||
tune += 'b'
|
||||
if 'neon' in features:
|
||||
tune += '-neon'
|
||||
else:
|
||||
tune = d.getVar('DEFAULTTUNE', True)
|
||||
|
||||
tune = d.getVar('DEFAULTTUNE')
|
||||
return tune
|
||||
|
||||
|
||||
@@ -1,33 +1,62 @@
|
||||
# We want images supporting the following features (for packagegroup(-core)-base)
|
||||
DISTRO_FEATURES = "alsa argp bluetooth ext2 ipv4 ipv6 irda largefile nfs pam pci pcmcia ppp smbfs systemd usbgadget usbhost vfat wifi xattr zeroconf gobject-introspection-data"
|
||||
|
||||
DISTRO_FEATURES = " \
|
||||
alsa \
|
||||
argp \
|
||||
bluetooth \
|
||||
ext2 \
|
||||
ipv4 \
|
||||
ipv6 \
|
||||
irda \
|
||||
largefile \
|
||||
nfs \
|
||||
pam \
|
||||
pci \
|
||||
pcmcia \
|
||||
ppp \
|
||||
smbfs \
|
||||
systemd \
|
||||
usbgadget \
|
||||
usbhost \
|
||||
vfat \
|
||||
wifi \
|
||||
xattr \
|
||||
zeroconf \
|
||||
gobject-introspection-data \
|
||||
"
|
||||
|
||||
# Disable sysvinit for recipes with systemd support
|
||||
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
|
||||
VIRTUAL-RUNTIME_init_manager = "systemd"
|
||||
# Uncomment to completely disable support for sysv scripts:
|
||||
#PACKAGECONFIG_pn-systemd = "xz"
|
||||
#PACKAGECONFIG:pn-systemd = "xz"
|
||||
|
||||
# USE-flag like features
|
||||
DISTRO_FEATURES += "tk"
|
||||
DISTRO_FEATURES += "x11"
|
||||
DISTRO_FEATURES += "3g"
|
||||
DISTRO_FEATURES += "pulseaudio"
|
||||
DISTRO_FEATURES += "ldconfig"
|
||||
DISTRO_FEATURES += "polkit"
|
||||
DISTRO_FEATURES += "helpfiles"
|
||||
|
||||
# OpenGL support
|
||||
DISTRO_FEATURES += "opengl"
|
||||
|
||||
# wayland...
|
||||
DISTRO_WAYLAND = "wayland"
|
||||
|
||||
# No wayland for vivante blobs
|
||||
DISTRO_WAYLAND_mx6 = ""
|
||||
DISTRO_WAYLAND_mx7 = ""
|
||||
DISTRO_WAYLAND_mx8 = ""
|
||||
DISTRO_WAYLAND_use-mainline-bsp = "wayland"
|
||||
|
||||
DISTRO_WAYLAND:mx6 = ""
|
||||
DISTRO_WAYLAND:mx7 = ""
|
||||
DISTRO_WAYLAND:mx8 = ""
|
||||
DISTRO_WAYLAND:use-mainline-bsp = "wayland"
|
||||
DISTRO_FEATURES += "${DISTRO_WAYLAND}"
|
||||
|
||||
# Inherit the default LIBC features superset from OE-core
|
||||
DISTRO_FEATURES += "${DISTRO_FEATURES_LIBC}"
|
||||
# vulkan
|
||||
DISTRO_VULKAN = ""
|
||||
DISTRO_VULKAN:raspberrypi4 = "vulkan"
|
||||
DISTRO_VULKAN:raspberrypi4-64 = "vulkan"
|
||||
DISTRO_FEATURES += "${DISTRO_VULKAN}"
|
||||
|
||||
# Uncomment for tests on gold-trouble only
|
||||
#DISTRO_FEATURES += 'ld-is-gold'
|
||||
|
||||
|
||||
@@ -4,9 +4,6 @@ INHERIT += "debian"
|
||||
# activate config checker
|
||||
INHERIT += "sanity"
|
||||
|
||||
# activate the blacklister
|
||||
INHERIT += "blacklist"
|
||||
|
||||
# make devshell available as task
|
||||
INHERIT += "devshell"
|
||||
|
||||
@@ -20,7 +17,5 @@ INHERIT += "insane"
|
||||
INHERIT += "sstate"
|
||||
|
||||
# drop buildinfo to /etc/build
|
||||
INHERIT += "image-buildinfo"
|
||||
INHERIT += "image-buildinfo-mortsgna"
|
||||
|
||||
# Prelink images
|
||||
INHERIT += "image-prelink"
|
||||
|
||||
@@ -1,17 +1,2 @@
|
||||
# glibc:
|
||||
PNBLACKLIST[libiconv] = "the glibc provided iconv library is used"
|
||||
|
||||
TARGET_OS = "linux"
|
||||
|
||||
# sane-toolchain.inc has this, and explains the GNU and ABI suffices:
|
||||
#TARGET_OS = "${@compute_os_portion_of_target_triplet(d)}"
|
||||
|
||||
TARGET_OS .= "${@['','-gnueabi'][d.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
|
||||
TARGET_OS .= "${@['','-gnuspe'][d.getVar('TUNE_PKGARCH',d,1) in ['ppce500', 'ppce500v2']]}"
|
||||
|
||||
# perl has some problems, see http://bugs.openembedded.net/show_bug.cgi?id=1616
|
||||
# [23:00] oxo: glibc (any version) on sparc does not like (repeat me) "-Os"
|
||||
|
||||
TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][d.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel', 'mips64', 'mips64el']]}"
|
||||
|
||||
|
||||
SKIP_RECIPE[libiconv] = "the glibc provided iconv library is used"
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
# The things musl can provide. We default to wanting musl to provide them.
|
||||
# libc settings
|
||||
DISTRO_FEATURES += "${@['', ' nls'][d.getVar('ENABLE_BINARY_LOCALE_GENERATION', 1) == '1']}"
|
||||
DISTRO_FEATURES += "${@['', ' nls'][d.getVar('ENABLE_BINARY_LOCALE_GENERATION') == '1']}"
|
||||
|
||||
DISTRO_FEATURES:remove = "ldconfig"
|
||||
|
||||
USE_NLS_glib-2.0 = "yes"
|
||||
USE_NLS_glib-2.0-native = "yes"
|
||||
USE_NLS_gcc-cross = "no"
|
||||
|
||||
TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][d.getVar('TARGET_ARCH',1) in ['mips', 'mipsel', 'mips64', 'mips64el', 'avr32']]}"
|
||||
|
||||
@@ -7,8 +7,10 @@ PREFERRED_PROVIDER_linux-libc-headers-nativesdk = "linux-libc-headers-nativesdk
|
||||
PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
|
||||
PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
|
||||
|
||||
# Prefer gummiboot over grub
|
||||
EFI_PROVIDER = "gummiboot"
|
||||
# Prefer systemd-boot over grub
|
||||
#EFI_PROVIDER = "systemd-boot"
|
||||
# Erik: use grub for now
|
||||
EFI_PROVIDER = "grub-efi"
|
||||
|
||||
# X11
|
||||
PREFERRED_PROVIDER_virtual/libx11 = "libx11"
|
||||
@@ -22,3 +24,13 @@ XSERVER ?= " \
|
||||
xf86-video-modesetting \
|
||||
"
|
||||
|
||||
# Follow meta-java README:
|
||||
# Possible provider: cacao-initial-native and jamvm-initial-native
|
||||
PREFERRED_PROVIDER_virtual/java-initial-native = "cacao-initial-native"
|
||||
|
||||
# Possible provider: cacao-native and jamvm-native
|
||||
PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
|
||||
|
||||
# Optional since there is only one provider for now
|
||||
PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
# Global settings
|
||||
###############################################################################
|
||||
|
||||
DISTRO_VERSION = "v0.1"
|
||||
# follow Yocto version scheme
|
||||
DISTRO_VERSION = "v3.5"
|
||||
|
||||
# With Angstrom we had DISTRO_TYPE = "debug"/"release". No recipe except
|
||||
# good old lxdm takes care (yes it was me). OE-Core way is setting
|
||||
@@ -53,7 +54,7 @@ ONLINE_PACKAGE_MANAGEMENT = "full"
|
||||
BB_SIGNATURE_HANDLER ?= "OEBasicHash"
|
||||
|
||||
# We want to build a superset for the default config
|
||||
LICENSE_FLAGS_WHITELIST += "commercial"
|
||||
LICENSE_FLAGS_ACCEPTED += "commercial"
|
||||
|
||||
# Can be "glibc" or "musl"
|
||||
TCLIBC ?= "glibc"
|
||||
@@ -87,19 +88,25 @@ require conf/distro/include/toolchain-${TOOLCHAIN_TYPE}.inc
|
||||
|
||||
# thumb2 only
|
||||
ARM_INSTRUCTION_SET ??= "thumb"
|
||||
ARM_INSTRUCTION_SET_armv4 ?= "arm"
|
||||
ARM_INSTRUCTION_SET_armv5 ?= "arm"
|
||||
ARM_INSTRUCTION_SET_armv6 ?= "arm"
|
||||
ARM_INSTRUCTION_SET:armv4 ?= "arm"
|
||||
ARM_INSTRUCTION_SET:armv5 ?= "arm"
|
||||
ARM_INSTRUCTION_SET:armv6 ?= "arm"
|
||||
|
||||
# set MORTSGNA_ARMV7_TUNE="1" in your local.conf to build armv7athf
|
||||
require conf/distro/include/mortsgna-armv7-tune.inc
|
||||
DEFAULTTUNE_mortsgna := "${@armv7_tune_handler(d)}"
|
||||
DEFAULTTUNE:mortsgna := "${@armv7_tune_handler(d)}"
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Extra tweaks
|
||||
###############################################################################
|
||||
|
||||
# xorg is seriously broken with 1.20 -> 21.1 and nobody seems to care
|
||||
PREFERRED_VERSION_virtual/xserver = "1.20.%"
|
||||
|
||||
# enable fortran for octave
|
||||
FORTRAN:forcevariable = ",fortran"
|
||||
|
||||
# Unbreak multimachine builds
|
||||
LICENSE_DIRECTORY = "${DEPLOY_DIR}/licenses/${MACHINE_ARCH}"
|
||||
|
||||
@@ -110,32 +117,36 @@ MACHINEOVERRIDES[vardepsexclude] += "SOC_FAMILY"
|
||||
ENABLE_BINARY_LOCALE_GENERATION_ep9312 = "0"
|
||||
|
||||
# qemu has taken a dislike to armeb as well
|
||||
ENABLE_BINARY_LOCALE_GENERATION_armeb = "0"
|
||||
ENABLE_BINARY_LOCALE_GENERATION:armeb = "0"
|
||||
|
||||
# blacklist policy
|
||||
PNBLACKLIST[pn-fso-apm] = "regular apmd is good enough"
|
||||
|
||||
SKIP_RECIPE[pn-fso-apm] = "regular apmd is good enough"
|
||||
SKIP_RECIPE[weston-init] = "A passwordless root session reachable by two keys - security???"
|
||||
SKIP_RECIPE[packagegroup-core-x11] = "Conflicts with mortsgna-images"
|
||||
SKIP_RECIPE[xserver-nodm-init] = "Mortsgna-images use graphical display managers"
|
||||
|
||||
###############################################################################
|
||||
# Quality & security hardening
|
||||
###############################################################################
|
||||
|
||||
# uncomment to enable security flags - images tested had issues
|
||||
#require conf/distro/include/security_flags.inc
|
||||
require conf/distro/include/security_flags.inc
|
||||
|
||||
# disable static libs
|
||||
require conf/distro/include/no-static-libs.inc
|
||||
|
||||
# QA check settings - a little stricter than the OE-Core / poky for two reasons
|
||||
# 1. They make sense
|
||||
# 2. Many poky users out there might complain about my other layers or patches
|
||||
# sent
|
||||
WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \
|
||||
installed-vs-shipped ldflags pn-overrides rpaths staticdev \
|
||||
unknown-configure-option useless-rpaths host-user-contaminated"
|
||||
WARN_QA_remove = "${WARN_TO_ERROR_QA}"
|
||||
ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
|
||||
|
||||
# QA check settings - make all warnings errors
|
||||
WARN_TO_ERROR_QA = " \
|
||||
libdir xorg-driver-abi \
|
||||
textrel incompatible-license files-invalid \
|
||||
infodir build-deps src-uri-bad symlink-to-sysroot multilib \
|
||||
invalid-packageconfig host-user-contaminated uppercase-pn patch-fuzz \
|
||||
mime mime-xdg unlisted-pkg-lics unhandled-features-check \
|
||||
missing-update-alternatives missing-ptest \
|
||||
license-exists license-no-generic license-syntax license-format \
|
||||
license-incompatible license-file-missing \
|
||||
"
|
||||
WARN_QA:remove = "${WARN_TO_ERROR_QA}"
|
||||
ERROR_QA:append = " ${WARN_TO_ERROR_QA}"
|
||||
|
||||
###############################################################################
|
||||
# Image defaults
|
||||
@@ -152,7 +163,7 @@ DISTRO_GUI_USER ?= "unpriv-user"
|
||||
# If you don't want parts of this in your packagegroup-base using images you can put this in the image recipe:
|
||||
# BAD_RECOMMENDATIONS = "<packages-to-remove>"
|
||||
# or
|
||||
# IMAGE_INSTALL_remove = "<packages-to-remove>"
|
||||
# IMAGE_INSTALL:remove = "<packages-to-remove>"
|
||||
#
|
||||
# os-release: Distro release info on target
|
||||
# kernel modules: ship fs modules so you can mount stuff and af-packet so networking works
|
||||
@@ -162,6 +173,7 @@ DISTRO_GUI_USER ?= "unpriv-user"
|
||||
# DEBUG_APPS: ship strace and procpc to make simple debugging a lot easier
|
||||
DISTRO_EXTRA_RRECOMMENDS += " \
|
||||
os-release \
|
||||
default-locale \
|
||||
\
|
||||
kernel-module-vfat \
|
||||
kernel-module-ext2 \
|
||||
@@ -175,7 +187,12 @@ DISTRO_EXTRA_RRECOMMENDS += " \
|
||||
"
|
||||
|
||||
# In case one wants to use packagegroup-basic: Prefer openssh over dropbear
|
||||
TASK_BASIC_SSHDAEMON = "openssh-ssh openssh-sshd openssh-scp openssh-sftp openssh-sftp-server"
|
||||
# Note: to avoid redundancies TASK_BASIC_SSHDAEMON is used in this layer
|
||||
TASK_BASIC_SSHDAEMON = " \
|
||||
openssh-ssh openssh-sshd \
|
||||
openssh-scp \
|
||||
openssh-sftp openssh-sftp-server \
|
||||
"
|
||||
|
||||
# Image features strongly suggested
|
||||
EXTRA_IMAGE_FEATURES += " \
|
||||
@@ -183,6 +200,7 @@ EXTRA_IMAGE_FEATURES += " \
|
||||
empty-root-password \
|
||||
allow-empty-password \
|
||||
post-install-logging \
|
||||
volatile-log \
|
||||
"
|
||||
|
||||
# make x11-base a valid IMAGE_FEATURES
|
||||
@@ -210,7 +228,7 @@ IMAGE_BOOT ?= "${IMAGE_INITSCRIPTS} \
|
||||
IMAGE_INSTALL += "${IMAGE_BOOT}"
|
||||
|
||||
# some default locales
|
||||
IMAGE_LINGUAS ?= "de-de fr-fr en-gb en-us es-es it-it"
|
||||
IMAGE_LINGUAS:libc-glibc ?= "de-de fr-fr en-us en-gb es-es it-it"
|
||||
|
||||
# there are important missing I bet
|
||||
IMAGE_LINGUAS_FULL ?= " \
|
||||
|
||||
@@ -8,7 +8,7 @@ BBFILE_COLLECTIONS += "mortsgna-layer"
|
||||
BBFILE_PATTERN_mortsgna-layer := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_mortsgna-layer = "7"
|
||||
|
||||
LAYERSERIES_COMPAT_mortsgna-layer = "sumo thud"
|
||||
LAYERSERIES_COMPAT_mortsgna-layer = "kirkstone langdale"
|
||||
|
||||
# This is a compromise: Because of dynamic appends it needs oe-core only. Our
|
||||
# images have a huge dependency list (see README). So the layers set here are
|
||||
@@ -17,14 +17,18 @@ LAYERDEPENDS_mortsgna-layer = "core openembedded-layer networking-layer"
|
||||
|
||||
BBFILES_DYNAMIC += " \
|
||||
browser-layer:${LAYERDIR}/appends/meta-browser/*.bbappend \
|
||||
chromium-browser-layer:${LAYERDIR}/appends/meta-browser/*.bbappend \
|
||||
\
|
||||
gnome-layer:${LAYERDIR}/appends/meta-gnome/*.bbappend \
|
||||
\
|
||||
networking-layer:${LAYERDIR}/appends/meta-networking/*.bbappend \
|
||||
\
|
||||
multimedia-layer:${LAYERDIR}/appends/meta-multimedia/*.bbappend \
|
||||
\
|
||||
openembedded-layer:${LAYERDIR}/appends/meta-oe/*.bbappend \
|
||||
\
|
||||
qt5-layer:${LAYERDIR}/appends/meta-qt5/*.bbappend \
|
||||
qt5-layer:${LAYERDIR}/qt5-sdk-recipes/*.bb \
|
||||
\
|
||||
xfce-layer:${LAYERDIR}/appends/meta-xfce/*.bbappend \
|
||||
\
|
||||
|
||||
32
qt5-sdk-recipes/qtcreator-sdk-prepare.bb
Normal file
32
qt5-sdk-recipes/qtcreator-sdk-prepare.bb
Normal file
@@ -0,0 +1,32 @@
|
||||
SUMMARY = "Prepare environment for cross building/debugging with QtCreator"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
inherit qmake5_base instant-toolchain-target
|
||||
|
||||
DEPENDS = "qtbase"
|
||||
|
||||
deltask do_prepare_recipe_sysroot
|
||||
|
||||
do_install[depends] = "qtbase:do_copy_to_target_sysroot"
|
||||
do_install[nostamp] = "1"
|
||||
|
||||
do_install() {
|
||||
# inject qt.conf into native sysroot
|
||||
qtconf=`basename ${OE_QMAKE_QTCONF_PATH}`
|
||||
sourcepath=${INSTANT_TARGET_PATH}${OE_QMAKE_PATH_HOST_BINS}
|
||||
targetpath=${INSTANT_NATIVE_PATH}${OE_QMAKE_PATH_HOST_BINS}
|
||||
# be sure we remove old link (if any...)
|
||||
rm -f $targetpath/$qtconf
|
||||
cp $sourcepath/$qtconf $targetpath/
|
||||
}
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
# An image installing this requires the following packages at least for working
|
||||
# instant sdk support
|
||||
RDEPENDS:${PN} = " \
|
||||
qtbase \
|
||||
gdbserver \
|
||||
${TASK_BASIC_SSHDAEMON} \
|
||||
"
|
||||
66
raspi-image-test-and-setup
Normal file
66
raspi-image-test-and-setup
Normal file
@@ -0,0 +1,66 @@
|
||||
Setup new image:
|
||||
|
||||
* BACKUP CURRENT HOME
|
||||
* REMOVE NETWORK PLUG
|
||||
|
||||
* 1st login xfce
|
||||
* copy this file to /home/morona / open with gedit / setup colour theme
|
||||
|
||||
As root:
|
||||
* systemctl disable serial-getty@ttyS0
|
||||
* systemctl disable serial-getty@ttyAMA0
|
||||
* systemctl enable dbus-broker.service
|
||||
* systemctl --global enable dbus-broker.service
|
||||
* create /home/<user>/.asoundrc with (soundcards can be sndrpihifiberry/audioinjectorpi...)
|
||||
pcm.!default {
|
||||
type hw
|
||||
card sndrpihifiberry
|
||||
}
|
||||
ctl.!default {
|
||||
type hw
|
||||
card sndrpihifiberry
|
||||
}
|
||||
* audioinjector: enable mixer control "Output Mixer HiFi"
|
||||
* passwd
|
||||
|
||||
As user:
|
||||
* passwd
|
||||
* check session autostart (evt. disable blueman/baloo/tracker/scrensaver..)
|
||||
* datetime: timezone
|
||||
* optionally for a tiny better performance: reduce screen resolution (yes really tested: 1280x1024 / 1280x720 are fine)
|
||||
* check /var/log/postinstall.log
|
||||
* restart
|
||||
* network plug
|
||||
* check journalctl output
|
||||
* check systemd-analyze: Can be 8-9s
|
||||
* glmark2-es2: On Pi3 (no B+) ~145 / On Pi 4 ~269
|
||||
* chromium unselect 'Allow Chromium-sign-in / add ad-blocker / check youtube music-video
|
||||
* libreoffice: open documents to set libreoffice default
|
||||
* jack setup
|
||||
* qtractor midiimport / open reference-project and check all instruments
|
||||
* ardour5/6
|
||||
* qmmp/projectm
|
||||
* mixxx
|
||||
* vlc
|
||||
* supercollider
|
||||
* krita/kdenlive/kalzium
|
||||
* set-up git (.gitconfig) / ssh-keygen -> github
|
||||
* qt-creator
|
||||
standard build directory:
|
||||
/home/morona/tmp/qtbuilds/build-%{CurrentProject:Name}-%{CurrentKit:FileSystemName}-%{CurrentBuild:Name}
|
||||
help/about plugins
|
||||
disable ClangCodeModel
|
||||
kit/compiler:
|
||||
set gcc explicitly - clang causes trouble on qml-register functions
|
||||
kit/cmake:
|
||||
CMAKE_INSTALL_PREFIX:STRING=/home/morona/tmp/qtinstalls/usr
|
||||
CMAKE_PREFIX_PATH:STRING=/home/morona/tmp/qtinstalls/usr;%{Qt:QT_INSTALL_PREFIX}
|
||||
OE_QMAKE_PATH_EXTERNAL_HOST_BINS:STRING=/usr/bin
|
||||
* clone avr projects & build them
|
||||
* kicad: open example / check 3d preview
|
||||
* mame: set video opengl / test some ROMs
|
||||
* vice: select cairo
|
||||
* dosbox / dosbox-x / stella
|
||||
* supertux(kart??)
|
||||
* open all available desktops
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "This recipe presets xfce user default configuration"
|
||||
SUMMARY = "LXQT default user configuration"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[Desktop Entry]
|
||||
Hidden=true
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[Desktop Entry]
|
||||
Hidden=true
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[Desktop Entry]
|
||||
Hidden=true
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[Desktop Entry]
|
||||
Hidden=true
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[Desktop Entry]
|
||||
Hidden=true
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[Desktop Entry]
|
||||
Hidden=true
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[Desktop Entry]
|
||||
Hidden=true
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
[xfdesktop-version-4.10.3+-rcfile_format]
|
||||
4.10.3+=true
|
||||
|
||||
[BB09-AB56]
|
||||
row=1
|
||||
col=0
|
||||
|
||||
[4C9E-146F]
|
||||
row=0
|
||||
col=0
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
timeout=1
|
||||
show_cpu=0
|
||||
show_cpu=-3
|
||||
show_icon=false
|
||||
show_label_freq=true
|
||||
show_label_governor=true
|
||||
show_warning=true
|
||||
keep_compact=false
|
||||
one_line=false
|
||||
fontname=Sans 8
|
||||
fontname=Sans 7
|
||||
icon_color_freq=false
|
||||
freq_unit=0
|
||||
|
||||
|
||||
@@ -10,8 +10,6 @@ Command=xfce4-taskmanager
|
||||
InTerminal=0
|
||||
StartupNotification=1
|
||||
ColorMode=0
|
||||
Foreground1=#0000ffff0000
|
||||
Foreground2=#ffff00000000
|
||||
Foreground3=#00000000ffff
|
||||
Background=#333339393b3b
|
||||
Background=rgb(0,0,0)
|
||||
PerCore=0
|
||||
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
[Main]
|
||||
Timeout=500
|
||||
Timeout_Seconds=1
|
||||
Use_Timeout_Seconds=false
|
||||
Use_Click_Command=false
|
||||
Click_Command=xfce4-taskmanager
|
||||
|
||||
[SL_Cpu]
|
||||
Enabled=false
|
||||
Use_Label=true
|
||||
Color=rgb(0,0,192)
|
||||
Text=cpu
|
||||
|
||||
[SL_Mem]
|
||||
Enabled=true
|
||||
Use_Label=false
|
||||
Color=rgb(0,192,0)
|
||||
Text=mem
|
||||
|
||||
[SL_Swap]
|
||||
Enabled=false
|
||||
Use_Label=true
|
||||
Color=rgb(240,240,0)
|
||||
Text=swap
|
||||
|
||||
[SL_Uptime]
|
||||
Enabled=false
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-web-browser.desktop,qjackctl.desktop,ardour5.desktop,lmms.desktop,muse.desktop,qtractor.desktop,rosegarden.desktop,mixxx.desktop,cgenie.desktop,vice_64.desktop
|
||||
favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-web-browser.desktop,qjackctl.desktop,ardour5.desktop,ardour6.desktop,lmms.desktop,muse.desktop,qtractor.desktop,rosegarden.desktop,mixxx.desktop,cgenie.desktop,vice_64.desktop
|
||||
recent=
|
||||
button-title=Anwendungen
|
||||
button-icon=xfce4-whiskermenu
|
||||
@@ -15,7 +15,6 @@ category-icon-size=1
|
||||
load-hierarchy=false
|
||||
recent-items-max=10
|
||||
favorites-in-recent=true
|
||||
display-recent-default=false
|
||||
position-search-alternate=false
|
||||
position-commands-alternate=false
|
||||
position-categories-alternate=false
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
[General]
|
||||
Show_Title=false
|
||||
Show_Labels=false
|
||||
str_fontsize=small
|
||||
val_fontsize=1
|
||||
Font=Sans 11
|
||||
Update_Interval=1
|
||||
Show_Units=true
|
||||
Small_Spacings=false
|
||||
Command_Name=xfce4-sensors
|
||||
|
||||
[Chip0]
|
||||
Name=ACPI
|
||||
Number=0
|
||||
|
||||
[Chip0_Feature0]
|
||||
Address=0
|
||||
Name=thermal_zone0
|
||||
Color=#008000
|
||||
Show=true
|
||||
Min=0.00
|
||||
Max=70.00
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
display_type=0
|
||||
display_textsize=2
|
||||
group_policy=0
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
[Configuration]
|
||||
FontName=Monospace 9
|
||||
MiscAlwaysShowTabs=FALSE
|
||||
MiscBell=FALSE
|
||||
MiscBellUrgent=FALSE
|
||||
MiscBordersDefault=TRUE
|
||||
MiscCursorBlinks=FALSE
|
||||
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
|
||||
MiscDefaultGeometry=80x24
|
||||
MiscInheritGeometry=FALSE
|
||||
MiscMenubarDefault=FALSE
|
||||
MiscMouseAutohide=FALSE
|
||||
MiscMouseWheelZoom=TRUE
|
||||
MiscToolbarDefault=TRUE
|
||||
MiscConfirmClose=TRUE
|
||||
MiscCycleTabs=TRUE
|
||||
MiscTabCloseButtons=TRUE
|
||||
MiscTabCloseMiddleClick=TRUE
|
||||
MiscTabPosition=GTK_POS_TOP
|
||||
MiscHighlightUrls=TRUE
|
||||
MiscMiddleClickOpensUri=FALSE
|
||||
MiscCopyOnSelect=FALSE
|
||||
MiscDefaultWorkingDir=
|
||||
MiscRewrapOnResize=TRUE
|
||||
MiscUseShiftArrowsToScroll=FALSE
|
||||
MiscSlimTabs=FALSE
|
||||
ColorForeground=#000000000000
|
||||
ColorBackground=#fae0f4f1a311
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="pointers" version="1.0">
|
||||
<property name="ADS7846_Touchscreen" type="empty">
|
||||
<property name="TouchscreenPointer" type="bool" value="true"/>
|
||||
</property>
|
||||
<property name="eGalax_Inc_USB_TouchController" type="empty">
|
||||
<property name="TouchscreenPointer" type="bool" value="true"/>
|
||||
</property>
|
||||
</channel>
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="ristretto" version="1.0">
|
||||
<property name="window" type="empty">
|
||||
<property name="navigationbar" type="empty">
|
||||
<property name="position" type="string" value="left"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="desktop" type="empty">
|
||||
<property name="type" type="string" value="xfce"/>
|
||||
</property>
|
||||
</channel>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="thunar-volman" version="1.0">
|
||||
<property name="automount-drives" type="empty">
|
||||
<property name="enabled" type="bool" value="true"/>
|
||||
</property>
|
||||
<property name="automount-media" type="empty">
|
||||
<property name="enabled" type="bool" value="true"/>
|
||||
</property>
|
||||
</channel>
|
||||
@@ -4,14 +4,14 @@
|
||||
<property name="default-view" type="string" value="void"/>
|
||||
<property name="last-compact-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_SMALLEST"/>
|
||||
<property name="last-details-view-column-order" type="string" value="THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE,THUNAR_COLUMN_DATE_MODIFIED"/>
|
||||
<property name="last-details-view-column-widths" type="string" value="50,155,50,50,492,50,50,83,181"/>
|
||||
<property name="last-details-view-column-widths" type="string" value="50,142,50,50,254,50,50,80,181,139"/>
|
||||
<property name="last-details-view-fixed-columns" type="bool" value="false"/>
|
||||
<property name="last-details-view-visible-columns" type="string" value="THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE"/>
|
||||
<property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_SMALL"/>
|
||||
<property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_50_PERCENT"/>
|
||||
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_NORMAL"/>
|
||||
<property name="last-location-bar" type="string" value="ThunarLocationEntry"/>
|
||||
<property name="last-separator-position" type="int" value="303"/>
|
||||
<property name="last-show-hidden" type="bool" value="false"/>
|
||||
<property name="last-separator-position" type="int" value="232"/>
|
||||
<property name="last-show-hidden" type="bool" value="true"/>
|
||||
<property name="last-side-pane" type="string" value="ThunarShortcutsPane"/>
|
||||
<property name="last-sort-column" type="string" value="THUNAR_COLUMN_NAME"/>
|
||||
<property name="last-sort-order" type="string" value="GTK_SORT_ASCENDING"/>
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-appfinder" version="1.0">
|
||||
<property name="last" type="empty">
|
||||
<property name="window-height" type="int" value="343"/>
|
||||
<property name="window-width" type="int" value="750"/>
|
||||
<property name="pane-position" type="int" value="180"/>
|
||||
</property>
|
||||
</channel>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-mixer" version="1.0">
|
||||
<property name="sound-card" type="string" value="overoAlsamixer"/>
|
||||
<property name="sound-cards" type="empty">
|
||||
<property name="overoAlsamixer" type="array">
|
||||
<value type="string" value="DAC1 Analog"/>
|
||||
<value type="string" value="Headset"/>
|
||||
<value type="string" value="HeadsetL Mixer AudioL1"/>
|
||||
<value type="string" value="HeadsetR Mixer AudioR1"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="window-height" type="int" value="400"/>
|
||||
<property name="window-width" type="int" value="659"/>
|
||||
</channel>
|
||||
@@ -14,16 +14,15 @@
|
||||
<value type="int" value="15"/>
|
||||
<value type="int" value="8"/>
|
||||
<value type="int" value="5"/>
|
||||
<value type="int" value="9"/>
|
||||
<value type="int" value="13"/>
|
||||
<value type="int" value="6"/>
|
||||
<value type="int" value="10"/>
|
||||
<value type="int" value="2"/>
|
||||
<value type="int" value="4"/>
|
||||
<value type="int" value="11"/>
|
||||
<value type="int" value="7"/>
|
||||
<value type="int" value="12"/>
|
||||
<value type="int" value="1"/>
|
||||
<value type="int" value="7"/>
|
||||
</property>
|
||||
<property name="mode" type="uint" value="2"/>
|
||||
<property name="background-alpha" type="uint" value="17"/>
|
||||
@@ -53,19 +52,17 @@
|
||||
<property name="show-frame" type="bool" value="false"/>
|
||||
<property name="size-max" type="uint" value="40"/>
|
||||
<property name="square-icons" type="bool" value="false"/>
|
||||
<property name="icon-size" type="int" value="32"/>
|
||||
</property>
|
||||
<property name="plugin-8" type="string" value="closebutton">
|
||||
<property name="theme" type="string" value="Default"/>
|
||||
</property>
|
||||
<property name="plugin-9" type="string" value="separator">
|
||||
<property name="expand" type="bool" value="true"/>
|
||||
<property name="style" type="uint" value="0"/>
|
||||
</property>
|
||||
<property name="plugin-10" type="string" value="separator">
|
||||
<property name="style" type="uint" value="0"/>
|
||||
</property>
|
||||
<property name="plugin-13" type="string" value="separator">
|
||||
<property name="style" type="uint" value="0"/>
|
||||
<property name="expand" type="bool" value="true"/>
|
||||
</property>
|
||||
<property name="plugin-2" type="string" value="clock">
|
||||
<property name="mode" type="uint" value="0"/>
|
||||
@@ -84,10 +81,25 @@
|
||||
</property>
|
||||
<property name="plugin-3" type="string" value="whiskermenu"/>
|
||||
<property name="plugin-1" type="string" value="cpugraph"/>
|
||||
<property name="plugin-7" type="string" value="xkb">
|
||||
<property name="group-policy" type="uint" value="0"/>
|
||||
</property>
|
||||
<property name="plugin-11" type="string" value="cpufreq"/>
|
||||
<property name="plugin-12" type="string" value="systemload"/>
|
||||
<property name="plugin-12" type="string" value="systemload">
|
||||
<property name="cpu" type="empty">
|
||||
<property name="enabled" type="bool" value="false"/>
|
||||
</property>
|
||||
<property name="memory" type="empty">
|
||||
<property name="label" type="string" value=""/>
|
||||
</property>
|
||||
<property name="swap" type="empty">
|
||||
<property name="enabled" type="bool" value="false"/>
|
||||
</property>
|
||||
<property name="uptime" type="empty">
|
||||
<property name="enabled" type="bool" value="false"/>
|
||||
</property>
|
||||
<property name="network" type="empty">
|
||||
<property name="enabled" type="bool" value="true"/>
|
||||
<property name="label" type="string" value=""/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="plugin-7" type="string" value="xfce4-sensors-plugin"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-settings-editor" version="1.0">
|
||||
<property name="last" type="empty">
|
||||
<property name="window-width" type="int" value="640"/>
|
||||
<property name="window-height" type="int" value="500"/>
|
||||
<property name="paned-position" type="int" value="180"/>
|
||||
</property>
|
||||
</channel>
|
||||
@@ -3,6 +3,6 @@
|
||||
<channel name="xfce4-settings-manager" version="1.0">
|
||||
<property name="last" type="empty">
|
||||
<property name="window-width" type="int" value="858"/>
|
||||
<property name="window-height" type="int" value="661"/>
|
||||
<property name="window-height" type="int" value="675"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
||||
@@ -2,87 +2,12 @@
|
||||
|
||||
<channel name="xfwm4" version="1.0">
|
||||
<property name="general" type="empty">
|
||||
<property name="activate_action" type="string" value="bring"/>
|
||||
<property name="borderless_maximize" type="bool" value="true"/>
|
||||
<property name="box_move" type="bool" value="false"/>
|
||||
<property name="box_resize" type="bool" value="false"/>
|
||||
<property name="button_layout" type="string" value="O|SHMC"/>
|
||||
<property name="button_offset" type="int" value="0"/>
|
||||
<property name="button_spacing" type="int" value="0"/>
|
||||
<property name="click_to_focus" type="bool" value="true"/>
|
||||
<property name="focus_delay" type="int" value="250"/>
|
||||
<property name="cycle_apps_only" type="bool" value="false"/>
|
||||
<property name="cycle_draw_frame" type="bool" value="true"/>
|
||||
<property name="cycle_hidden" type="bool" value="true"/>
|
||||
<property name="cycle_minimum" type="bool" value="true"/>
|
||||
<property name="cycle_workspaces" type="bool" value="false"/>
|
||||
<property name="double_click_time" type="int" value="250"/>
|
||||
<property name="double_click_distance" type="int" value="5"/>
|
||||
<property name="double_click_action" type="string" value="maximize"/>
|
||||
<property name="easy_click" type="string" value="Alt"/>
|
||||
<property name="focus_hint" type="bool" value="true"/>
|
||||
<property name="focus_new" type="bool" value="true"/>
|
||||
<property name="frame_opacity" type="int" value="87"/>
|
||||
<property name="full_width_title" type="bool" value="true"/>
|
||||
<property name="inactive_opacity" type="int" value="87"/>
|
||||
<property name="maximized_offset" type="int" value="0"/>
|
||||
<property name="move_opacity" type="int" value="87"/>
|
||||
<property name="placement_ratio" type="int" value="20"/>
|
||||
<property name="placement_mode" type="string" value="center"/>
|
||||
<property name="frame_opacity" type="int" value="90"/>
|
||||
<property name="inactive_opacity" type="int" value="90"/>
|
||||
<property name="move_opacity" type="int" value="90"/>
|
||||
<property name="popup_opacity" type="int" value="100"/>
|
||||
<property name="mousewheel_rollup" type="bool" value="true"/>
|
||||
<property name="prevent_focus_stealing" type="bool" value="false"/>
|
||||
<property name="raise_delay" type="int" value="250"/>
|
||||
<property name="raise_on_click" type="bool" value="true"/>
|
||||
<property name="raise_on_focus" type="bool" value="false"/>
|
||||
<property name="raise_with_any_button" type="bool" value="true"/>
|
||||
<property name="repeat_urgent_blink" type="bool" value="false"/>
|
||||
<property name="resize_opacity" type="int" value="87"/>
|
||||
<property name="restore_on_move" type="bool" value="true"/>
|
||||
<property name="scroll_workspaces" type="bool" value="true"/>
|
||||
<property name="shadow_delta_height" type="int" value="0"/>
|
||||
<property name="shadow_delta_width" type="int" value="0"/>
|
||||
<property name="shadow_delta_x" type="int" value="0"/>
|
||||
<property name="shadow_delta_y" type="int" value="-3"/>
|
||||
<property name="shadow_opacity" type="int" value="50"/>
|
||||
<property name="show_app_icon" type="bool" value="false"/>
|
||||
<property name="show_dock_shadow" type="bool" value="true"/>
|
||||
<property name="show_frame_shadow" type="bool" value="true"/>
|
||||
<property name="show_popup_shadow" type="bool" value="false"/>
|
||||
<property name="snap_resist" type="bool" value="false"/>
|
||||
<property name="snap_to_border" type="bool" value="true"/>
|
||||
<property name="snap_to_windows" type="bool" value="false"/>
|
||||
<property name="snap_width" type="int" value="10"/>
|
||||
<property name="theme" type="string" value="Default"/>
|
||||
<property name="tile_on_move" type="bool" value="true"/>
|
||||
<property name="title_alignment" type="string" value="center"/>
|
||||
<property name="title_font" type="string" value="Sans Bold 9"/>
|
||||
<property name="title_horizontal_offset" type="int" value="0"/>
|
||||
<property name="title_shadow_active" type="string" value="false"/>
|
||||
<property name="title_shadow_inactive" type="string" value="false"/>
|
||||
<property name="title_vertical_offset_active" type="int" value="0"/>
|
||||
<property name="title_vertical_offset_inactive" type="int" value="0"/>
|
||||
<property name="toggle_workspaces" type="bool" value="false"/>
|
||||
<property name="unredirect_overlays" type="bool" value="true"/>
|
||||
<property name="urgent_blink" type="bool" value="false"/>
|
||||
<property name="resize_opacity" type="int" value="90"/>
|
||||
<property name="use_compositing" type="bool" value="false"/>
|
||||
<property name="workspace_count" type="int" value="1"/>
|
||||
<property name="workspace_names" type="array">
|
||||
<value type="string" value="Arbeitsfläche 1"/>
|
||||
<value type="string" value="Arbeitsfläche 2"/>
|
||||
<value type="string" value="Arbeitsfläche 3"/>
|
||||
<value type="string" value="Arbeitsfläche 4"/>
|
||||
</property>
|
||||
<property name="wrap_cycle" type="bool" value="true"/>
|
||||
<property name="wrap_layout" type="bool" value="true"/>
|
||||
<property name="wrap_resistance" type="int" value="10"/>
|
||||
<property name="wrap_windows" type="bool" value="true"/>
|
||||
<property name="wrap_workspaces" type="bool" value="false"/>
|
||||
<property name="cycle_preview" type="bool" value="true"/>
|
||||
<property name="cycle_tabwin_mode" type="int" value="0"/>
|
||||
<property name="horiz_scroll_opacity" type="bool" value="false"/>
|
||||
<property name="sync_to_vblank" type="bool" value="false"/>
|
||||
<property name="titleless_maximize" type="bool" value="false"/>
|
||||
<property name="zoom_desktop" type="bool" value="true"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<channel name="xsettings" version="1.0">
|
||||
<property name="Net" type="empty">
|
||||
<property name="ThemeName" type="string" value="Adwaita-dark"/>
|
||||
<property name="IconThemeName" type="empty"/>
|
||||
<property name="IconThemeName" type="string" value="Adwaita"/>
|
||||
<property name="DoubleClickTime" type="empty"/>
|
||||
<property name="DoubleClickDistance" type="empty"/>
|
||||
<property name="DndDragThreshold" type="empty"/>
|
||||
@@ -31,7 +31,7 @@
|
||||
<property name="MenuImages" type="empty"/>
|
||||
<property name="ButtonImages" type="empty"/>
|
||||
<property name="MenuBarAccel" type="empty"/>
|
||||
<property name="CursorThemeName" type="string" value="default"/>
|
||||
<property name="CursorThemeName" type="string" value="Adwaita"/>
|
||||
<property name="CursorThemeSize" type="empty"/>
|
||||
<property name="DecorationLayout" type="empty"/>
|
||||
<property name="TouchscreenMode" type="bool" value="false"/>
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
[Default Applications]
|
||||
application/x-bzip-compressed-tar=xarchiver.desktop
|
||||
application/x-compressed-tar=xarchiver.desktop
|
||||
text/plain=gedit.desktop
|
||||
application/x-lrzip=xarchiver.desktop
|
||||
application/x-bzip=xarchiver.desktop
|
||||
application/gzip=xarchiver.desktop
|
||||
application/x-lzip=xarchiver.desktop
|
||||
application/zip=xarchiver.desktop
|
||||
application/x-lzma-compressed-tar=xarchiver.desktop
|
||||
application/x-tar=xarchiver.desktop
|
||||
application/x-tarz=xarchiver.desktop
|
||||
application/x-ustar=xarchiver.desktop
|
||||
application/x-xz-compressed-tar=xarchiver.desktop
|
||||
image/png=ristretto.desktop
|
||||
image/jpeg=ristretto.desktop
|
||||
application/x-deb=xarchiver.desktop
|
||||
application/pdf=evince.desktop
|
||||
|
||||
[Added Associations]
|
||||
application/x-bzip-compressed-tar=xarchiver.desktop;
|
||||
application/x-compressed-tar=xarchiver.desktop;
|
||||
text/plain=gedit.desktop;
|
||||
application/x-lrzip=xarchiver.desktop;
|
||||
application/x-bzip=xarchiver.desktop;
|
||||
application/gzip=xarchiver.desktop;
|
||||
application/x-lzip=xarchiver.desktop;
|
||||
application/zip=xarchiver.desktop;
|
||||
application/x-lzma-compressed-tar=xarchiver.desktop;
|
||||
application/x-tar=xarchiver.desktop;
|
||||
application/x-tarz=xarchiver.desktop;
|
||||
application/x-ustar=xarchiver.desktop;
|
||||
application/x-xz-compressed-tar=xarchiver.desktop;
|
||||
image/png=ristretto.desktop;
|
||||
image/jpeg=ristretto.desktop;
|
||||
application/x-deb=xarchiver.desktop;
|
||||
application/pdf=evince.desktop;
|
||||
@@ -1,7 +1,6 @@
|
||||
DESCRIPTION = "This recipe presets xfce user default configuration"
|
||||
SUMMARY = "XFCE default user configuration"
|
||||
LICENSE = "MIT & CC0-1.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
PR = "r4"
|
||||
|
||||
# License sunrise: https://www.pexels.com/photo/sunrise-under-cloudy-sky-illustration-67832/
|
||||
|
||||
@@ -24,9 +23,9 @@ do_install() {
|
||||
install -m 0644 ${WORKDIR}/sunrise-sky-blue-sunlight-67832.jpeg ${D}${datadir}/backgrounds/
|
||||
}
|
||||
|
||||
FILES_${PN} += "${datadir}/backgrounds"
|
||||
FILES:${PN} += "${datadir}/backgrounds"
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
RDEPENDS:${PN} += " \
|
||||
adwaita-icon-theme-cursors \
|
||||
adwaita-icon-theme-symbolic \
|
||||
adwaita-icon-theme-symbolic-hires \
|
||||
@@ -0,0 +1,8 @@
|
||||
[Configuration]
|
||||
MiscMenubarDefault=FALSE
|
||||
MiscToolbarDefault=FALSE
|
||||
MiscConfirmClose=FALSE
|
||||
ScrollingLines=1000000
|
||||
ScrollingOnOutput=FALSE
|
||||
ColorPalette=rgb(0,0,0);rgb(252,30,30);rgb(132,237,32);rgb(236,202,50);rgb(48,70,252);rgb(198,60,221);rgb(6,152,154);rgb(211,215,207);rgb(85,87,83);rgb(252,96,96);rgb(161,246,79);rgb(247,232,114);rgb(99,131,254);rgb(211,167,206);rgb(80,252,252);rgb(238,238,236)
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
SUMMARY = "xfce4-terminal default user configuration"
|
||||
LICENSE = "MIT & CC0-1.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
inherit allarch
|
||||
|
||||
SRC_URI = " \
|
||||
file://.config \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
# default user configration -> /etc/skel
|
||||
install -d ${D}${sysconfdir}/skel
|
||||
cp -r ${WORKDIR}/.config ${D}${sysconfdir}/skel/
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user