Compare commits
429 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
700032d054 | ||
c26e230fdb | |||
052f922ba2 | |||
824b9a4198 | |||
97b29c3061 | |||
|
cad6c9f689 | ||
f65705c781 | |||
4f0e684403 | |||
4978a117d4 | |||
e6cf64c43e | |||
0712a37a37 | |||
4ded1baa66 | |||
b20ebcab8f | |||
122a4e4a50 | |||
4ef72dd23d | |||
d365af9200 | |||
|
a03b452b2d | ||
f7f082bece | |||
425fc1def0 | |||
5577800554 | |||
f560150f19 | |||
23a460dd3d | |||
7b9d60d666 | |||
9ad8dc0972 | |||
ed332d578d | |||
9f89ba5d38 | |||
aae5403715 | |||
|
bc1f6f710b | ||
|
58592585b5 | ||
b5bae16ea5 | |||
28575be1a1 | |||
f14af75ff8 | |||
5c83e0a523 | |||
f138e08184 | |||
8bd65d9702 | |||
|
8ab0b6c14a | ||
d1ac863698 | |||
7dd35f52c5 | |||
23c589fb54 | |||
66129ca04f | |||
8f277adb1c | |||
|
a95a6264af | ||
1a9f2a7c06 | |||
8bb036662b | |||
f90b105c3d | |||
|
181e72060b | ||
|
2f0ecfa101 | ||
|
4b683d11f1 | ||
|
3943d7307e | ||
fe98a02c39 | |||
3df582a319 | |||
99e484ac4f | |||
fc647874d4 | |||
65a4b501cf | |||
093c6b1ebc | |||
146b6bb2b7 | |||
|
92fe7dc752 | ||
1eb3e6bfe4 | |||
|
8cb610230a | ||
b5f21c27a2 | |||
aa77f7e29f | |||
b30595ff9e | |||
572f45e7c0 | |||
ed277f0ccf | |||
877fba2929 | |||
8a5e4a537f | |||
523e7b00a7 | |||
12588547f0 | |||
67df18e642 | |||
a9a348c00f | |||
1c64824023 | |||
26473fc556 | |||
2dd2355153 | |||
23961bc359 | |||
8063e85d87 | |||
09c36632f0 | |||
dbfec168e6 | |||
|
9912062836 | ||
|
bde3910eb8 | ||
|
7d1f1b11dd | ||
1370bfb150 | |||
6e22a8cbcb | |||
dc14fbac7b | |||
6adf3bfe3f | |||
85853a323c | |||
f9eb0bff2d | |||
6bd482755f | |||
fc990ac970 | |||
d573bfdbe9 | |||
70b7d2f35e | |||
782e890269 | |||
e171d12497 | |||
74a984b20c | |||
b0b1211215 | |||
b657f8e40c | |||
e1c3885890 | |||
6580be4c60 | |||
|
405c678323 | ||
|
3d91acda28 | ||
|
9a3fed339f | ||
|
ed0fb56327 | ||
|
a354ba8c14 | ||
|
ee37afc199 | ||
|
759e06b40c | ||
|
527ebf7d63 | ||
|
bcc849c816 | ||
|
2727d2a94a | ||
|
03dd78f6eb | ||
|
2dbb72ff25 | ||
|
4148aa61e8 | ||
|
ad24a9f80a | ||
|
bc6856edec | ||
|
faa75ccdfd | ||
|
b0fdb2e935 | ||
|
a0ecbb1784 | ||
|
3c429f1ce9 | ||
|
4bb2064529 | ||
|
48e6fc4796 | ||
|
5f05cbd031 | ||
|
d78619af22 | ||
|
b2f8715797 | ||
|
c6dc3a4445 | ||
a00e627e9d | |||
9bf9e8c9d4 | |||
c96e3f2d1a | |||
687c5b9029 | |||
f02e2fb90a | |||
1de940e974 | |||
7927e669bc | |||
67dff1d05c | |||
6ce746efed | |||
5ebb561e92 | |||
d674941a71 | |||
4973189b88 | |||
1f1067a9c2 | |||
2812f9801b | |||
4d79d94532 | |||
2b634c24f8 | |||
4f200ae2bd | |||
9279660ec5 | |||
|
70f15f7e02 | ||
|
d8e050dc59 | ||
|
093c8c4864 | ||
|
5c220aa88c | ||
|
e5ee381a2f | ||
|
23481978fa | ||
|
115a1901cd | ||
|
50a9dbf268 | ||
|
fddbb12ab4 | ||
|
d2937227ce | ||
|
a1e9e8f39f | ||
|
d4abcecbcf | ||
|
d77259a552 | ||
|
11b5865dc1 | ||
|
528d55e41e | ||
|
de8a578f87 | ||
|
1540ada091 | ||
|
b8c42c6c2f | ||
|
55adcbb68d | ||
|
1a7f74677b | ||
|
3897e5505d | ||
2d748fea57 | |||
8f81f3110e | |||
|
262d353742 | ||
|
77b0549dad | ||
|
808f52f03d | ||
|
42cdc1d74d | ||
|
b80c1aa87a | ||
9da92a21b3 | |||
b9ce1072de | |||
4f2cc925ca | |||
45b8a7107d | |||
34602db785 | |||
ed6579738c | |||
4e8abe53fb | |||
b001f1b022 | |||
782727d7d2 | |||
|
ca7f28250b | ||
|
d55ecf43ed | ||
|
d571ab545e | ||
|
9488b53ece | ||
|
86b2a33bde | ||
|
b09d2af23a | ||
|
f8ae619bbb | ||
|
0039b215ae | ||
|
aea4ceaa18 | ||
|
760c09c393 | ||
|
b1c1dd488f | ||
|
2194c95f68 | ||
|
572aa46ddb | ||
|
07f9abb0bc | ||
|
9cb31b98aa | ||
|
12f8d8e2f4 | ||
|
d55bfec1e9 | ||
|
8ef6383457 | ||
|
dfbfcf56a4 | ||
|
c018343efd | ||
|
a5ed88279c | ||
|
6503141c55 | ||
|
ed8aff34ea | ||
|
b454f1cdb3 | ||
|
c4e0681943 | ||
|
38e149a7fc | ||
|
5b7c189385 | ||
|
7755845dcd | ||
|
ba7efe5685 | ||
|
5a79db50e1 | ||
|
7812a153f8 | ||
|
ad762a035c | ||
|
a4373ab7e5 | ||
|
27c9734f58 | ||
|
046dd9ec21 | ||
|
9c9af4d811 | ||
|
51280120ed | ||
|
73ed631be1 | ||
|
ae58b7e1c3 | ||
|
2c65c49b02 | ||
|
7d20d6da5c | ||
|
13e5a174d0 | ||
|
db600e7020 | ||
|
6dba582805 | ||
|
ae39278c4b | ||
|
f3d360f91b | ||
|
cec072843a | ||
|
a90af4befe | ||
|
b277e614fa | ||
|
3215b2f394 | ||
|
c0883876b1 | ||
|
c9ff58f441 | ||
|
1fe0bc75b6 | ||
|
c7d719d8bf | ||
|
0cf85162e1 | ||
|
b6e4b2868e | ||
|
333f05e3e5 | ||
|
bc2b4ba47f | ||
|
2849c244f9 | ||
|
c40db390d4 | ||
|
386df4501b | ||
|
1e480a9d0c | ||
|
cac743d219 | ||
|
0dd3531bd5 | ||
|
a57bc9c674 | ||
|
dd6ccc9f19 | ||
|
445cb9673e | ||
|
f88676a7bb | ||
|
59f9c0f148 | ||
|
b880b3379c | ||
|
64088a8047 | ||
|
3fdc2276ce | ||
|
4fed6f459d | ||
|
55440b6ae8 | ||
|
732c02b7ef | ||
|
347d9c94a4 | ||
|
32c9f80de7 | ||
|
0f78e505ed | ||
|
92b1ec10c3 | ||
|
ad388f6bd7 | ||
|
3843419d0f | ||
|
235a644b0e | ||
|
a255dc1f1f | ||
|
87d1f45d44 | ||
|
efd39a9dea | ||
|
ffd4e21df5 | ||
|
a8d298ce20 | ||
|
7e98d3b2b5 | ||
|
d207711641 | ||
|
405e785281 | ||
|
cb02fcf7bd | ||
|
9fccd23258 | ||
|
d14d0c7865 | ||
|
ca5a82176c | ||
|
3930551128 | ||
|
57015a7ecc | ||
|
137ba7cff8 | ||
|
fccb10d511 | ||
|
a5bb60c467 | ||
|
2cf1e5f247 | ||
|
2b41bda0ed | ||
|
2de09ac9ec | ||
|
f8b0acd250 | ||
|
28413ec15b | ||
|
248093308b | ||
|
7204fefc12 | ||
|
cffa1bcf2f | ||
|
8173cef0a0 | ||
|
380783d001 | ||
|
556505504a | ||
|
fd5aa16c00 | ||
|
53d1c28abc | ||
|
c01c017241 | ||
|
8cf26e79d2 | ||
|
0488247586 | ||
|
de292ec837 | ||
|
f9eeda3ab2 | ||
|
d9fa81de0f | ||
|
e5c65b50fe | ||
|
09de9021f0 | ||
|
8811cf7c5a | ||
|
be449541c5 | ||
|
a67889e523 | ||
|
8f04dc9a5c | ||
|
3dc79d4382 | ||
|
76a843b79c | ||
|
2bb711bbee | ||
|
56da7a16cb | ||
|
2547ec858e | ||
|
5855318a10 | ||
|
c32e35f52a | ||
|
bff28d409d | ||
|
e6b94ed542 | ||
|
a24a7451cb | ||
|
4c5f2792d4 | ||
|
70d8e242ae | ||
|
f7fc861a08 | ||
|
fe2bca50f8 | ||
|
81fadbddd2 | ||
|
f2c49ca5fe | ||
|
aa3703d2aa | ||
|
fffd065711 | ||
|
ef705bb47c | ||
|
189ef62d39 | ||
|
6ceee29282 | ||
|
d18b264fb8 | ||
|
71b2b7d684 | ||
|
a4df572f58 | ||
|
62f3ac1c2c | ||
|
775f62ac17 | ||
|
08ec1254ac | ||
|
07cac36d3d | ||
|
1e14418f9b | ||
|
77de1c8db7 | ||
|
7a58ffd355 | ||
|
6a3355135d | ||
|
a2d42b5df5 | ||
|
547e6ba455 | ||
|
e04c7a4ade | ||
|
6d4a210924 | ||
|
ecaeac595d | ||
|
7311bce3b9 | ||
|
d17ef9d1e7 | ||
|
5c5857c5ae | ||
|
e92679b75f | ||
|
aabf932327 | ||
|
9fe8396f89 | ||
|
e7434704fc | ||
|
5f3a8542e9 | ||
|
59b8da8c61 | ||
|
eed7a25b21 | ||
|
c602ba7904 | ||
|
37aaa679f8 | ||
|
60d5f41fff | ||
|
864962919c | ||
|
fb6f54fb72 | ||
|
e1dfbb3ae5 | ||
|
3b7314cad0 | ||
|
e35a0fa52f | ||
|
102513d2a4 | ||
|
8f5d7b00ec | ||
|
0b0a32c854 | ||
|
5722cf477d | ||
|
7d8b041f7c | ||
|
3878e5dfa9 | ||
|
800ff39227 | ||
|
1ba541f4bb | ||
|
550273b3ea | ||
|
1b49dd0ea5 | ||
|
35fac18278 | ||
|
de0b9dadcd | ||
|
f722064d4e | ||
|
138680f93b | ||
|
d7150fc3e1 | ||
|
c1abac1d8f | ||
|
e6abb3cfde | ||
|
fe6cc42ba5 | ||
|
d301822ac7 | ||
|
9e80b74b44 | ||
|
11a3785f55 | ||
|
88449a1e0f | ||
|
b0595fcdef | ||
|
efe310a7ab | ||
|
8ae212d92d | ||
|
1f1d839142 | ||
|
cb8d64615c | ||
|
857e00b854 | ||
|
851ed60071 | ||
|
1b5a3add46 | ||
|
cc13e3b458 | ||
|
f089184fe2 | ||
|
e351e1eeff | ||
|
cb3df8836e | ||
|
e4eed893da | ||
|
d23aba896f | ||
|
9cb77e4f92 | ||
|
34c7f808c9 | ||
|
0e23e3cc5d | ||
|
5cbd7aea70 | ||
|
740fa64aae | ||
|
eaac01bf4c | ||
|
ca3d103aa0 | ||
|
92f056e2d7 | ||
|
77a29bedb3 | ||
|
52e824abf0 | ||
|
7fc57a9cf0 | ||
|
85e874d814 | ||
|
02c9ff4d3b | ||
|
bf29d04ca6 | ||
|
52d8197c90 | ||
|
34be7b0548 | ||
|
5a5b1173da | ||
|
1494f7528d | ||
|
e4c841ed20 | ||
|
b315be503a | ||
|
e1b95cb1ab | ||
|
a3855183b1 | ||
|
51f3b30dba | ||
|
ee8ad58f36 | ||
|
e5804d3c52 | ||
|
e97ac330e5 | ||
|
8c42cf9a9c | ||
|
7b59b31d61 | ||
|
7903df3c41 | ||
|
e3338a2891 | ||
|
34d938729d | ||
|
8ca181858c | ||
|
7294d00957 | ||
|
485abfbdfa | ||
|
7c10e793b1 | ||
|
e2ba46aa55 | ||
|
2c07301ac9 |
@ -1,5 +1,5 @@
|
||||
Name: mkimage-profiles
|
||||
Version: 1.3.7
|
||||
Version: 1.3.11.1
|
||||
Release: alt1
|
||||
|
||||
Summary: ALT based distribution metaprofile
|
||||
@ -128,6 +128,29 @@ mv %buildroot%mpdir/doc/mkimage-profiles.7 %buildroot%_man7dir/
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jul 09 2019 Michael Shigorin <mike@altlinux.org> 1.3.11.1-alt1
|
||||
- x11: reverted vulkan changes (need more testing)
|
||||
|
||||
* Mon Jul 08 2019 Michael Shigorin <mike@altlinux.org> 1.3.11-alt1
|
||||
- pkg.in/profiles subdirs support (shaba@)
|
||||
- repo fixup regarding target arch (obirvalger@)
|
||||
- switch back to yandex mirror by default,
|
||||
portability fixes, refactoring, cleanups (antohami@)
|
||||
- x11 amdgpu/radeon and dm fixups, vmguest refactoring (me)
|
||||
|
||||
* Mon Jun 17 2019 Michael Shigorin <mike@altlinux.org> 1.3.10-alt1
|
||||
- add server-v profile, drop groups/openstack (shaba@)
|
||||
|
||||
* Mon Jun 10 2019 Michael Shigorin <mike@altlinux.org> 1.3.9-alt1
|
||||
- uboot feature, bootloader refactoring, etc (antohami@)
|
||||
- cleanlog factored out from reports.mk (me)
|
||||
|
||||
* Mon Jun 03 2019 Michael Shigorin <mike@altlinux.org> 1.3.8-alt1
|
||||
- p9.mk, office feature and other enhancements/fixes (antohami@)
|
||||
- education (cas@)
|
||||
- simply (sem@)
|
||||
- minor tidbits and major merge-up (me)
|
||||
|
||||
* Mon May 06 2019 Michael Shigorin <mike@altlinux.org> 1.3.7-alt1
|
||||
- docker, vm, browser fixups (obirvalger@)
|
||||
- elogind support, refactoring, cleanups (antohami@)
|
||||
|
6
.gear/tags/0ad4cdedf0a3aafca1a5bb95fb645aef85d4c088
Normal file
6
.gear/tags/0ad4cdedf0a3aafca1a5bb95fb645aef85d4c088
Normal file
@ -0,0 +1,6 @@
|
||||
object d8e050dc5902f958613c638d3b3e775ff0a82b9e
|
||||
type commit
|
||||
tag v1.3.11.1
|
||||
tagger Michael Shigorin <mike@altlinux.org> 1562654313 +0300
|
||||
|
||||
v1.3.11.1
|
@ -1,6 +0,0 @@
|
||||
object 54d8ce33a2fca5b4bb6b8396203fd3a5fbe8832c
|
||||
type commit
|
||||
tag v1.3.7
|
||||
tagger Michael Shigorin <mike@altlinux.org> 1557157189 +0300
|
||||
|
||||
v1.3.7
|
@ -1 +1 @@
|
||||
e2429b355431f64afe4f4392be8bc239d0d40455 v1.3.7
|
||||
0ad4cdedf0a3aafca1a5bb95fb645aef85d4c088 v1.3.11.1
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
*~
|
||||
.*.swp
|
||||
build
|
||||
image.in/files/*
|
||||
|
2
Makefile
2
Makefile
@ -8,7 +8,7 @@
|
||||
# for immediate assignment
|
||||
ifndef ARCH
|
||||
ARCH := $(shell arch \
|
||||
| sed 's/i686/i586/; s/armv7.*/armh/; s/armv.*/arm/; s/ppc.*/ppc/')
|
||||
| sed 's/i686/i586/; s/armv7.*/armh/; s/armv.*/arm/')
|
||||
endif
|
||||
|
||||
ifndef ARCHES
|
||||
|
24
bin/cleanlog
Executable file
24
bin/cleanlog
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
# try making build logs more diffable
|
||||
# see also reports.mk
|
||||
|
||||
[ -n "$BUILDDIR" ] || exit 1
|
||||
|
||||
sed -r \
|
||||
-e "s,$BUILDDIR,,g" \
|
||||
-e '/\/var\/lib\/apt\/lists/d' \
|
||||
-e 's/... .. ..:..:..//g' \
|
||||
-e 's/\[[0-9]+\]//g' \
|
||||
-e '/^(Reading Package Lists|Building Dependency Tree)/d' \
|
||||
-e '/^(Fetched|Need to get|After unpacking) /d' \
|
||||
-e '/^(Preparing packages for installation|Done\.)/d' \
|
||||
-e '/^hsh(|-(initroot|install|fakedev|(mk|rm)chroot|run)): /d' \
|
||||
-e '/^(hasher-priv|mkaptbox|(mk|rm)dir): /d' \
|
||||
-e '/^mki-((invalidate-|)cache|check-obsolete|prepare): /d' \
|
||||
-e '/^(mode of|changed (group|ownership)|removed) /d' \
|
||||
-e '/^chroot\/.in\//d' \
|
||||
-e '/ has started executing\.$/d' \
|
||||
-e '/\/var\/log\/apt\.log$/d' \
|
||||
-e '/\/usr\/share\/apt\/scripts\/log\.lua/d' \
|
||||
-e '/\.rpm$/d' \
|
||||
-e "/' -> '/d"
|
95
bin/tar2fs
95
bin/tar2fs
@ -24,35 +24,30 @@ MB=1048576 # a parted's "megabyte" in bytes is *broken*
|
||||
|
||||
SIZE_FACTOR=2 # multiply the sizes found by this value
|
||||
BOOT_SIZE_FACTOR=2 # multiply /boot size by this value additionally
|
||||
BOOTLOADERPARTSIZEM=0 # PReP partition size (ppc*)
|
||||
|
||||
CUR_BOUNDARY=0 # align first partition at 1MB for performance (+1)
|
||||
|
||||
INITRD_MODULES=
|
||||
BOOTFSTYPE=
|
||||
BOOTPART=
|
||||
|
||||
ARCH="$(arch)" # NB: sudo => no GLOBAL_ will do either; mind qemu-*
|
||||
|
||||
case "$ARCH" in
|
||||
*86*)
|
||||
# NB: different storage modules might be needed for non-kvm
|
||||
INITRD_MODULES="sd_mod ata_piix ahci virtio-scsi virtio-blk"
|
||||
BLOCKDEV="/dev/sda" # might be /dev/vda for virtio
|
||||
ROOTPART="1"
|
||||
;;
|
||||
arm*)
|
||||
BOOTFSTYPE="ext2" # support expected in every sane target uboot
|
||||
BLOCKDEV="/dev/mmcblk0p" # ...hopefully...
|
||||
BOOTPART="1"
|
||||
ROOTPART="2"
|
||||
;;
|
||||
e2k)
|
||||
BOOTFSTYPE="ext2" # firmware knows it
|
||||
BLOCKDEV="/dev/sda" # ...hopefully...
|
||||
BOOTPART="1"
|
||||
ROOTPART="2"
|
||||
;;
|
||||
mips*)
|
||||
ppc*)
|
||||
BOOTFSTYPE="ext4"
|
||||
BLOCKDEV="/dev/sda"
|
||||
BOOTLOADERPART="1"
|
||||
BOOTLOADERPARTSIZEM="8"
|
||||
ROOTPART="2"
|
||||
;;
|
||||
*)
|
||||
ROOTPART="1"
|
||||
BLOCKDEV="/dev/sda"
|
||||
;;
|
||||
@ -160,12 +155,24 @@ trap exit_handler EXIT ERR
|
||||
|
||||
# prepare disk image and a filesystem inside it
|
||||
rm -f -- "$IMG"
|
||||
OFFSET="$(($CUR_BOUNDARY + $BOOTSIZEM + $ROOTSIZEM - 1))"
|
||||
|
||||
OFFSET="$(($CUR_BOUNDARY + $BOOTLOADERPARTSIZEM + $BOOTSIZEM + $ROOTSIZEM - 1))"
|
||||
dd if=/dev/zero of="$IMG" conv=notrunc bs=$MB count=1 seek="$OFFSET"
|
||||
losetup "$LOOPDEV" "$IMG"
|
||||
|
||||
parting mklabel msdos
|
||||
|
||||
if [ -n "$BOOTLOADERPART" ] && [ -n "$BOOTLOADERPARTSIZEM" ]; then
|
||||
case "$ARCH" in
|
||||
ppc*)
|
||||
parting mkpart primary ext2 2048s ${BOOTLOADERPARTSIZEM}M
|
||||
CUR_BOUNDARY="$(($CUR_BOUNDARY + $BOOTLOADERPARTSIZEM))"
|
||||
parting set 1 prep on
|
||||
parting set 1 boot on
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if [ -n "$BOOTPART" ]; then
|
||||
BOOTDEV="$BLOCKDEV$BOOTPART"
|
||||
mkpart "$BOOTSIZEM"
|
||||
@ -184,6 +191,10 @@ if [ -n "$BOOTPART" ]; then
|
||||
mkfs."$BOOTFSTYPE" "$LOOPBOOT"
|
||||
fi
|
||||
|
||||
if [ -n "$BOOTLOADERPART" ] && [ -n "$BOOTLOADERPARTSIZEM" ]; then
|
||||
LOOPBOOTLOADER="/dev/mapper/$(basename "$LOOPDEV")p$BOOTLOADERPART"
|
||||
fi
|
||||
|
||||
ROOTUUID="$(blkid -s UUID -o value -c /dev/null "$LOOPROOT")"
|
||||
if [ -n "$ROOTUUID" ]; then
|
||||
ROOTDEV="UUID=$ROOTUUID"
|
||||
@ -221,24 +232,6 @@ fi
|
||||
# Query ARCH in chroot and redefine arch-dependent variable
|
||||
ARCH="$(chroot "$ROOTFS" rpm --eval '%_host_cpu')"
|
||||
|
||||
if [[ $ARCH = *86* ]]
|
||||
then # NB: different storage modules might be needed for non-kvm
|
||||
INITRD_MODULES="sd_mod ata_piix ahci virtio-scsi virtio-blk"
|
||||
else
|
||||
INITRD_MODULES=
|
||||
fi
|
||||
|
||||
echo "MODULES_PRELOAD += $INITRD_MODULES $ROOTFSTYPE" >> "$ROOTFS/etc/initrd.mk"
|
||||
|
||||
case "$ARCH" in
|
||||
*86*)
|
||||
echo "FEATURES += qemu" >> "$ROOTFS/etc/initrd.mk"
|
||||
;;
|
||||
e2k)
|
||||
echo "FEATURES += usb" >> "$ROOTFS/etc/initrd.mk"
|
||||
;;
|
||||
esac
|
||||
|
||||
# NB: don't stick BOOTFS here, it has slightly different semantics
|
||||
pushd $ROOTFS/boot
|
||||
|
||||
@ -248,13 +241,18 @@ get_label() { echo "${1# *}" | sed -r 's,.*elbrus-([0-9a-z]+)-.*$,\1,'; }
|
||||
KVERSIONS=
|
||||
if [ -s .origver ]; then
|
||||
while read kver; do
|
||||
chroot "$ROOTFS" make-initrd -k "$kver"
|
||||
KVERSIONS="$KVERSIONS $kver"
|
||||
done < .origver
|
||||
fi
|
||||
[ -n "$KVERSIONS" ] || fatal "unable to deduce kernel version"
|
||||
rm -f .origver
|
||||
|
||||
BOOTLOADER=
|
||||
if [ -s .bootloader ]; then
|
||||
read -r BOOTLOADER<.bootloader
|
||||
fi
|
||||
rm -f .bootloader
|
||||
|
||||
# ...target device too
|
||||
sed -i "s,$LOOPROOT,$ROOTDEV," "$ROOTFS/etc/fstab"
|
||||
|
||||
@ -283,7 +281,14 @@ echo "** end of boot.conf"
|
||||
|
||||
popd
|
||||
|
||||
if [ -x "$ROOTFS"/sbin/lilo ]; then
|
||||
# Setup bootloader
|
||||
case "$BOOTLOADER" in
|
||||
uboot)
|
||||
EXTLINUX_CONF="$ROOTFS/boot/extlinux/extlinux.conf"
|
||||
sed -i "/LABEL=ROOT/d" "$ROOTFS/etc/fstab"
|
||||
sed -i "s/LABEL=ROOT/$ROOTDEV/g" "$EXTLINUX_CONF"
|
||||
;;
|
||||
lilo)
|
||||
# configure and install bootloader
|
||||
REGEXP='^.*: ([0-9]+) cylinders, ([0-9]+) heads, ([0-9]+) sectors/track*$'
|
||||
set -- $(sfdisk -g "$LOOPDEV" | grep -E "$REGEXP" | sed -r "s@$REGEXP@\1 \2 \3@")
|
||||
@ -314,13 +319,25 @@ image=/boot/vmlinuz
|
||||
boot=$BLOCKDEV
|
||||
$LILO_COMMON
|
||||
EOF
|
||||
elif [ -x "$ROOTFS"/usr/sbin/grub-efi-autoupdate ]; then
|
||||
;;
|
||||
grub-efi)
|
||||
chroot "$ROOTFS" grub-mkconfig -o /boot/grub/grub.cfg
|
||||
chroot "$ROOTFS" grub-install
|
||||
elif [ -x "$ROOTFS"/usr/sbin/grub-autoupdate ]; then
|
||||
;;
|
||||
grub)
|
||||
chroot "$ROOTFS" grub-mkconfig -o /boot/grub/grub.cfg
|
||||
chroot "$ROOTFS" grub-install --target=i386-pc "$LOOPDEV"
|
||||
fi
|
||||
case "$ARCH" in
|
||||
*86*)
|
||||
chroot "$ROOTFS" grub-install --target=i386-pc "$LOOPDEV"
|
||||
;;
|
||||
ppc*)
|
||||
[ -z "$LOOPBOOTLOADER" ] ||
|
||||
chroot "$ROOTFS" grub-install --target=powerpc-ieee1275 \
|
||||
--no-nvram "$LOOPBOOTLOADER"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "$SUDO_USER" ]; then
|
||||
chown "$SUDO_USER:$(id -g "$SUDO_USER")" "$IMG" ||:
|
||||
|
@ -1,12 +1,70 @@
|
||||
# Education Set
|
||||
# ALT Education
|
||||
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
|
||||
distro/education-junior: distro/.installer use/slinux/full \
|
||||
use/l10n/default/ru_RU +vmguest
|
||||
distro/education: distro/alt-education
|
||||
distro/alt-education: distro/.installer \
|
||||
+systemd \
|
||||
use/memtest \
|
||||
use/services \
|
||||
use/live/install use/live/suspend \
|
||||
use/live/repo use/live/x11 use/live/rw \
|
||||
use/install2/vnc use/install2/full \
|
||||
use/l10n/default/ru_RU +vmguest \
|
||||
+efi use/efi/refind use/efi/shell \
|
||||
use/ntp/chrony \
|
||||
use/isohybrid use/x11/xorg use/x11/lightdm/gtk +pulse use/luks \
|
||||
+plymouth +nm use/x11/gtk/nm +wireless \
|
||||
use/xdg-user-dirs/deep use/install2/fonts \
|
||||
use/branding/complete
|
||||
@$(call set,INSTALLER,junior)
|
||||
@$(call set,BRANDING,school-junior)
|
||||
@$(call set,META_VOL_SET,Education Junior)
|
||||
@$(call add,THE_LISTS,education/desktop)
|
||||
|
||||
@$(call set,BRANDING,alt-education)
|
||||
@$(call add,THE_BRANDING,menu xfce-settings system-settings)
|
||||
@$(call set,META_APP_ID,$(DISTRO_VERSION)/$(ARCH))
|
||||
@$(call set,META_VOL_SET,ALT Education 8.2)
|
||||
@$(call set,META_PUBLISHER,BaseALT Ltd)
|
||||
@$(call add,INSTALL2_PACKAGES,disable-usb-autosuspend)
|
||||
@$(call add,INSTALL2_PACKAGES,installer-feature-samba-usershares-stage2)
|
||||
@$(call add,THE_LISTS,slinux/xfce-base)
|
||||
@$(call add,THE_LISTS,slinux/misc-base)
|
||||
@$(call add,THE_LISTS,gnome-p2p)
|
||||
@$(call add,THE_LISTS,$(call tags,base l10n))
|
||||
@$(call add,MAIN_LISTS,slinux/not-install-full)
|
||||
@$(call add,BASE_LISTS,education/base)
|
||||
@$(call add,BASE_LISTS,workstation/3rdparty)
|
||||
@$(call add,THE_LISTS,education/misc)
|
||||
@$(call add,MAIN_GROUPS,education/01_preschool)
|
||||
@$(call add,MAIN_GROUPS,education/02_gradeschool)
|
||||
@$(call add,MAIN_GROUPS,education/03_highschool)
|
||||
@$(call add,MAIN_GROUPS,education/04_secondary_vocational)
|
||||
@$(call add,MAIN_GROUPS,education/05_university)
|
||||
@$(call add,MAIN_GROUPS,education/teacher)
|
||||
@$(call add,MAIN_GROUPS,education/kde5)
|
||||
@$(call add,MAIN_GROUPS,education/server-apps-edu)
|
||||
@$(call set,KFLAVOURS,std-def)
|
||||
@$(call add,THE_KMODULES,virtualbox)
|
||||
@$(call add,THE_KMODULES,nvidia)
|
||||
@$(call add,THE_KMODULES,lsadrv bbswitch)
|
||||
@$(call add,THE_KMODULES,staging)
|
||||
@$(call add,MAIN_KMODULES,bbswitch)
|
||||
@$(call add,THE_PACKAGES,usbutils pv syslinux lftp links2 openssh-server xinput xorg-drv-libinput)
|
||||
@$(call add,THE_PACKAGES,net-tools fdisk gdisk parted partclone)
|
||||
@$(call add,THE_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse disable-usb-autosuspend)
|
||||
@$(call add,THE_PACKAGES,bluez pulseaudio-bluez)
|
||||
@$(call add,THE_PACKAGES,alterator-fbi)
|
||||
@$(call add,BASE_PACKAGES,os-prober)
|
||||
@$(call add,BASE_PACKAGES,guest-account)
|
||||
@$(call add,BASE_PACKAGES,nextcloud-client)
|
||||
@$(call add,MAIN_PACKAGES,iperf3 owamp-server)
|
||||
@$(call add,MAIN_PACKAGES,stellarium)
|
||||
@$(call add,MAIN_PACKAGES,lmms)
|
||||
@$(call add,THE_LISTS,$(call tags,base regular))
|
||||
@$(call add,STAGE1_MODLISTS,stage2-mmc)
|
||||
@$(call set,GLOBAL_LIVE_NO_CLEANUPDB,true)
|
||||
@$(call add,LIVE_PACKAGES,livecd-timezone)
|
||||
@$(call add,LIVE_LISTS,slinux/network-base)
|
||||
@$(call add,STAGE2_PACKAGES,xorg-conf-libinput-touchpad)
|
||||
@$(call add,STAGE2_PACKAGES,chrony)
|
||||
@$(call add,STAGE1_MODLISTS,stage2-mmc)
|
||||
@$(call add,SERVICES_ENABLE,bluetoothd sshd bind crond alteratord cups ahttpd)
|
||||
endif
|
||||
|
@ -57,6 +57,7 @@ mixin/regular-desktop: use/x11/xorg +alsa use/xdg-user-dirs
|
||||
@$(call add,THE_PACKAGES,upower bluez)
|
||||
@$(call add,DEFAULT_SERVICES_DISABLE,gssd idmapd krb5kdc rpcbind)
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd)
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,cups)
|
||||
|
||||
mixin/desktop-extra:
|
||||
@$(call add,BASE_LISTS,$(call tags,(archive || base) && extra))
|
||||
@ -78,22 +79,38 @@ mixin/regular-icewm: use/fonts/ttf/redhat +icewm +nm
|
||||
mixin/regular-gnustep: use/x11/gnustep use/x11/gdm2.20 use/mediacheck
|
||||
@$(call add,THE_BRANDING,graphics)
|
||||
|
||||
mixin/regular-cinnamon: use/x11/cinnamon \
|
||||
use/fonts/ttf/google use/net/nm/mmgui use/im
|
||||
@$(call add,THE_PACKAGES,thunderbird-ru) ### l10n
|
||||
|
||||
mixin/regular-kde5: use/x11/kde5 use/browser/falkon \
|
||||
use/fonts/ttf/google use/fonts/ttf/redhat use/fonts/zerg \
|
||||
+nm +pulse
|
||||
@$(call add,THE_PACKAGES,kde5-telepathy falkon-kde5)
|
||||
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
|
||||
|
||||
mixin/regular-xfce: use/x11/xfce use/x11/gtk/nm +nm \
|
||||
use/fonts/ttf/redhat use/fonts/ttf/google/extra
|
||||
@$(call add,THE_PACKAGES,xfce-polkit)
|
||||
@$(call add,THE_BRANDING,xfce-settings)
|
||||
|
||||
mixin/regular-xfce-sysv: use/x11/lightdm/gtk use/browser/palemoon/i18n \
|
||||
mixin/regular-xfce-sysv: \
|
||||
use/fonts/otf/adobe use/fonts/otf/mozilla
|
||||
@$(call add,THE_PACKAGES,pnmixer pm-utils elinks mpg123)
|
||||
@$(call add,THE_PACKAGES,alsa-oss ossp whdd wget cdrkit)
|
||||
@$(call add,THE_PACKAGES,qasmixer)
|
||||
@$(call add,THE_PACKAGES,xfce4-screensaver)
|
||||
@$(call add,THE_PACKAGES,sysstat leafpad)
|
||||
@$(call add,THE_PACKAGES,nload)
|
||||
@$(call add,THE_PACKAGES,NetworkManager-l2tp-gtk)
|
||||
@$(call add,THE_PACKAGES,NetworkManager-tui)
|
||||
|
||||
mixin/regular-lxde: use/x11/lxde use/x11/gtk/nm use/im +nm
|
||||
@$(call add,THE_LISTS,$(call tags,desktop gvfs))
|
||||
@$(call add,THE_PACKAGES,qasmixer qpdfview)
|
||||
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
|
||||
|
||||
mixin/regular-lxqt: use/x11/lxqt use/x11/sddm use/x11/gtk/nm +nm
|
||||
mixin/regular-lxqt: use/x11/lxqt use/x11/gtk/nm +nm
|
||||
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
|
||||
|
||||
mixin/regular-mate: use/x11/mate use/fonts/ttf/google use/x11/gtk/nm +nm
|
||||
|
@ -38,7 +38,6 @@ distro/alt-p8-server: distro/regular-server mixin/p8; @:
|
||||
distro/alt-p8-server-ovz: distro/regular-server-ovz mixin/p8; @:
|
||||
distro/alt-p8-server-hyperv: distro/regular-server-hyperv mixin/p8; @:
|
||||
distro/alt-p8-server-samba4: distro/regular-server-samba4 mixin/p8; @:
|
||||
distro/alt-p8-server-openstack: distro/regular-server-openstack mixin/p8; @:
|
||||
distro/alt-p8-server-pve: distro/regular-server-pve mixin/p8; @:
|
||||
|
||||
distro/alt-p8-builder: distro/regular-builder mixin/p8; @:
|
||||
|
62
conf.d/p9.mk
Normal file
62
conf.d/p9.mk
Normal file
@ -0,0 +1,62 @@
|
||||
# p9 base kits
|
||||
|
||||
mixin/p9: use/browser/firefox/esr
|
||||
@$(call set,BRANDING,alt-starterkit)
|
||||
@$(call set,IMAGE_FLAVOUR,$(subst alt-p9-,,$(IMAGE_NAME)))
|
||||
@$(call set,META_VOL_ID,ALT p9 $$(IMAGE_FLAVOUR)/$(ARCH))
|
||||
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
|
||||
distro/alt-p9-cinnamon: distro/regular-cinnamon mixin/p9; @:
|
||||
distro/alt-p9-icewm: distro/regular-icewm mixin/p9; @:
|
||||
distro/alt-p9-gnome3: distro/regular-gnome3 mixin/p9; @:
|
||||
distro/alt-p9-gnustep: distro/regular-gnustep mixin/p9; @:
|
||||
distro/alt-p9-kde5: distro/regular-kde5 mixin/p9; @:
|
||||
distro/alt-p9-lxde: distro/regular-lxde mixin/p9; @:
|
||||
distro/alt-p9-lxde-sysv: distro/regular-lxde-sysv mixin/p9; @:
|
||||
distro/alt-p9-lxqt: distro/regular-lxqt mixin/p9; @:
|
||||
distro/alt-p9-lxqt-sysv: distro/regular-lxqt-sysv mixin/p9; @:
|
||||
distro/alt-p9-mate: distro/regular-mate mixin/p9; @:
|
||||
distro/alt-p9-rescue: distro/regular-rescue mixin/p9; @:
|
||||
distro/alt-p9-wmaker: distro/regular-wmaker mixin/p9; @:
|
||||
distro/alt-p9-xfce: distro/regular-xfce mixin/p9; @:
|
||||
distro/alt-p9-xfce-sysv: distro/regular-xfce-sysv mixin/p9; @:
|
||||
distro/alt-p9-enlightenment: distro/regular-enlightenment mixin/p9; @:
|
||||
distro/alt-p9-sysv-xfce: distro/regular-sysv-xfce mixin/p9; @:
|
||||
|
||||
distro/alt-p9-jeos: distro/regular-jeos mixin/p9; @:
|
||||
distro/alt-p9-jeos-ovz: distro/regular-jeos-ovz mixin/p9; @:
|
||||
distro/alt-p9-server: distro/regular-server mixin/p9; @:
|
||||
distro/alt-p9-server-ovz: distro/regular-server-ovz mixin/p9; @:
|
||||
distro/alt-p9-server-hyperv: distro/regular-server-hyperv mixin/p9; @:
|
||||
distro/alt-p9-server-samba4: distro/regular-server-samba4 mixin/p9; @:
|
||||
distro/alt-p9-server-pve: distro/regular-server-pve mixin/p9; @:
|
||||
distro/alt-p9-server-lxd: distro/regular-server-lxd mixin/p9; @:
|
||||
|
||||
distro/alt-p9-builder: distro/regular-builder mixin/p9; @:
|
||||
|
||||
distro/alt-p9-engineering: distro/regular-engineering mixin/p9; @:
|
||||
endif
|
||||
|
||||
ifeq (ve,$(IMAGE_CLASS))
|
||||
ve/alt-p9-ovz-generic: ve/generic mixin/p9; @:
|
||||
|
||||
ve/docker-p9: ve/docker; @:
|
||||
@$(call set,BRANDING,alt-starterkit)
|
||||
endif
|
||||
|
||||
ifeq (vm,$(IMAGE_CLASS))
|
||||
vm/alt-p9-vm-net: vm/net mixin/p9; @:
|
||||
vm/alt-p9-cloud: vm/cloud-systemd mixin/p9; @:
|
||||
vm/alt-p9-opennebula: vm/opennebula-systemd mixin/p9; @:
|
||||
|
||||
# universal builds rootfs and image for all platforms
|
||||
vm/alt-p9-jeos-systemd: vm/regular-jeos-systemd mixin/p9
|
||||
vm/alt-p9-jeos-sysv: vm/regular-jeos-sysv mixin/p9
|
||||
vm/alt-p9-icewm: vm/regular-icewm mixin/p9
|
||||
vm/alt-p9-lxde: vm/regular-lxde mixin/p9
|
||||
vm/alt-p9-lxqt: vm/regular-lxqt mixin/p9
|
||||
vm/alt-p9-mate: vm/regular-mate mixin/p9
|
||||
vm/alt-p9-xfce: vm/regular-xfce mixin/p9
|
||||
|
||||
endif
|
@ -22,7 +22,8 @@ distro/.regular-x11: distro/.regular-base \
|
||||
|
||||
# WM base target
|
||||
distro/.regular-wm: distro/.regular-x11 mixin/regular-x11 \
|
||||
mixin/regular-desktop use/efi/refind; @:
|
||||
mixin/regular-desktop use/efi/refind
|
||||
@$(call add,THE_BRANDING,bootloader)
|
||||
|
||||
# DE base target
|
||||
# TODO: use/plymouth/live when luks+plymouth is done, see also #28255
|
||||
@ -60,9 +61,19 @@ distro/.regular-jeos-base: distro/.regular-bare +sysvinit \
|
||||
@$(call add,THE_PACKAGES,apt basesystem dhcpcd vim-console)
|
||||
@$(call add,THE_LISTS,openssh)
|
||||
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
distro/.regular-jeos-bootloader: use/bootloader/lilo ; @:
|
||||
else
|
||||
ifeq (,$(filter-out $(GRUB_ARCHES),$(ARCH)))
|
||||
distro/.regular-jeos-bootloader: use/bootloader/grub ; @:
|
||||
else
|
||||
distro/.regular-jeos-bootloader: ; @:
|
||||
endif
|
||||
endif
|
||||
|
||||
# ...and for somewhat bare distros
|
||||
distro/.regular-jeos: distro/.regular-jeos-base \
|
||||
use/bootloader/lilo use/syslinux/lateboot.cfg \
|
||||
distro/.regular-jeos-bootloader use/syslinux/lateboot.cfg \
|
||||
use/install2/cleanup/everything use/install2/cleanup/kernel/everything \
|
||||
use/cleanup/jeos
|
||||
@$(call add,BASE_KMODULES,guest scsi vboxguest)
|
||||
@ -71,7 +82,7 @@ distro/.regular-jeos: distro/.regular-jeos-base \
|
||||
# NB:
|
||||
# - stock cleanup is not enough (or installer-common-stage3 deps soaring)
|
||||
distro/regular-jeos: distro/.regular-jeos use/cleanup/jeos/full \
|
||||
use/volumes/jeos use/install2/vmguest use/vmguest/base
|
||||
use/volumes/jeos use/install2/vmguest use/vmguest/bare
|
||||
@$(call add,BASE_PACKAGES,nfs-utils gdisk)
|
||||
@$(call add,MAIN_PACKAGES,firmware-linux)
|
||||
@$(call add,CLEANUP_PACKAGES,libffi 'libltdl*')
|
||||
@ -121,6 +132,9 @@ distro/regular-xfce: distro/.regular-gtk mixin/regular-xfce \
|
||||
distro/regular-xfce-sysv: distro/.regular-sysv-gtk \
|
||||
mixin/regular-xfce mixin/regular-xfce-sysv; @:
|
||||
|
||||
distro/regular-sysv-xfce: distro/.regular-install-x11-full \
|
||||
mixin/regular-xfce mixin/regular-xfce-sysv; @:
|
||||
|
||||
distro/regular-lxde: distro/.regular-gtk mixin/regular-lxde; @:
|
||||
distro/regular-lxde-sysv: distro/.regular-sysv-gtk mixin/regular-lxde; @:
|
||||
|
||||
@ -138,9 +152,7 @@ distro/regular-enlightenment-sysv: distro/.regular-sysv-gtk \
|
||||
use/x11/enlightenment
|
||||
@$(call set,META_VOL_ID,ALT regular-E-SysV/$(ARCH)) # see also #28271
|
||||
|
||||
distro/regular-cinnamon: distro/.regular-gtk use/x11/cinnamon \
|
||||
use/fonts/ttf/google use/net/nm/mmgui use/im
|
||||
@$(call add,THE_PACKAGES,thunderbird-ru) ### l10n
|
||||
distro/regular-cinnamon: distro/.regular-gtk mixin/regular-cinnamon; @:
|
||||
|
||||
# not .regular-gtk due to gdm vs lightdm
|
||||
distro/regular-gnome3: distro/.regular-desktop +plymouth +nm \
|
||||
@ -149,21 +161,16 @@ distro/regular-gnome3: distro/.regular-desktop +plymouth +nm \
|
||||
@$(call add,LIVE_PACKAGES,livecd-gnome3-setup-done)
|
||||
@$(call add,LIVE_PACKAGES,gnome3-regular xcalib templates)
|
||||
@$(call add,LIVE_PACKAGES,gnome-flashback screenpen)
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,gdm)
|
||||
|
||||
distro/regular-lxqt: distro/.regular-desktop mixin/regular-lxqt +plymouth \
|
||||
use/browser/falkon
|
||||
use/browser/falkon use/x11/sddm
|
||||
@$(call add,THE_LISTS,$(call tags,lxqt desktop))
|
||||
|
||||
distro/regular-lxqt-sysv: distro/.regular-sysv mixin/regular-lxqt \
|
||||
use/net-eth/dhcp; @:
|
||||
|
||||
distro/regular-kde5: distro/.regular-desktop use/browser/falkon \
|
||||
use/x11/kde5 use/x11/sddm use/domain-client \
|
||||
use/fonts/ttf/google use/fonts/ttf/redhat use/fonts/zerg \
|
||||
+nm +pulse +plymouth
|
||||
@$(call add,THE_PACKAGES,kde5-telepathy falkon-kde5)
|
||||
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
|
||||
distro/regular-kde5: distro/.regular-desktop \
|
||||
mixin/regular-kde5 use/domain-client use/x11/sddm +plymouth; @:
|
||||
|
||||
distro/regular-robo: distro/regular-mate +robotics use/live/ru; @:
|
||||
|
||||
@ -181,11 +188,6 @@ distro/regular-rescue-netbootxyz: distro/.regular-bare mixin/regular-rescue
|
||||
@$(call set,META_VOL_ID,ALT Rescue)
|
||||
@$(call set,META_APP_ID,$(ARCH))
|
||||
|
||||
distro/regular-sysv-xfce: distro/.regular-install-x11-full \
|
||||
mixin/regular-xfce mixin/regular-xfce-sysv
|
||||
@$(call add,THE_PACKAGES,nload)
|
||||
@$(call add,MAIN_PACKAGES,caffeine-ng sysstat leafpad)
|
||||
|
||||
distro/.regular-server-base: distro/.regular-install \
|
||||
use/server/base use/stage2/kms
|
||||
@$(call add,THE_LISTS,$(call tags,server && (regular || network)))
|
||||
@ -200,7 +202,7 @@ distro/.regular-server: distro/.regular-server-base \
|
||||
use/ntp/client use/cleanup/libs
|
||||
@$(call add,RESCUE_LISTS,$(call tags,rescue misc))
|
||||
@$(call add,MAIN_PACKAGES,aptitude)
|
||||
@$(call add,CLEANUP_PACKAGES,qt4-common)
|
||||
@$(call add,CLEANUP_PACKAGES,qt4-common qt5-base-common)
|
||||
@$(call add,DEFAULT_SERVICES_DISABLE,bridge)
|
||||
|
||||
distro/.regular-server-managed: distro/.regular-server
|
||||
@ -224,16 +226,6 @@ distro/regular-server-hyperv: distro/.regular-server-managed
|
||||
@$(call add,DEFAULT_SERVICES_DISABLE,bridge smartd)
|
||||
@$(call add,DEFAULT_SERVICES_DISABLE,cpufreq-simple powertop)
|
||||
|
||||
distro/.regular-server-openstack: distro/.regular-server-base \
|
||||
use/firmware/qlogic use/server/groups/openstack
|
||||
@$(call add,MAIN_GROUPS,tools/ipmi tools/monitoring)
|
||||
|
||||
distro/regular-server-openstack: distro/.regular-server-openstack +systemd; @:
|
||||
@$(call add,THE_PACKAGES,dhcpcd)
|
||||
|
||||
distro/regular-server-openstack-sysv: distro/.regular-server-openstack +sysvinit
|
||||
@$(call add,DEFAULT_SERVICES_DISABLE,lvm2-lvmetad)
|
||||
|
||||
distro/regular-server-pve: distro/.regular-server-systemd \
|
||||
use/kernel/server use/firmware/qlogic +efi
|
||||
@$(call set,BASE_BOOTLOADER,grub)
|
||||
|
146
conf.d/server-v.mk
Normal file
146
conf.d/server-v.mk
Normal file
@ -0,0 +1,146 @@
|
||||
# server distributions
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
|
||||
distro/server-v: cockpit = $(addprefix server-v/cockpit/,\
|
||||
docker kvm web)
|
||||
|
||||
distro/server-v: ceph = $(addprefix server-v/ceph/,\
|
||||
client mgr mon osd radosgw)
|
||||
|
||||
distro/server-v: glusterfs = $(addprefix server-v/glusterfs/,\
|
||||
client server)
|
||||
|
||||
distro/server-v: iscsi = $(addprefix server-v/iscsi/,\
|
||||
initiator scsitarget targetcli)
|
||||
|
||||
distro/server-v: moosefs = $(addprefix server-v/moosefs/,\
|
||||
cgiserv chunkserver client master metalogger)
|
||||
|
||||
distro/server-v: lizardfs = $(addprefix server-v/lizardfs/,\
|
||||
cgiserv chunkserver client master metalogger)
|
||||
|
||||
distro/server-v: nfs = $(addprefix server-v/,\
|
||||
nfs nfs-ganesha)
|
||||
|
||||
distro/server-v: opennebula = $(addprefix server-v/opennebula/,\
|
||||
flow gate gui node-kvm node-lxd server)
|
||||
|
||||
distro/server-v: openstack = $(addprefix server-v/openstack/,\
|
||||
block compute controller network)
|
||||
# storage
|
||||
|
||||
distro/server-v: container = $(addprefix server-v/,\
|
||||
docker kubernetes podman lxd)
|
||||
|
||||
distro/server-v: network = $(addprefix server-v/,\
|
||||
apache2 nginx bird dhcp dns haproxy keepalived openvswitch freeipa-client)
|
||||
|
||||
distro/server-v: monitoring = $(addprefix server-v/,\
|
||||
zabbix-agent telegraf prometheus-node_exporter monit collectd nagios-nrpe)
|
||||
# zabbix prometheus influxdb grafana
|
||||
|
||||
distro/server-v: backup = $(addprefix server-v/,\
|
||||
bacula urbackup-client)
|
||||
|
||||
distro/server-v: logging = $(addprefix server-v/,\
|
||||
rsyslog-classic systemd-journal-remote)
|
||||
|
||||
distro/server-v: profiles = $(addprefix server-v/,\
|
||||
111-opennebula-node 112-opennebula-server 140-basic 201-docker)
|
||||
#121-openstack-node 122-openstack-controller
|
||||
|
||||
ifeq (,$(filter-out x86_64 aarch64,$(ARCH)))
|
||||
distro/server-v: profiles_arch = $(addprefix server-v/,\
|
||||
130-pve)
|
||||
# 211-openvz
|
||||
endif
|
||||
|
||||
distro/.server-v-base: distro/.base distro/.installer \
|
||||
use/efi/shell use/efi/grub use/efi/signed use/bootloader/grub \
|
||||
use/memtest use/rescue/base \
|
||||
use/init/systemd use/init/systemd/settings/optimal \
|
||||
use/services use/control \
|
||||
use/l10n/default/ru_RU \
|
||||
use/isohybrid \
|
||||
use/install2/vnc/full \
|
||||
use/install2/xfs use/install2/fat use/install2/stage3 \
|
||||
use/kernel/server use/kernel/drm \
|
||||
use/firmware use/firmware/cpu \
|
||||
use/net/etcnet use/net-ssh \
|
||||
use/stage2/fs use/stage2/hid use/stage2/md \
|
||||
use/stage2/mmc use/stage2/net use/stage2/net-nfs \
|
||||
use/stage2/rtc use/stage2/scsi use/stage2/usb \
|
||||
use/stage2/kms \
|
||||
use/server/virt use/docs/license
|
||||
@$(call add,BASE_LISTS,server-base openssh)
|
||||
@$(call add,EFI_BOOTARGS,lang=ru_RU)
|
||||
@$(call set,BRANDING,alt-server-v)
|
||||
@$(call set,INSTALLER,alt-server-v)
|
||||
@$(call add,INSTALL2_PACKAGES,alterator-notes)
|
||||
@$(call add,INSTALL2_PACKAGES,installer-feature-multipath)
|
||||
@$(call add,INSTALL2_PACKAGES,installer-feature-server-raid-fixup-stage2)
|
||||
@$(call add,INSTALL2_PACKAGES,installer-feature-quota-stage2)
|
||||
@$(call add,INSTALL2_PACKAGES,fonts-ttf-google-croscore-arimo)
|
||||
@$(call add,INSTALL2_PACKAGES,ntfs-3g)
|
||||
@$(call add,INSTALL2_BRANDING,bootloader bootsplash notes slideshow)
|
||||
@$(call add,THE_BRANDING,alterator graphics)
|
||||
@$(call add,THE_BRANDING,indexhtml slideshow)
|
||||
@$(call add,PINNED_PACKAGES,branding-alt-server-v-alterator:Essential)
|
||||
@$(call add,THE_PACKAGES,alterator-fbi alterator-notes)
|
||||
@$(call add,THE_LISTS,$(call tags,basesystem alterator))
|
||||
@$(call add,THE_LISTS,$(call tags,server alterator))
|
||||
@$(call add,THE_LISTS,$(call tags,server network))
|
||||
@$(call add,COMMON_PACKAGES,vim-console)
|
||||
@$(call add,SYSTEM_PACKAGES,mdadm-tool lvm2 multipath-tools fdisk xfsprogs btrfs-progs file)
|
||||
|
||||
distro/server-v: distro/.server-v-base +installer \
|
||||
use/ntp/chrony \
|
||||
use/install2/net use/install2/autoinstall \
|
||||
use/apt-conf/branch use/install2/repo
|
||||
@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
|
||||
@$(call set,IMAGE_FLAVOUR,$(subst alt-9-,,$(IMAGE_NAME)))
|
||||
@$(call set,META_VOL_ID,ALT Server-V 9.0.0 $(ARCH))
|
||||
@$(call set,META_PUBLISHER,BaseALT Ltd)
|
||||
@$(call set,META_VOL_SET,ALT)
|
||||
@$(call set,META_APP_ID,ALT Server-V 9.0.0 $(ARCH) $(shell date +%F))
|
||||
@$(call set,DOCS,alt-server-v)
|
||||
@$(call add,BASE_LISTS,virt/base.pkgs)
|
||||
@$(call add,MAIN_LISTS,virt/extra.pkgs)
|
||||
@$(call add,MAIN_GROUPS,server-v/110-opennebula $(opennebula))
|
||||
ifeq (,$(filter-out x86_64 aarch64,$(ARCH)))
|
||||
@$(call add,MAIN_GROUPS,server-v/130-pve server-v/pve)
|
||||
endif
|
||||
@$(call add,MAIN_GROUPS,server-v/140-basic server-v/kvm)
|
||||
@$(call add,MAIN_GROUPS,server-v/200-container $(container))
|
||||
@$(call add,MAIN_GROUPS,server-v/300-cluster server-v/corosync_pacemaker)
|
||||
@$(call add,MAIN_GROUPS,server-v/400-storage)
|
||||
@$(call add,MAIN_GROUPS,server-v/410-ceph $(ceph))
|
||||
@$(call add,MAIN_GROUPS,server-v/420-glusterfs $(glusterfs))
|
||||
@$(call add,MAIN_GROUPS,server-v/450-nfs $(nfs))
|
||||
@$(call add,MAIN_GROUPS,server-v/460-iscsi $(iscsi))
|
||||
@$(call add,MAIN_GROUPS,server-v/500-network $(network))
|
||||
@$(call add,MAIN_GROUPS,server-v/600-monitoring $(monitoring))
|
||||
@$(call add,MAIN_GROUPS,server-v/700-backup $(backup))
|
||||
@$(call add,MAIN_GROUPS,server-v/800-logging $(logging))
|
||||
@$(call add,THE_PROFILES,$(profiles) $(profiles_arch) minimal)
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,getty@tty1 getty@ttyS0)
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,fstrim.timer)
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,libvirtd)
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,docker lxd)
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,bind mysqld openvswitch)
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,rsyslogd systemd-journal-gatewayd)
|
||||
@$(call add,DEFAULT_SERVICES_DISABLE,powertop bridge gpm)
|
||||
@$(call add,DEFAULT_SERVICES_DISABLE,consolesaver)
|
||||
@$(call add,DEFAULT_SERVICES_DISABLE,ahttpd alteratord)
|
||||
@$(call add,DEFAULT_SERVICES_DISABLE,systemd-networkd systemd-resolved)
|
||||
|
||||
# @$(call set,BOOTVGA,)
|
||||
# @$(call add,MAIN_GROUPS,server-v/141-cockpit $(cockpit))
|
||||
# @$(call add,MAIN_GROUPS,server-v/430-moosefs $(moosefs))
|
||||
# @$(call add,MAIN_GROUPS,server-v/ocfs2)
|
||||
# @$(call add,MAIN_GROUPS,server-v/120-openstack $(openstack))
|
||||
#ifeq (,$(filter-out x86_64,$(ARCH)))
|
||||
# @$(call add,MAIN_GROUPS,server-v/openvz)
|
||||
#endif
|
||||
|
||||
endif
|
@ -1,12 +0,0 @@
|
||||
# simply images
|
||||
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
|
||||
distro/live-simply: distro/.livecd-install use/slinux/full
|
||||
@$(call add,THE_LISTS,slinux/live-install slinux/live)
|
||||
|
||||
distro/simply: distro/.installer use/slinux/full
|
||||
@$(call set,INSTALLER,simply-linux)
|
||||
@$(call add,INSTALL2_PACKAGES,sysvinit)
|
||||
|
||||
endif
|
16
conf.d/slinux.mk
Normal file
16
conf.d/slinux.mk
Normal file
@ -0,0 +1,16 @@
|
||||
# Simply Linux images
|
||||
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
|
||||
distro/slinux-live: distro/.livecd-install use/slinux/base
|
||||
@$(call add,THE_LISTS,slinux/live-install)
|
||||
@$(call set,META_VOL_SET,Simply Linux live)
|
||||
@$(call set,META_VOL_ID,Simply Linux live/$(ARCH))
|
||||
|
||||
distro/slinux: distro/.installer use/slinux/full use/rescue/base
|
||||
@$(call set,INSTALLER,simply-linux)
|
||||
@$(call add,MAIN_GROUPS,slinux/dropbox slinux/emulators-full slinux/games-base slinux/games slinux/games-full slinux/graphics-base slinux/graphics-full-blender slinux/graphics slinux/graphics-full-inkscape slinux/graphics-full-shotwell slinux/graphics-full-synfigstudio slinux/multimedia-full-audacity slinux/multimedia-base slinux/multimedia-full-cheese slinux/multimedia slinux/multimedia-full-pitivi slinux/multimedia-full-sound-juicer slinux/network-base)
|
||||
@$(call set,META_VOL_SET,Simply Linux)
|
||||
@$(call set,META_VOL_ID,Simply Linux/$(ARCH))
|
||||
|
||||
endif
|
@ -1,9 +1,12 @@
|
||||
Добавление установки загрузчика основной системы, затребованного
|
||||
посредством указания "grub" или "lilo" в BASE_BOOTLOADER.
|
||||
посредством указания "grub", "lilo" или "uboot" в BASE_BOOTLOADER.
|
||||
|
||||
Соответствующий модуль alterator добавляется в устанавливаемую
|
||||
систему (он НЕ должен требоваться пакету installer-distro-*)
|
||||
и требует пакет выбранного загрузчика.
|
||||
и требует пакет выбранного загрузчика. Так как для uboot такого
|
||||
модуля нет и в тоже время uboot не используется в установочных
|
||||
дистрибутивах, то установка модуля alterator была ограничена
|
||||
целями distro/*, формирующими ISO-образы.
|
||||
|
||||
Обратите внимание: в процессе конфигурирования дистрибутива
|
||||
"переключение" загрузчика может происходить только в одну сторону
|
||||
|
@ -6,19 +6,36 @@
|
||||
|
||||
# NB: "mysterious" conflicts if BASE_BOOTLOADER is empty
|
||||
|
||||
GRUB_ARCHES := i586 x86_64 aarch64 ppc64le
|
||||
|
||||
use/bootloader: use/pkgpriorities
|
||||
@$(call add_feature)
|
||||
@$(call try,BASE_BOOTLOADER,grub)
|
||||
@$(call xport,BASE_BOOTLOADER)
|
||||
@$(call add,BASE_LISTS,$$(BASE_BOOTLOADER))
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
@$(call add,BASE_PACKAGES,alterator-$$(BASE_BOOTLOADER))
|
||||
@$(call add,PINNED_PACKAGES,alterator-$$(BASE_BOOTLOADER))
|
||||
@$(call add,PINNED_PACKAGES,installer-bootloader-$$(BASE_BOOTLOADER)-stage2)
|
||||
endif
|
||||
|
||||
use/bootloader/grub use/bootloader/lilo: use/bootloader/%: use/bootloader
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
use/bootloader/lilo: \
|
||||
use/bootloader/%: use/bootloader
|
||||
@$(call set,BASE_BOOTLOADER,$*)
|
||||
endif
|
||||
|
||||
ifeq (,$(filter-out $(GRUB_ARCHES),$(ARCH)))
|
||||
use/bootloader/grub: \
|
||||
use/bootloader/%: use/bootloader
|
||||
@$(call set,BASE_BOOTLOADER,$*)
|
||||
endif
|
||||
|
||||
use/bootloader/uboot: use/bootloader use/uboot
|
||||
@$(call set,BASE_BOOTLOADER,uboot)
|
||||
|
||||
use/bootloader/live: use/bootloader
|
||||
@$(call add,LIVE_PACKAGES,alterator-$$(BASE_BOOTLOADER))
|
||||
|
||||
use/bootloader/os-prober: use/bootloader
|
||||
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
|
||||
@$(call add,BASE_PACKAGES,os-prober)
|
||||
endif
|
||||
|
@ -7,13 +7,21 @@ use/branding/notes: use/branding
|
||||
@$(call add,THE_BRANDING,notes)
|
||||
|
||||
# NB: not every distro might have all the branding of its own
|
||||
# FIXME: syslinux is x86-specific
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
use/branding/full: use/branding/notes use/syslinux/ui/gfxboot
|
||||
@$(call add,THE_BRANDING,alterator bootloader bootsplash graphics)
|
||||
@$(call add,THE_BRANDING,indexhtml slideshow)
|
||||
|
||||
use/branding/complete: use/branding/full use/plymouth/full
|
||||
@$(call add,INSTALL2_BRANDING,notes slideshow)
|
||||
else
|
||||
use/branding/full: use/branding/notes
|
||||
@$(call add,THE_BRANDING,alterator graphics)
|
||||
@$(call add,THE_BRANDING,indexhtml slideshow)
|
||||
|
||||
use/branding/complete: use/branding/full
|
||||
@$(call add,INSTALL2_BRANDING,notes slideshow)
|
||||
endif
|
||||
|
||||
# http://altlinux.org/branding/slideshow
|
||||
use/branding/slideshow/once: use/branding
|
||||
|
@ -1,6 +1,6 @@
|
||||
# step 4: build the distribution image
|
||||
|
||||
DOT_BASE += $(call branding,$(THE_BRANDING))
|
||||
DOT_BASE += $(call branding,notes)
|
||||
|
||||
CHROOT_PACKAGES_REGEXP += $(call branding,bootloader)
|
||||
CHROOT_PACKAGES += ImageMagick-tools
|
||||
|
@ -32,6 +32,12 @@ endif
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
BOOT_TYPE := isolinux
|
||||
endif
|
||||
ifeq (,$(filter-out ppc64le,$(ARCH)))
|
||||
BOOT_TYPE := ieee1275boot
|
||||
endif
|
||||
ifeq (,$(filter-out aarch64,$(ARCH)))
|
||||
BOOT_TYPE := grubaa64boot
|
||||
endif
|
||||
endif
|
||||
|
||||
all: | $(GLOBAL_DEBUG) prep copy-subdirs copy-tree run-scripts pack-image \
|
||||
|
@ -13,6 +13,14 @@ kver="$(rpm -qa 'kernel-image*' \
|
||||
cd /boot
|
||||
echo "$kver" > .origver # for tar2fs
|
||||
|
||||
if [ -n "$GLOBAL_EFI_BOOTLOADER" ]; then
|
||||
echo "$GLOBAL_EFI_BOOTLOADER" > .bootloader # for tar2fs
|
||||
elif [ -n "$GLOBAL_BASE_BOOTLOADER" ]; then
|
||||
echo "$GLOBAL_BASE_BOOTLOADER" > .bootloader # for tar2fs
|
||||
fi
|
||||
|
||||
make-initrd -N -k "$kver" AUTODETECT=
|
||||
|
||||
# NB: e2k kernel builds "image" instead of "vmlinuz"
|
||||
[ -f vmlinuz-$kver ] && ln -s vmlinuz-$kver vmlinuz ||:
|
||||
ln -s initrd-$kver.img initrd.img # missing at this stage
|
||||
|
@ -28,6 +28,9 @@ use/deflogin/root: use/deflogin
|
||||
use/deflogin/altlinuxroot: use/deflogin/root use/deflogin/xgrp
|
||||
@$(call add,USERS,altlinux:root:1:1)
|
||||
|
||||
use/deflogin/altroot: use/deflogin/root use/deflogin/xgrp
|
||||
@$(call add,USERS,alt:root:1:1)
|
||||
|
||||
# peripherals
|
||||
use/deflogin/hardware: use/deflogin
|
||||
@$(call add,GROUPS,cdwriter radio scanner uucp)
|
||||
|
@ -1,43 +1,74 @@
|
||||
EFI_ARCHES := x86_64 aarch64
|
||||
|
||||
+efi: use/efi/signed; @:
|
||||
|
||||
ifeq (x86_64,$(ARCH))
|
||||
ifeq (,$(filter-out $(EFI_ARCHES),$(ARCH)))
|
||||
|
||||
EFI_LISTS := $(call tags,base efi)
|
||||
|
||||
use/efi:
|
||||
@$(call add_feature)
|
||||
@$(call set,MKI_VER_MINIMAL,0.2.12) # it's official now
|
||||
@$(call add,THE_LISTS,$(EFI_LISTS))
|
||||
@$(call add,RESCUE_LISTS,$(EFI_LISTS))
|
||||
@$(call add,THE_PACKAGES,$$(EFI_SHELL))
|
||||
@$(call add,RESCUE_PACKAGES,refind $$(EFI_SHELL))
|
||||
@$(call add,INSTALL2_PACKAGES,dosfstools fatresize)
|
||||
@$(call try,EFI_BOOTLOADER,elilo) # default one
|
||||
@$(call add,STAGE1_KCONFIG,EFI EFI_PARTITION EFI_VARS FB_EFI)
|
||||
@$(call set,MKI_VER_OPTIMAL,0.2.17) # for EFI_BOOTARGS
|
||||
ifeq (x86_64,$(ARCH))
|
||||
@$(call try,EFI_BOOTLOADER,elilo) # default one
|
||||
else
|
||||
@$(call try,EFI_BOOTLOADER,grub-efi) # default one
|
||||
endif
|
||||
@$(call add,THE_PACKAGES,$$(EFI_BOOTLOADER))
|
||||
@$(call xport,EFI_BOOTLOADER)
|
||||
@$(call add,THE_LISTS,$(EFI_LISTS))
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
@$(call add,THE_PACKAGES,installer-feature-efi-stage3)
|
||||
@$(call add,RESCUE_LISTS,$(EFI_LISTS))
|
||||
@$(call add,INSTALL2_PACKAGES,dosfstools fatresize)
|
||||
@$(call add,STAGE1_KCONFIG,EFI EFI_PARTITION EFI_VARS FB_EFI)
|
||||
@$(call add,EFI_BOOTARGS,$$(STAGE2_BOOTARGS))
|
||||
ifeq (x86_64,$(ARCH))
|
||||
@$(call add,RESCUE_PACKAGES,refind $$(EFI_SHELL) $$(EFI_BOOTLOADER))
|
||||
endif
|
||||
endif
|
||||
|
||||
use/efi/refind: use/efi
|
||||
@$(call set,EFI_BOOTLOADER,refind)
|
||||
use/efi/grub: use/efi use/bootloader/grub
|
||||
@$(call set,EFI_BOOTLOADER,grub-efi)
|
||||
|
||||
ifeq (x86_64,$(ARCH))
|
||||
use/efi/shell: use/efi
|
||||
@$(call try,EFI_SHELL,efi-shell)
|
||||
@$(call add,THE_PACKAGES,$$(EFI_SHELL))
|
||||
|
||||
use/efi/signed: use/efi
|
||||
@$(call set,EFI_CERT,altlinux)
|
||||
@$(call add,COMMON_PACKAGES,shim-signed)
|
||||
@$(call add,RESCUE_PACKAGES,openssl pesign)
|
||||
|
||||
use/efi/shell: use/efi
|
||||
@$(call try,EFI_SHELL,efi-shell)
|
||||
use/efi/lilo: use/efi use/bootloader/lilo
|
||||
@$(call set,EFI_BOOTLOADER,elilo)
|
||||
|
||||
use/efi/refind: use/efi
|
||||
@$(call set,EFI_BOOTLOADER,refind)
|
||||
|
||||
use/efi/memtest86: use/efi/refind
|
||||
@$(call set,EFI_MEMTEST86,efi-memtest86)
|
||||
|
||||
|
||||
else
|
||||
|
||||
use/efi/shell use/efi/signed use/efi/refind use/efi/memtest86 use/efi/lilo: use/efi; @:
|
||||
|
||||
endif
|
||||
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
use/efi/debug: use/efi
|
||||
@$(call add,STAGE2_PACKAGES,efibootmgr gdisk)
|
||||
else
|
||||
use/efi/debug: use/efi; @:
|
||||
endif
|
||||
|
||||
else
|
||||
|
||||
# ignore on an unsupported target arch but make it hybrid at least
|
||||
use/efi use/efi/signed use/efi/debug \
|
||||
use/efi/refind use/efi/shell use/efi/memtest86: use/isohybrid; @:
|
||||
use/efi/refind use/efi/shell use/efi/memtest86 use/efi/lilo use/efi/grub: use/isohybrid; @:
|
||||
|
||||
endif
|
||||
|
@ -8,20 +8,18 @@ use/firmware:
|
||||
|
||||
use/firmware/full: use/firmware/server use/firmware/laptop; @:
|
||||
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
use/firmware/cpu: use/firmware
|
||||
@$(call add,THE_PACKAGES,firmware-intel-ucode iucode_tool)
|
||||
else
|
||||
use/firmware/cpu: use/firmware; @:
|
||||
endif
|
||||
|
||||
use/firmware/server: use/firmware
|
||||
@$(call add,SYSTEM_PACKAGES,firmware-aic94xx-seq)
|
||||
@$(call add,THE_PACKAGES_REGEXP,firmware-ql.*)
|
||||
|
||||
use/firmware/qlogic: use/firmware
|
||||
@$(call add,SYSTEM_PACKAGES,firmware-ql2100)
|
||||
@$(call add,SYSTEM_PACKAGES,firmware-ql2200)
|
||||
@$(call add,SYSTEM_PACKAGES,firmware-ql2300)
|
||||
@$(call add,SYSTEM_PACKAGES,firmware-ql2322)
|
||||
@$(call add,SYSTEM_PACKAGES,firmware-ql2400)
|
||||
@$(call add,SYSTEM_PACKAGES,firmware-ql2500)
|
||||
@$(call add,SYSTEM_PACKAGES,firmware-ql6312)
|
||||
|
||||
# NB: individual firmwarez would sometimes conflict
|
||||
|
17
features.in/grub/cfg.in/00defaults.cfg
Normal file
17
features.in/grub/cfg.in/00defaults.cfg
Normal file
@ -0,0 +1,17 @@
|
||||
insmod echo
|
||||
insmod gzio
|
||||
insmod minicmd
|
||||
insmod normal
|
||||
insmod test
|
||||
set timeout=@timeout@
|
||||
|
||||
if [ $grub_cpu = x86_64 -o $grub_cpu = i386 ]; then
|
||||
if [ $grub_platform = efi ]; then
|
||||
linux_suffix=efi
|
||||
elif [ $grub_platform = pc ]; then
|
||||
linux_suffix=16
|
||||
else
|
||||
linux_suffix=
|
||||
else
|
||||
linux_suffix=
|
||||
fi
|
6
features.in/grub/cfg.in/20install2.cfg
Normal file
6
features.in/grub/cfg.in/20install2.cfg
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
default='linux'
|
||||
menuentry 'Install ALT @relname@' --hotkey 'i' --id 'linux' {
|
||||
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ vga=@bootvga@ @bootargs@
|
||||
initrd$linux_suffix /EFI/BOOT/full.cz
|
||||
}
|
5
features.in/grub/cfg.in/25install-vnc-connect.cfg
Normal file
5
features.in/grub/cfg.in/25install-vnc-connect.cfg
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
menuentry 'Install ALT @relname@ (headless with DHCP+VNC client) (edit to set server IP address)' --id 'vncconnect' {
|
||||
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncconnect=IP
|
||||
initrd$linux_suffix /EFI/BOOT/full.cz
|
||||
}
|
6
features.in/grub/cfg.in/25install-vnc-listen.cfg
Normal file
6
features.in/grub/cfg.in/25install-vnc-listen.cfg
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
menuentry 'Install ALT @relname@ (headless with DHCP+VNC) (password VNCPWD)' --id 'vncpasswd' {
|
||||
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncpassword=VNCPWD
|
||||
initrd$linux_suffix /EFI/BOOT/full.cz
|
||||
}
|
||||
|
6
features.in/grub/cfg.in/30live.cfg
Normal file
6
features.in/grub/cfg.in/30live.cfg
Normal file
@ -0,0 +1,6 @@
|
||||
menuentry 'LiveCD (no hard disk needed)' --id 'live' {
|
||||
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot live automatic=method:cdrom ramdisk_size=@live_size@ stagename=live showopts lowmem vga=@bootvga@ @bootargs@
|
||||
initrd$linux_suffix /EFI/BOOT/full.cz
|
||||
}
|
||||
|
||||
|
4
features.in/grub/cfg.in/32live_rw.cfg
Normal file
4
features.in/grub/cfg.in/32live_rw.cfg
Normal file
@ -0,0 +1,4 @@
|
||||
menuentry 'LiveCD with sessions support' --id 'session' {
|
||||
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot live automatic=method:cdrom ramdisk_size=@live_size@ stagename=live showopts live_rw vga=@bootvga@ @bootargs@
|
||||
initrd$linux_suffix /EFI/BOOT/full.cz
|
||||
}
|
4
features.in/grub/cfg.in/80rescue.cfg
Normal file
4
features.in/grub/cfg.in/80rescue.cfg
Normal file
@ -0,0 +1,4 @@
|
||||
menuentry 'Rescue LiveCD' --id 'rescue' {
|
||||
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot live automatic=method:cdrom ramdisk_size=@rescue_size@ stagename=rescue splash=0 showopts @rescue_bootargs@
|
||||
initrd$linux_suffix /EFI/BOOT/full.cz
|
||||
}
|
4
features.in/grub/cfg.in/82rescue_rw.cfg
Normal file
4
features.in/grub/cfg.in/82rescue_rw.cfg
Normal file
@ -0,0 +1,4 @@
|
||||
menuentry 'Rescue with sessions support' --id 'rescue_session' {
|
||||
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot live automatic=method:cdrom,label:ALT* ramdisk_size=@rescue_size@ stagename=rescue splash=0 showopts @rescue_bootargs@ live_rw
|
||||
initrd$linux_suffix /EFI/BOOT/full.cz
|
||||
}
|
4
features.in/grub/cfg.in/83rescue_fm.cfg
Normal file
4
features.in/grub/cfg.in/83rescue_fm.cfg
Normal file
@ -0,0 +1,4 @@
|
||||
menuentry 'Forensic mode (leave disks alone)' --id 'rescue_forensic' {
|
||||
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot live automatic=method:cdrom ramdisk_size=@rescue_size@ splash=0 showopts stagename=rescue @rescue_bootargs@ max_loop=16 forensic hash=@rescue_hash@
|
||||
initrd$linux_suffix /EFI/BOOT/full.cz
|
||||
}
|
4
features.in/grub/cfg.in/85mediacheck.cfg
Normal file
4
features.in/grub/cfg.in/85mediacheck.cfg
Normal file
@ -0,0 +1,4 @@
|
||||
menuentry 'Check this media for defects' --id 'mediachk' {
|
||||
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk live quiet lowmem automatic=method:cdrom mediacheck=1 stagename=mediacheck showopts @bootargs@
|
||||
initrd$linux_suffix /EFI/BOOT/full.cz
|
||||
}
|
3
features.in/grub/cfg.in/90memtest.cfg
Normal file
3
features.in/grub/cfg.in/90memtest.cfg
Normal file
@ -0,0 +1,3 @@
|
||||
menuentry 'Memory Test' --id 'memtest' {
|
||||
linux$linux_suffix /EFI/BOOT/memtest86.efi
|
||||
}
|
3
features.in/grub/cfg.in/95fwsetup.cfg
Normal file
3
features.in/grub/cfg.in/95fwsetup.cfg
Normal file
@ -0,0 +1,3 @@
|
||||
menuentry 'System setup' --id 'uefi-firmware' {
|
||||
fwsetup
|
||||
}
|
39
features.in/grub/config.mk
Normal file
39
features.in/grub/config.mk
Normal file
@ -0,0 +1,39 @@
|
||||
# default is plain text prompt
|
||||
# NB: might be usbflash-ready hybrid iso
|
||||
|
||||
# on ppc64le syslinux feature is used only to generate config
|
||||
#ifeq (,$(filter-out i586 x86_64 ppc64le aarch64,$(ARCH)))
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
|
||||
use/grub: sub/stage1 $(ISOHYBRID:%=use/isohybrid)
|
||||
@$(call add_feature)
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
@$(call add,STAGE1_PACKAGES,grub-efi shim-signed)
|
||||
@$(call try,BOOTVGA,normal)
|
||||
endif
|
||||
@$(call set,RELNAME,ALT ($(IMAGE_NAME)))
|
||||
@$(call set,IMAGE_PACKTYPE,boot)
|
||||
else
|
||||
|
||||
use/grub: ; @:
|
||||
|
||||
endif
|
||||
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
# UI is overwritten
|
||||
use/grub/ui/%: use/grub
|
||||
@$(call set,GRUB_UI,$*)
|
||||
@if [ "$*" == gfxboot ]; then \
|
||||
$(call add,STAGE1_PACKAGES,gfxboot); \
|
||||
$(call add,STAGE1_BRANDING,bootloader); \
|
||||
fi
|
||||
else
|
||||
use/grub/ui/%: use/grub; @:
|
||||
endif
|
||||
|
||||
use/grub/%.cfg: use/grub
|
||||
@$(call add,GRUB_CFG,$*)
|
||||
|
||||
|
||||
use/grub/timeout/%: use/grub
|
||||
@$(call set,GRUB_TIMEOUT,$*)
|
100
features.in/grub/generate.mk
Normal file
100
features.in/grub/generate.mk
Normal file
@ -0,0 +1,100 @@
|
||||
ifdef BUILDDIR
|
||||
|
||||
# in deciseconds
|
||||
DEFAULT_TIMEOUT = 90
|
||||
|
||||
# prepare data for grub installation;
|
||||
# see also stage1/scripts.d/01-grub
|
||||
|
||||
include $(BUILDDIR)/distcfg.mk
|
||||
|
||||
ifndef BOOTLOADER
|
||||
$(error grub feature enabled but BOOTLOADER undefined)
|
||||
endif
|
||||
|
||||
ifndef GRUB_DIRECT
|
||||
# SUBPROFILES are considered GRUB_CFG too
|
||||
# (note these can appear like stage2@live);
|
||||
# 01defaults.cfg is included indefinitely
|
||||
GRUB_CFG := $(GRUB_CFG) $(SUBPROFILE_DIRS) defaults
|
||||
endif
|
||||
|
||||
DSTDIR := $(BUILDDIR)/stage1/files/EFI/BOOT/.in
|
||||
DSTCFGS := $(DSTDIR)/*.cfg
|
||||
|
||||
# we can do GRUB_{CFG,MODULES,FILES}
|
||||
# CFG have only cfg snippet
|
||||
cfg = $(wildcard cfg.in/??$(1).cfg)
|
||||
|
||||
# NB: list position determined by file numbering (*.cfg sorting)
|
||||
#
|
||||
# config snippets are copied into generated profile where they can
|
||||
# be also tested against grub modules (some can be unavailable);
|
||||
# we can't do tests right now since that implies host grub being
|
||||
# identical to build system one which might be not the case...
|
||||
#
|
||||
# have to piggyback parameters as we're running in host system yet,
|
||||
# and files involved will appear inside instrumental chroot
|
||||
#
|
||||
# arguments get evaluated before recipe body execution thus prep
|
||||
|
||||
all: debug timeout
|
||||
@### proper text branding should be implemented
|
||||
@echo $(GRUB_FILES) > $(DSTDIR)/grub.list
|
||||
@sed -i \
|
||||
-e 's,@mkimage-profiles@,$(IMAGE_NAME),' \
|
||||
-e 's,@relname@,$(RELNAME),' \
|
||||
$(DSTCFGS)
|
||||
|
||||
# integerity check
|
||||
timeout: distro
|
||||
@if [ "$(GRUB_TIMEOUT)" -ge 0 ] 2>/dev/null; then \
|
||||
TIMEOUT="$(GRUB_TIMEOUT)"; \
|
||||
else \
|
||||
TIMEOUT="$(DEFAULT_TIMEOUT)"; \
|
||||
fi; \
|
||||
sed -i "s,@timeout@,$$TIMEOUT," $(DSTCFGS)
|
||||
|
||||
distro: bootargs
|
||||
@if [ -n "$(META_VOL_SET)" ]; then \
|
||||
DISTRO="$(META_VOL_SET)"; \
|
||||
else \
|
||||
DISTRO="ALT"; \
|
||||
fi; \
|
||||
sed -i "s,@distro@,$$DISTRO," $(DSTCFGS)
|
||||
|
||||
# pass over additional parameters, if any
|
||||
bootargs: clean
|
||||
@if [ -n "$(STAGE2_BOOTARGS)" ]; then \
|
||||
sed -i "s,@bootargs@,$(STAGE2_BOOTARGS)," $(DSTCFGS); \
|
||||
fi; \
|
||||
sed -i "s,@bootargs@,," $(DSTCFGS)
|
||||
@if [ -n "$(RESCUE_BOOTARGS)" ]; then \
|
||||
sed -i "s,@rescue_bootargs@,$(RESCUE_BOOTARGS)," $(DSTCFGS); \
|
||||
fi; \
|
||||
sed -i "s,@rescue_bootargs@,," $(DSTCFGS)
|
||||
@if [ -n "$(BOOTVGA)" ]; then \
|
||||
sed -i "s,@bootvga@,$(BOOTVGA)," $(DSTCFGS); \
|
||||
fi; \
|
||||
sed -i "s,@bootvga@,,;s,vga= ,," $(DSTCFGS)
|
||||
|
||||
clean: copy
|
||||
@if [ "$(GRUB_UI)" = gfxboot ]; then \
|
||||
sed -i "s/\^//;/menu label /d" $(DSTCFGS); \
|
||||
fi
|
||||
|
||||
copy: prep
|
||||
@cp -pLt $(DSTDIR) -- $(sort \
|
||||
$(foreach C,$(GRUB_CFG),$(call cfg,$(C))))
|
||||
|
||||
prep:
|
||||
@mkdir -p $(DSTDIR)
|
||||
|
||||
debug:
|
||||
@if [ -n "$(DEBUG)" ]; then \
|
||||
echo "** BOOTLOADER: $(BOOTLOADER)"; \
|
||||
echo "** GRUB_CFG: $(GRUB_CFG)"; \
|
||||
echo "** GRUB_FILES: $(GRUB_FILES)"; \
|
||||
fi
|
||||
|
||||
endif
|
20
features.in/grub/scripts.d/20-propagator-ramdisk
Executable file
20
features.in/grub/scripts.d/20-propagator-ramdisk
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
# postprocess isolinux configuration
|
||||
# when the image sizes are finally known
|
||||
# NB: install2_size, live_size, rescue_size get defined here
|
||||
|
||||
cd "$WORKDIR"
|
||||
|
||||
cfgs="$(find EFI/BOOT -name '*.cfg')"
|
||||
[ -n "$cfgs" ] || {
|
||||
echo "${0##*/}: did not find any config under EFI/BOOT " >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
# apply size census while looking for potential squashfs images
|
||||
find -maxdepth 1 -type f -size +1M \
|
||||
| sed 's,^\./,,' \
|
||||
| while read image; do
|
||||
size="$[ $(stat -c%s "$image") / 1024 + 1 ]"
|
||||
sed -i "s,@${image}_size@,$size," $cfgs
|
||||
done
|
14
features.in/grub/scripts.d/20-propagator-rescue-hash
Executable file
14
features.in/grub/scripts.d/20-propagator-rescue-hash
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
# postprocess isolinux configuration
|
||||
# to add rescue image hash, if any
|
||||
# (for propagator in forensic mode)
|
||||
|
||||
cd "$WORKDIR"
|
||||
|
||||
grep -qs "@rescue_hash@" EFI/BOOT/*.cfg || exit 0
|
||||
|
||||
find -maxdepth 1 -type f -name rescue \
|
||||
| while read image; do
|
||||
rescue_hash="$(sha256sum -b "$image" | cut -f1 -d' ')"
|
||||
sed -i "s,@rescue_hash@,$rescue_hash," EFI/BOOT/*.cfg
|
||||
done
|
41
features.in/grub/stage1/scripts.d/01-grub
Executable file
41
features.in/grub/stage1/scripts.d/01-grub
Executable file
@ -0,0 +1,41 @@
|
||||
#!/bin/sh
|
||||
# gather syslinux configuration from snippets;
|
||||
# copy modules; see also this feature's generate.mk
|
||||
|
||||
CFG="grub.cfg"
|
||||
|
||||
mkdir -p "$WORKDIR/EFI/BOOT"
|
||||
cd "$WORKDIR/EFI/BOOT"
|
||||
|
||||
# validate just in case (see also stage1 Makefile)
|
||||
case "$GLOBAL_BOOTLOADER" in
|
||||
isolinux|syslinux|ieee1275boot|grubaa64boot) ;;
|
||||
*) echo "error: weird GLOBAL_BOOTLOADER: \`$GLOBAL_BOOTLOADER'" >&2;
|
||||
exit 1;;
|
||||
esac
|
||||
|
||||
# copy extra files, if any
|
||||
GRUB_FILES="$(cat .in/grub.list)"
|
||||
if [ -n "${GRUB_FILES% }" ]; then
|
||||
cp -a $GRUB_FILES .
|
||||
fi
|
||||
|
||||
# number ordering sponsored by shell's pathname expansion
|
||||
grep -hv '^#' .in/[0-9][0-9]*.cfg > "$CFG"
|
||||
|
||||
# there should be DEFAULT directive there (at least for alterator-netinst)
|
||||
if ! grep -i '^default' "$CFG"; then
|
||||
DEFAULT="$(grep -i '^label ' "$CFG" | head -1 | cut -f2 -d' ')"
|
||||
if [ -n "$DEFAULT" ]; then
|
||||
echo "default $DEFAULT" >> "$CFG"
|
||||
else
|
||||
echo "error: no DEFAULT or UI directive and cannot guess" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# snippets are not going into the actual image
|
||||
if [ "$DEBUG" != 2 ]; then rm -r .in/; fi
|
||||
|
||||
# NB: there will be final macro expansion based on actual image sizes
|
||||
# done by features.in/syslinux/scripts.d/20-propagator-ramdisk
|
@ -1,5 +1,6 @@
|
||||
+sysvinit: use/init/sysv; @:
|
||||
+systemd: use/init/systemd/full; @:
|
||||
+systemd-optimal: use/init/systemd/settings/optimal; @:
|
||||
+elogind: use/init/sysv/elogind; @:
|
||||
|
||||
# NB: the list name MUST be identical to init package name
|
||||
@ -21,19 +22,15 @@ use/init/sysv/consolekit: use/init/sysv
|
||||
@$(call add,THE_PACKAGES,ConsoleKit2-service ConsoleKit2-x11)
|
||||
|
||||
use/init/sysv/elogind: use/init/sysv
|
||||
@$(call add,THE_PACKAGES,elogind bash-completion-elogind)
|
||||
@$(call add,THE_PACKAGES,elogind)
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,elogind)
|
||||
|
||||
### i-f should be dropped as soon as rootfs scripts are effective there
|
||||
use/init/systemd: use/init
|
||||
@$(call set,INIT_TYPE,systemd)
|
||||
@$(call add,INSTALL2_PACKAGES,installer-feature-journald-tty)
|
||||
|
||||
use/init/systemd/full: use/init/systemd
|
||||
@$(call add,THE_PACKAGES,bash-completion-systemd chkconfig)
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
@$(call add,THE_PACKAGES,vconsole-setup-kludge)
|
||||
endif
|
||||
@$(call add,THE_PACKAGES,chkconfig)
|
||||
|
||||
# http://www.freedesktop.org/wiki/Software/systemd/Debugging
|
||||
use/init/systemd/debug: use/init/systemd use/services
|
||||
@ -46,3 +43,15 @@ use/init/systemd/debug: use/init/systemd use/services
|
||||
# set multi-user target by default
|
||||
use/init/systemd/multiuser: use/init/systemd
|
||||
@$(call add,STAGE2_BOOTARGS,systemd.unit=multi-user.target)
|
||||
|
||||
use/init/systemd/settings/disable-dumpcore \
|
||||
use/init/systemd/settings/disable-user-systemd-for-selinux \
|
||||
use/init/systemd/settings/enable-log-to-tty12 \
|
||||
use/init/systemd/settings/enable-showstatus: \
|
||||
use/init/systemd/settings/%: use/init/systemd
|
||||
@$(call add,THE_PACKAGES,systemd-settings-$*)
|
||||
|
||||
use/init/systemd/settings/optimal: \
|
||||
use/init/systemd/settings/disable-dumpcore \
|
||||
use/init/systemd/settings/enable-log-to-tty12 \
|
||||
use/init/systemd/settings/enable-showstatus; @:
|
||||
|
@ -1,22 +1,18 @@
|
||||
# alterator-based installer, second (livecd) stage
|
||||
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
+installer: use/install2/full; @:
|
||||
else
|
||||
+installer: use/install2/packages; @:
|
||||
endif
|
||||
|
||||
use/install2: use/stage2 sub/stage2@install2 use/metadata \
|
||||
use/cleanup/installer
|
||||
use/cleanup/installer use/install2/autoinstall
|
||||
@$(call add_feature)
|
||||
@$(call try,INSTALLER,altlinux-generic) # might be replaced later
|
||||
@$(call add,INSTALL2_PACKAGES,installer-distro-$$(INSTALLER)-stage2)
|
||||
@$(call add,INSTALL2_PACKAGES,branding-$$(BRANDING)-alterator)
|
||||
@$(call add,INSTALL2_PACKAGES,installer-feature-create-ghost-directories)
|
||||
@$(call add,BASE_PACKAGES,branding-$$(BRANDING)-release)
|
||||
@$(call add,BASE_PACKAGES,installer-common-stage3)
|
||||
@$(call add,BASE_PACKAGES,glibc-gconv-modules) # for guile22
|
||||
@$(call add,BASE_LISTS,$(call tags,basesystem))
|
||||
@$(call add,BASE_PACKAGES,interactivesystem)
|
||||
@$(call add,BASE_PACKAGES,apt)
|
||||
@$(call xport,BASE_BOOTLOADER)
|
||||
@$(call xport,INSTALL2_CLEANUP_PACKAGES)
|
||||
@$(call xport,INSTALL2_CLEANUP_KDRIVERS)
|
||||
@ -36,23 +32,14 @@ use/install2/stage3: use/install2
|
||||
use/install2/fonts: use/fonts/install2; @:
|
||||
|
||||
# see also use/vmguest
|
||||
use/install2/vmguest: use/install2/kvm use/install2/vbox use/install2/vmware; @:
|
||||
|
||||
# stash local packages within installation media
|
||||
use/install2/packages: use/install2 use/repo/main; @:
|
||||
|
||||
# set up remote repositories within installed system out-of-box
|
||||
use/install2/repo: use/install2
|
||||
@$(call add,INSTALL2_PACKAGES,installer-feature-online-repo)
|
||||
|
||||
# for alterator-pkg to use
|
||||
use/install2/net: use/install2
|
||||
@$(call add,INSTALL2_PACKAGES,curl)
|
||||
ifeq (,$(filter-out i586 x86_64 aarch64 armh ppc64le,$(ARCH)))
|
||||
|
||||
# see also use/vmguest/kvm; qxl included in xorg pkglist
|
||||
use/install2/kvm:
|
||||
@$(call add,INSTALL2_PACKAGES,spice-vdagent xorg-drv-qxl)
|
||||
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
|
||||
# virtualbox guest support for installer
|
||||
use/install2/vbox:
|
||||
@$(call add,STAGE1_KMODULES,virtualbox-addition vboxguest)
|
||||
@ -64,17 +51,46 @@ use/install2/vmware:
|
||||
@$(call add,STAGE1_KMODULES,scsi) # mptspi in led-ws
|
||||
@$(call add,INSTALL2_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse)
|
||||
|
||||
use/install2/vmguest: use/install2/kvm use/install2/vbox use/install2/vmware; @:
|
||||
|
||||
else
|
||||
|
||||
use/install2/vmguest: use/install2/kvm; @:
|
||||
|
||||
endif
|
||||
else
|
||||
|
||||
use/install2/vmguest: ; @:
|
||||
|
||||
endif
|
||||
|
||||
# stash local packages within installation media
|
||||
use/install2/packages: use/install2 use/repo/main; @:
|
||||
|
||||
# set up remote repositories within installed system out-of-box
|
||||
use/install2/repo: use/install2
|
||||
@$(call add,INSTALL2_PACKAGES,installer-feature-online-repo)
|
||||
|
||||
# for alterator-pkg to use
|
||||
use/install2/net: use/install2
|
||||
@$(call add,INSTALL2_PACKAGES,curl)
|
||||
|
||||
# for autoinstall
|
||||
use/install2/autoinstall:
|
||||
@$(call add,INSTALL2_PACKAGES,alterator-postinstall)
|
||||
@$(call add,BASE_PACKAGES,alterator-postinstall)
|
||||
|
||||
# NB: sort of conflicts with use/install2/cleanup/vnc
|
||||
use/install2/vnc:
|
||||
@$(call add,INSTALL2_PACKAGES,x11vnc xterm net-tools)
|
||||
|
||||
# this one expects external vncviewer to come
|
||||
use/install2/vnc/listen: \
|
||||
use/install2/vnc use/syslinux/install-vnc-listen.cfg; @:
|
||||
use/install2/vnc use/syslinux/install-vnc-listen.cfg use/grub/install-vnc-listen.cfg; @:
|
||||
|
||||
# this one connects to a specified vncviewer --listen
|
||||
use/install2/vnc/connect: \
|
||||
use/install2/vnc use/syslinux/install-vnc-connect.cfg; @:
|
||||
use/install2/vnc use/syslinux/install-vnc-connect.cfg use/grub/install-vnc-connect.cfg; @:
|
||||
|
||||
# add both bootloader items to be *that* explicit ;-)
|
||||
use/install2/vnc/full: use/install2/vnc/listen use/install2/vnc/connect; @:
|
||||
@ -101,6 +117,9 @@ use/install2/suspend:
|
||||
# extras
|
||||
use/install2/tools:
|
||||
@$(call add,INSTALL2_PACKAGES,pxz)
|
||||
@$(call add,INSTALL2_PACKAGES,fdisk gdisk parted partclone)
|
||||
@$(call add,INSTALL2_PACKAGES,vim-console)
|
||||
@$(call add,INSTALL2_PACKAGES,net-tools openssh-clients lftp)
|
||||
|
||||
# when VNC installation is less welcome than a few extra megs
|
||||
use/install2/cleanup/vnc:
|
||||
|
@ -65,7 +65,6 @@ rm -rf /lib/modules/*/kernel/fs/autofs
|
||||
rm -rf /lib/modules/*/kernel/fs/autofs4
|
||||
rm -rf /lib/modules/*/kernel/fs/befs
|
||||
rm -rf /lib/modules/*/kernel/fs/bfs
|
||||
rm -rf /lib/modules/*/kernel/fs/btrfs
|
||||
rm -rf /lib/modules/*/kernel/fs/ceph
|
||||
rm -rf /lib/modules/*/kernel/fs/cifs
|
||||
rm -rf /lib/modules/*/kernel/fs/coda
|
||||
@ -76,7 +75,6 @@ rm -rf /lib/modules/*/kernel/fs/efs
|
||||
rm -rf /lib/modules/*/kernel/fs/exofs
|
||||
rm -rf /lib/modules/*/kernel/fs/freevxfs
|
||||
rm -rf /lib/modules/*/kernel/fs/fscache
|
||||
rm -rf /lib/modules/*/kernel/fs/fuse
|
||||
rm -rf /lib/modules/*/kernel/fs/hfs
|
||||
rm -rf /lib/modules/*/kernel/fs/hfsplus
|
||||
rm -rf /lib/modules/*/kernel/fs/hpfs
|
||||
@ -107,7 +105,6 @@ rm -rf /lib/modules/*/kernel/net/bluetooth
|
||||
rm -rf /lib/modules/*/kernel/net/dccp
|
||||
rm -rf /lib/modules/*/kernel/net/decnet
|
||||
rm -rf /lib/modules/*/kernel/net/econet
|
||||
rm -rf /lib/modules/*/kernel/net/ipv6
|
||||
rm -rf /lib/modules/*/kernel/net/ipx
|
||||
rm -rf /lib/modules/*/kernel/net/irda
|
||||
rm -rf /lib/modules/*/kernel/net/netfilter
|
||||
|
@ -12,10 +12,14 @@ ifeq (,$(filter-out e2k%,$(ARCH)))
|
||||
else
|
||||
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
|
||||
@$(call try,KFLAVOURS,mp)
|
||||
else
|
||||
ifeq (,$(filter-out riscv64,$(ARCH)))
|
||||
@$(call try,KFLAVOURS,un-def)
|
||||
else
|
||||
@$(call try,KFLAVOURS,std-def)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# r8168 is a kludge, never install it by default
|
||||
use/kernel/net:
|
||||
@ -33,3 +37,42 @@ use/kernel/desktop:
|
||||
|
||||
use/kernel/server:
|
||||
@$(call add,THE_KMODULES,ipset kvm)
|
||||
|
||||
use/kernel/drm:
|
||||
@$(call add,THE_KMODULES,drm)
|
||||
|
||||
# for vm targets
|
||||
use/kernel/initrd-setup: use/kernel
|
||||
@$(call add,THE_INITRDFEATURES,add-modules compress cleanup)
|
||||
@$(call try,VM_FSTYPE,ext4)
|
||||
@$(call add,THE_INITRDMODULES,$$(VM_FSTYPE))
|
||||
ifeq (,$(filter-out i586 x86_64 aarch64 armh ppc64le,$(ARCH)))
|
||||
@$(call add,THE_INITRDMODULES,ahci sd_mod)
|
||||
@$(call add,THE_INITRDMODULES,nvme nvme-core)
|
||||
@$(call add,THE_INITRDMODULES,virtio-scsi virtio-blk virtio-rng)
|
||||
endif
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
@$(call add,THE_INITRDFEATURES,qemu)
|
||||
@$(call add,THE_INITRDMODULES,ata_piix)
|
||||
endif
|
||||
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
|
||||
@$(call add,THE_INITRDMODULES,bcm2835 sunxi-mmc)
|
||||
@$(call add,THE_INITRDMODULES,nvmem_rockchip_efuse)
|
||||
@$(call add,THE_INITRDMODULES,virtio-mmio)
|
||||
endif
|
||||
ifeq (,$(filter-out aarch64,$(ARCH)))
|
||||
@$(call add,THE_INITRDMODULES,meson-gx-mmc)
|
||||
@$(call add,THE_INITRDMODULES,nvmem_meson_efuse)
|
||||
endif
|
||||
ifeq (,$(filter-out armh,$(ARCH)))
|
||||
@$(call add,THE_INITRDMODULES,sdhci_dove sdhci_esdhc_imx)
|
||||
endif
|
||||
ifeq (,$(filter-out e2k%,$(ARCH)))
|
||||
@$(call add,THE_INITRDFEATURES,usb)
|
||||
endif
|
||||
ifeq (,$(filter-out ppc64le,$(ARCH)))
|
||||
@$(call add,THE_INITRDFEATURES,qemu usb)
|
||||
@$(call add,THE_INITRDMODULES,ipr ibmvscsi)
|
||||
endif
|
||||
@$(call xport,THE_INITRDMODULES)
|
||||
@$(call xport,THE_INITRDFEATURES)
|
||||
|
11
features.in/kernel/image-scripts.d/01-prepare-initrd
Executable file
11
features.in/kernel/image-scripts.d/01-prepare-initrd
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
if [ -n "$GLOBAL_THE_INITRDFEATURES" ]; then
|
||||
echo "FEATURES += $GLOBAL_THE_INITRDFEATURES" >> /etc/initrd.mk
|
||||
fi
|
||||
|
||||
if [ -n "$GLOBAL_THE_INITRDMODULES" ]; then
|
||||
echo "MODULES_ADD += $GLOBAL_THE_INITRDMODULES" >> /etc/initrd.mk
|
||||
fi
|
||||
|
||||
exit 0
|
@ -30,6 +30,7 @@ use/live/base: use/live/.base use/net use/deflogin/live
|
||||
ifeq (,$(EFI_BOOTLOADER))
|
||||
use/live/rw: use/live use/syslinux
|
||||
@$(call add,SYSLINUX_CFG,live_rw)
|
||||
@$(call add,GRUB_CFG,live_rw)
|
||||
else
|
||||
use/live/rw: use/live; @:
|
||||
endif
|
||||
@ -49,8 +50,7 @@ use/live/desktop: use/live/x11 use/x11/xorg use/x11/wacom \
|
||||
|
||||
# preconfigure apt for both live and installed-from-live systems
|
||||
use/live/repo: use/live
|
||||
@$(call add,LIVE_PACKAGES,installer-feature-online-repo)
|
||||
@$(call try,LIVE_REPO,http/alt)
|
||||
@$(call try,LIVE_REPO,http/yandex)
|
||||
@$(call xport,LIVE_REPO)
|
||||
|
||||
# preconfigure apt in runtime (less reliable)
|
||||
|
@ -5,7 +5,7 @@ use/lxc:
|
||||
|
||||
use/lxc/lxd: use/lxc
|
||||
@$(call add,GROUPS,netadmin lxd)
|
||||
@$(call add,LIVE_LISTS,lxd)
|
||||
@$(call add,LIVE_LISTS,container/lxd)
|
||||
@$(call add,LIVE_LISTS,openssh)
|
||||
@$(call add,LIVE_PACKAGES,su)
|
||||
@$(call add,LIVE_PACKAGES,livecd-net-eth)
|
||||
|
@ -1,3 +1,3 @@
|
||||
use/mediacheck: use/stage2 sub/stage2@mediacheck use/syslinux/mediacheck.cfg
|
||||
use/mediacheck: use/stage2 sub/stage2@mediacheck use/syslinux/mediacheck.cfg use/grub/mediacheck.cfg
|
||||
@$(call add_feature)
|
||||
@$(call add,POSTPROCESS_TARGETS,90mediacheck)
|
||||
|
@ -1,6 +1,14 @@
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
use/memtest: use/syslinux
|
||||
@$(call add_feature)
|
||||
@$(call add,SYSTEM_PACKAGES,memtest86+)
|
||||
@$(call add,SYSLINUX_CFG,memtest)
|
||||
ifeq (,$(EFI_BOOTLOADER))
|
||||
@$(call add,SYSTEM_PACKAGES,efi-memtest86)
|
||||
@$(call add,GRUB_CFG,memtest)
|
||||
endif
|
||||
|
||||
else
|
||||
use/memtest: ; @:
|
||||
endif
|
||||
# see also use/efi/memtest86
|
||||
|
6
features.in/office/README
Normal file
6
features.in/office/README
Normal file
@ -0,0 +1,6 @@
|
||||
Эта фича обеспечивает наличие и конкретизацию выбора офисного
|
||||
пакета по аналогии с выбором браузера. Разумеется, дополнительные
|
||||
варианты могут быть установлены явным или косвенным затребованием.
|
||||
|
||||
Следует понимать, что каждая из целей может быть использована
|
||||
лишь один раз, повторное упоминание будет проигнорировано make.
|
25
features.in/office/config.mk
Normal file
25
features.in/office/config.mk
Normal file
@ -0,0 +1,25 @@
|
||||
use/office:
|
||||
@$(call add_feature)
|
||||
@$(call try,THE_OFFICE,abiword gnumeric)
|
||||
@$(call add,THE_PACKAGES,$$(THE_OFFICE))
|
||||
|
||||
# support both LibreOffice and LibreOffice-still
|
||||
use/office/LibreOffice: use/office
|
||||
@$(call set,THE_OFFICE,LibreOffice$$(LO_FLAVOUR))
|
||||
|
||||
# the complete lack of dependencies is intentional
|
||||
use/office/LibreOffice/still:
|
||||
@$(call set,LO_FLAVOUR,-still)
|
||||
|
||||
use/office/LibreOffice/lang: use/office/LibreOffice
|
||||
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-kk)
|
||||
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-ru)
|
||||
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-uk)
|
||||
|
||||
use/office/LibreOffice/gtk2 use/office/LibreOffice/gtk3 \
|
||||
use/office/LibreOffice/qt5 use/office/LibreOffice/kde5: \
|
||||
use/office/LibreOffice/%: use/office/LibreOffice
|
||||
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-$*)
|
||||
|
||||
use/office/calligra: use/office
|
||||
@$(call set,THE_OFFICE,calligra)
|
@ -14,7 +14,7 @@ use/plymouth:
|
||||
# looks like there's no sense to pull in progressbars
|
||||
# while leaving the very basic text bootloader screen
|
||||
use/plymouth/stage2: use/plymouth use/branding \
|
||||
use/syslinux/ui/gfxboot use/stage2/kms
|
||||
use/stage2/kms
|
||||
@$(call add,STAGE1_PACKAGES_REGEXP,make-initrd-plymouth)
|
||||
@$(call add,STAGE1_BRANDING,bootsplash)
|
||||
@$(call add,STAGE2_BRANDING,bootsplash)
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# enable online repos if possible, just quit if anything's wrong
|
||||
# enable online repos if possible, just quit if list is absent
|
||||
|
||||
repo_source='/etc/apt/sources.list.d/alt.list'
|
||||
|
||||
@ -10,13 +10,4 @@ prefix_re="[[:space:]]*rpm[[:space:]]\+\([^[:space:]]\+[[:space:]]\+\)\?"
|
||||
host_re="http:\/\/\([^[:space:]]\+\)[[:space:]]\+"
|
||||
updates_re="${prefix_re}${host_re}\([^[:space:]]\+\/\)\?"
|
||||
|
||||
# architectures
|
||||
host_arch="$(rpm --eval '%_host_cpu')"
|
||||
[ "$host_arch" = "x86_64" ] && compat="x86_64-i586" || compat=
|
||||
[ "$host_arch" = 'armh' ] && noarch= || noarch='noarch'
|
||||
|
||||
# turn on unconditionally
|
||||
for arch in "$host_arch" "$noarch" "$compat"; do
|
||||
[ -n "$arch" ] || continue
|
||||
sed -i "s/^#\($updates_re$arch\)/\1/" "$repo_source"
|
||||
done
|
||||
sed -i "s/^#\($updates_re\)/\1/" "$repo_source"
|
||||
|
@ -12,7 +12,12 @@ use/rescue/base: use/rescue/.base
|
||||
use/rescue: use/rescue/.base use/syslinux/sdab.cfg \
|
||||
use/services use/firmware/full +wireless
|
||||
@$(call add,DEFAULT_SERVICES_DISABLE,rpcbind)
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
@$(call add,RESCUE_PACKAGES,grub2-pc lilo syslinux)
|
||||
endif
|
||||
ifeq (,$(filter-out ppc64le,$(ARCH)))
|
||||
@$(call add,RESCUE_PACKAGES,grub-ieee1275)
|
||||
endif
|
||||
ifneq (,$(EFI_BOOTLOADER))
|
||||
@$(call add,RESCUE_PACKAGES,grub2-efi)
|
||||
endif
|
||||
@ -24,6 +29,7 @@ endif
|
||||
ifeq (,$(EFI_BOOTLOADER))
|
||||
use/rescue/rw: use/rescue use/syslinux
|
||||
@$(call add,SYSLINUX_CFG,rescue_rw)
|
||||
@$(call add,GRUB_CFG,rescue_rw)
|
||||
else
|
||||
use/rescue/rw: use/rescue; @:
|
||||
endif
|
||||
|
@ -1,8 +1,8 @@
|
||||
use/server: use/power/acpi/button
|
||||
use/server: sub/rootfs use/services
|
||||
@$(call add_feature)
|
||||
|
||||
use/server/base: use/server use/firmware/server \
|
||||
use/net-ssh use/syslinux/timeout/600
|
||||
use/net-ssh use/syslinux/timeout/600 use/grub/timeout/600
|
||||
@$(call set,BOOTVGA,)
|
||||
@$(call add,THE_LISTS,server-base)
|
||||
@$(call add,THE_KMODULES,e1000e igb)
|
||||
@ -29,6 +29,12 @@ use/server/ovz: use/server/ovz-base
|
||||
@$(call add,MAIN_KMODULES,staging)
|
||||
@$(call add,BASE_LISTS,$(call tags,server openvz))
|
||||
|
||||
use/server/virt: use/server use/kernel
|
||||
@$(call add,BASE_PACKAGES,openssh)
|
||||
@$(call set,STAGE1_KFLAVOUR,std-def)
|
||||
@$(call set,KFLAVOURS,un-def std-def)
|
||||
@$(call add,THE_KMODULES,kvm)
|
||||
|
||||
# NB: examine zabbix-preinstall package, initialization is NOT automatic!
|
||||
use/server/zabbix: use/server use/services use/control
|
||||
@$(call add,THE_LISTS,$(call tags,server zabbix))
|
||||
@ -41,6 +47,7 @@ use/server/groups/tools: use/server
|
||||
@$(call add,MAIN_GROUPS,tools/tuning)
|
||||
|
||||
use/server/groups/services: use/server
|
||||
@$(call add,BASE_KMODULES,kvm)
|
||||
@$(call add,MAIN_GROUPS,server/dhcp server/dns server/mail)
|
||||
@$(call add,MAIN_GROUPS,server/apache2 server/nginx)
|
||||
@$(call add,MAIN_GROUPS,server/mariadb server/pgsql)
|
||||
@ -50,8 +57,3 @@ use/server/groups/services: use/server
|
||||
@$(call add,DEFAULT_SERVICES_DISABLE,php7-fpm)
|
||||
|
||||
use/server/groups/base: use/server/groups/tools use/server/groups/services; @:
|
||||
|
||||
use/server/groups/openstack: use/server
|
||||
@$(call add,MAIN_GROUPS,openstack/block openstack/compute)
|
||||
@$(call add,MAIN_GROUPS,openstack/controller openstack/network)
|
||||
@$(call add,MAIN_GROUPS,openstack/storage)
|
||||
|
@ -1,23 +1,36 @@
|
||||
use/slinux: use/x11/xfce
|
||||
use/slinux: use/x11
|
||||
@$(call add_feature)
|
||||
@$(call set,BRANDING,simply-linux)
|
||||
@$(call add,THE_BRANDING,menu xfce-settings)
|
||||
@$(call set,META_VOL_SET,Simply Linux)
|
||||
@$(call add,THE_BRANDING,menu xfce-settings system-settings)
|
||||
@$(call set,META_PUBLISHER,BaseALT Ltd)
|
||||
@$(call set,META_APP_ID,$(DISTRO_VERSION)/$(ARCH))
|
||||
|
||||
use/slinux/base: use/slinux use/x11/lightdm/gtk +pulse
|
||||
use/slinux/base: use/isohybrid use/slinux use/x11/xorg use/x11/lightdm/gtk +pulse use/luks \
|
||||
+plymouth +nm use/x11/gtk/nm use/memtest +systemd +wireless +vmguest use/l10n/default/ru_RU \
|
||||
use/live/x11 use/live/rw use/xdg-user-dirs/deep use/install2/fonts \
|
||||
+efi use/efi/refind use/branding/complete; @:
|
||||
@$(call set,GLOBAL_LIVE_NO_CLEANUPDB,true)
|
||||
@$(call set,KFLAVOURS,std-def)
|
||||
@$(call add,THE_LISTS,gnome-p2p)
|
||||
@$(call add,THE_LISTS,slinux/$(ARCH))
|
||||
@$(call add,THE_LISTS,slinux/games)
|
||||
@$(call add,THE_LISTS,slinux/graphics)
|
||||
@$(call add,THE_LISTS,slinux/misc)
|
||||
@$(call add,THE_LISTS,slinux/misc-dvd)
|
||||
@$(call add,THE_LISTS,slinux/multimedia)
|
||||
@$(call add,THE_LISTS,slinux/network)
|
||||
@$(call add,THE_LISTS,slinux/xfce)
|
||||
@$(call add,LIVE_LISTS,slinux/games-base)
|
||||
@$(call add,LIVE_LISTS,slinux/graphics-base)
|
||||
@$(call add,LIVE_LISTS,slinux/multimedia-base)
|
||||
@$(call add,LIVE_LISTS,slinux/network-base)
|
||||
@$(call add,LIVE_LISTS,slinux/live)
|
||||
@$(call add,THE_LISTS,slinux/misc-base)
|
||||
@$(call add,THE_LISTS,slinux/xfce-base)
|
||||
@$(call add,THE_LISTS,$(call tags,base l10n))
|
||||
@$(call add,STAGE2_PACKAGES,xorg-conf-libinput-touchpad)
|
||||
@$(call add,THE_KMODULES,staging)
|
||||
@$(call add,STAGE1_MODLISTS,stage2-mmc)
|
||||
|
||||
use/slinux/full: use/isohybrid use/slinux/base +systemd +wireless \
|
||||
use/branding/complete use/fonts/install2 use/x11/3d; @:
|
||||
use/slinux/full: use/slinux/base
|
||||
@$(call add,MAIN_LISTS,slinux/not-install-full)
|
||||
@$(call add,THE_LISTS,slinux/misc-full)
|
||||
@$(call add,THE_KMODULES,virtualbox)
|
||||
@$(call add,THE_KMODULES,nvidia)
|
||||
# @$(call add,THE_KMODULES,nvidia fglrx)
|
||||
@$(call add,MAIN_KMODULES,bbswitch)
|
||||
|
||||
use/slinux/arm: use/slinux use/x11/lightdm/gtk
|
||||
@$(call add,THE_LISTS,slinux/arm)
|
||||
@$(call add,THE_LISTS,slinux-arm)
|
||||
|
7
features.in/slinux/live/image-scripts.d/40-slinux-installer.sh
Executable file
7
features.in/slinux/live/image-scripts.d/40-slinux-installer.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Customize live installer
|
||||
|
||||
[ -d /etc/livecd-install ] || exit 0
|
||||
|
||||
# Use custom luks step
|
||||
sed -i 's;^luks$;slinux-luks;' /etc/livecd-install/steps
|
@ -1,29 +1,53 @@
|
||||
#!/bin/sh
|
||||
# see also m-p-d::profiles/live/image-scripts.d/init3-services
|
||||
|
||||
#[ -x /bin/systemctl ] || exit 0
|
||||
#[ -x /bin/systemctl ] || exit 0
|
||||
|
||||
ENABLE="
|
||||
network
|
||||
NetworkManager
|
||||
lvm2-monitor
|
||||
mdadm
|
||||
cups.service
|
||||
avahi-daemon.service
|
||||
NetworkManager.service
|
||||
NetworkManager-wait-online.service
|
||||
ModemManager.service
|
||||
nmb.service
|
||||
smb.service
|
||||
cpufreq-simple.service
|
||||
alteratord.socket
|
||||
bluetoothd.service
|
||||
crond.service
|
||||
lvm2-monitor.service
|
||||
network.service
|
||||
ntpd.service
|
||||
lightdm.service
|
||||
bluetooth.service
|
||||
livecd-setlocale
|
||||
livecd-evms
|
||||
livecd-save-nfs
|
||||
livecd-timezone
|
||||
"
|
||||
|
||||
# NB: dnsmasq: https://bugzilla.altlinux.org/show_bug.cgi?id=18799
|
||||
# NB: sshd might be needed for some particular cases
|
||||
DISABLE="
|
||||
sshd
|
||||
anacron.service
|
||||
dnsmasq.service
|
||||
x11presetdrv.service
|
||||
bridge.service
|
||||
acpid.service
|
||||
ethtool.service
|
||||
iptables.service
|
||||
lm_sensors.service
|
||||
openvpn.service
|
||||
sshd.service
|
||||
consolesaver.service
|
||||
syslogd.service
|
||||
krb5kdc.service
|
||||
clamd.service
|
||||
haspd.service
|
||||
cups.socket
|
||||
"
|
||||
|
||||
for i in $ENABLE; do
|
||||
[ -x /bin/systemctl ] && /bin/systemctl --no-reload enable ${i}.service
|
||||
[ -x /sbin/chkconfig ] && /sbin/chkconfig $i on
|
||||
/bin/systemctl --no-reload enable "$i" ||:
|
||||
done
|
||||
|
||||
for i in $DISABLE; do
|
||||
[ -x /bin/systemctl ] && /bin/systemctl --no-reload disable ${i}.service
|
||||
[ -x /sbin/chkconfig ] && /sbin/chkconfig $i off
|
||||
/bin/systemctl --no-reload disable "$i" ||:
|
||||
done
|
||||
:
|
||||
|
17
features.in/slinux/live/image-scripts.d/60-disable-tracker.sh
Executable file
17
features.in/slinux/live/image-scripts.d/60-disable-tracker.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
# Disable tracker on live
|
||||
|
||||
XDG_AS_DIR=/etc/xdg/autostart
|
||||
LIVE_USER=altlinux
|
||||
LIVE_USER_HOME="/home/$LIVE_USER"
|
||||
|
||||
if [ -d "$LIVE_USER_HOME/.config/autostart" ]; then
|
||||
for d in extract miner-apps miner-fs miner-rss miner-user-guides store; do
|
||||
[ -f "$XDG_AS_DIR"/tracker-$d.desktop ] || continue
|
||||
cat <<EOF >$LIVE_USER_HOME/.config/autostart/tracker-$d.desktop
|
||||
[Desktop Entry]
|
||||
Hidden=true
|
||||
EOF
|
||||
chown "$LIVE_USER":"$LIVE_USER" $LIVE_USER_HOME/.config/autostart/tracker-$d.desktop
|
||||
done
|
||||
fi
|
@ -0,0 +1,5 @@
|
||||
label vncconnect
|
||||
menu label Install @relname@ (headless with DHCP+VNC client) (edit to set server IP address)
|
||||
kernel alt0/vmlinuz
|
||||
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncconnect=IP
|
||||
|
@ -0,0 +1,5 @@
|
||||
label vncpasswd
|
||||
menu label Install @relname@ (headless with DHCP+VNC) (password VNCPWD)
|
||||
kernel alt0/vmlinuz
|
||||
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncpassword=VNCPWD
|
||||
|
@ -1,5 +1,5 @@
|
||||
label vncconnect
|
||||
menu label ^VNC install (<Tab>, IP of vncviewer --listen)
|
||||
menu label ^VNC install (headless with DHCP+VNC client) (edit to set server IP address)
|
||||
kernel alt0/vmlinuz
|
||||
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless vncconnect=IP
|
||||
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncconnect=IP
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
label vncpasswd
|
||||
menu label VNC install (<Tab>, set pass^word and connect here)
|
||||
menu label ^VNC install (headless with DHCP+VNC) (password VNCPWD)
|
||||
kernel alt0/vmlinuz
|
||||
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless vncpasswd=VNCPWD
|
||||
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncpassword=VNCPWD
|
||||
|
||||
|
@ -1,13 +1,26 @@
|
||||
# default is plain text prompt
|
||||
# NB: might be usbflash-ready hybrid iso
|
||||
|
||||
# on ppc64le syslinux feature is used only to generate config
|
||||
ifeq (,$(filter-out i586 x86_64 ppc64le aarch64,$(ARCH)))
|
||||
|
||||
use/syslinux: sub/stage1 $(ISOHYBRID:%=use/isohybrid)
|
||||
@$(call add_feature)
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
@$(call add,STAGE1_PACKAGES,syslinux)
|
||||
@$(call try,META_SYSTEM_ID,SYSLINUX)
|
||||
@$(call try,BOOTVGA,normal)
|
||||
@$(call add,SYSLINUX_FILES,/usr/lib/syslinux/pxelinux.0)
|
||||
endif
|
||||
@$(call try,META_SYSTEM_ID,SYSLINUX)
|
||||
@$(call set,RELNAME,ALT ($(IMAGE_NAME)))
|
||||
@$(call set,IMAGE_PACKTYPE,boot)
|
||||
else
|
||||
|
||||
use/syslinux: ; @:
|
||||
|
||||
endif
|
||||
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
# UI is overwritten
|
||||
use/syslinux/ui/%: use/syslinux
|
||||
@$(call set,SYSLINUX_UI,$*)
|
||||
@ -15,6 +28,9 @@ use/syslinux/ui/%: use/syslinux
|
||||
$(call add,STAGE1_PACKAGES,gfxboot); \
|
||||
$(call add,STAGE1_BRANDING,bootloader); \
|
||||
fi
|
||||
else
|
||||
use/syslinux/ui/%: use/syslinux; @:
|
||||
endif
|
||||
|
||||
# modules and config snippets just add up
|
||||
use/syslinux/%.com use/syslinux/%.c32: use/syslinux
|
||||
@ -23,5 +39,11 @@ use/syslinux/%.com use/syslinux/%.c32: use/syslinux
|
||||
use/syslinux/%.cfg: use/syslinux
|
||||
@$(call add,SYSLINUX_CFG,$*)
|
||||
|
||||
ifeq (,$(filter-out ppc64le aarch64,$(ARCH)))
|
||||
use/syslinux/localboot.cfg use/syslinux/removable.cfg use/syslinux/lateboot.cfg use/syslinux/sdab.cfg: use/syslinux; @:
|
||||
use/syslinux/install-vnc-connect.cfg: use/syslinux/grub-install-vnc-connect.cfg; @:
|
||||
use/syslinux/install-vnc-listen.cfg: use/syslinux/grub-install-vnc-listen.cfg; @:
|
||||
endif
|
||||
|
||||
use/syslinux/timeout/%: use/syslinux
|
||||
@$(call set,SYSLINUX_TIMEOUT,$*)
|
||||
|
@ -1 +0,0 @@
|
||||
BOOT_TYPE := isolinux
|
@ -5,10 +5,16 @@
|
||||
|
||||
cd "$WORKDIR"
|
||||
|
||||
cfgs="$(find syslinux boot/grub EFI/BOOT -name '*.cfg')"
|
||||
[ -n "$cfgs" ] || {
|
||||
echo "${0##*/}: did not find any config under /syslinux or /boot/grub or EFI/BOOT " >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
# apply size census while looking for potential squashfs images
|
||||
find -maxdepth 1 -type f -size +1M \
|
||||
| sed 's,^\./,,' \
|
||||
| while read image; do
|
||||
size="$[ $(stat -c%s "$image") / 1024 + 1 ]"
|
||||
sed -i "s,@${image}_size@,$size," syslinux/*.cfg
|
||||
sed -i "s,@${image}_size@,$size," $cfgs
|
||||
done
|
||||
|
@ -10,7 +10,7 @@ cd "$WORKDIR/syslinux"
|
||||
|
||||
# validate just in case (see also stage1 Makefile)
|
||||
case "$GLOBAL_BOOTLOADER" in
|
||||
isolinux|syslinux) ;;
|
||||
isolinux|syslinux|ieee1275boot|grubaa64boot) ;;
|
||||
*) echo "error: weird GLOBAL_BOOTLOADER: \`$GLOBAL_BOOTLOADER'" >&2;
|
||||
exit 1;;
|
||||
esac
|
||||
|
@ -7,8 +7,8 @@ ifeq (distro,$(IMAGE_CLASS))
|
||||
@$(call add,BASE_PACKAGES,installer-feature-serial-stage3)
|
||||
endif
|
||||
|
||||
use/tty/S0: use/tty
|
||||
use/tty/S0 use/tty/SI0 use/tty/AMA0: use/tty/%: use/tty
|
||||
@$(call add,THE_PACKAGES,agetty)
|
||||
@$(call add,TTY_DEV,ttyS0)
|
||||
@$(call add,TTY_DEV,tty$*)
|
||||
@$(call set,TTY_RATE,115200)
|
||||
@$(call add,SYSLINUX_CFG,ttyS0)
|
||||
@$(call add,SYSLINUX_CFG,tty$*)
|
||||
|
1
features.in/uboot/README
Normal file
1
features.in/uboot/README
Normal file
@ -0,0 +1 @@
|
||||
Настраивает систему для использования загрузчика uboot.
|
3
features.in/uboot/config.mk
Normal file
3
features.in/uboot/config.mk
Normal file
@ -0,0 +1,3 @@
|
||||
use/uboot: use/kernel
|
||||
@$(call add_feature)
|
||||
@$(call add,THE_LISTS,singleboard-tools)
|
19
features.in/uboot/image-scripts.d/00-uboot-prepare
Executable file
19
features.in/uboot/image-scripts.d/00-uboot-prepare
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ "$GLOBAL_BASE_BOOTLOADER" = 'uboot' ] || exit 0
|
||||
|
||||
# installkernel relies on existing extlinux.conf
|
||||
# with filled in `default' label
|
||||
mkdir -p /boot/extlinux
|
||||
cat > /boot/extlinux/extlinux.conf << EOF
|
||||
menu title ALTLinux Boot Options
|
||||
|
||||
default linux
|
||||
timeout 20
|
||||
|
||||
label linux
|
||||
kernel /boot/vmlinuz
|
||||
initrd /boot/initrd.img
|
||||
fdtdir /boot/dtb
|
||||
append root=LABEL=ROOT ro cma=192M console=tty1
|
||||
EOF
|
12
features.in/uboot/image-scripts.d/90-uboot-config-install
Executable file
12
features.in/uboot/image-scripts.d/90-uboot-config-install
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
kver="$(rpm -qa 'kernel-image*' \
|
||||
--qf '%{installtime} %{version}-%{name}-%{release}\n' \
|
||||
| sort -n \
|
||||
| cut -f 2 -d ' ' \
|
||||
| sed 's/kernel-image-//')"
|
||||
|
||||
[ -n "$kver" ] || { echo "** unable to deduce kernel version" >&2; exit 1; }
|
||||
|
||||
/sbin/installkernel --uboot --keep-initrd "$kver"
|
||||
printf 'LABEL=ROOT\t/\text4\tdefaults\t1 1\n' >> /etc/fstab
|
@ -1,5 +1,5 @@
|
||||
# various VM guest modules/tools
|
||||
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
|
||||
ifeq (,$(filter-out i586 x86_64 aarch64 armh ppc64le,$(ARCH)))
|
||||
|
||||
use/vmguest:
|
||||
@$(call add_feature)
|
||||
@ -9,15 +9,13 @@ use/vmguest:
|
||||
use/vmguest/kvm: use/vmguest
|
||||
@$(call add,THE_PACKAGES,qemu-guest-agent)
|
||||
|
||||
ifeq (,$(filter-out aarch64,$(ARCH)))
|
||||
+vmguest: use/vmguest/kvm; @:
|
||||
endif
|
||||
use/vmguest/kvm/x11: use/vmguest/kvm
|
||||
@$(call add,THE_PACKAGES,spice-vdagent xorg-drv-qxl)
|
||||
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
|
||||
+vmguest: use/vmguest/complete; @:
|
||||
|
||||
use/vmguest/base: use/vmguest/vbox use/vmguest/vmware use/vmguest/kvm; @:
|
||||
use/vmguest/bare: use/vmguest/vbox use/vmguest/kvm; @:
|
||||
use/vmguest/base: use/vmguest/bare use/vmguest/vmware; @:
|
||||
use/vmguest/complete: use/vmguest/base \
|
||||
use/vmguest/vbox/x11 use/vmguest/vmware/x11 use/vmguest/kvm/x11; @:
|
||||
|
||||
@ -28,9 +26,6 @@ use/vmguest/vbox/x11: use/vmguest/vbox
|
||||
@$(call add,THE_KMODULES,drm)
|
||||
@$(call add,THE_PACKAGES,virtualbox-guest-additions)
|
||||
|
||||
use/vmguest/kvm/x11: use/vmguest/kvm
|
||||
@$(call add,THE_PACKAGES,spice-vdagent xorg-drv-qxl)
|
||||
|
||||
# see also use/install2/vmware
|
||||
use/vmguest/vmware:
|
||||
@$(call add,THE_KMODULES,vmware)
|
||||
@ -42,8 +37,21 @@ use/vmguest/vmware/x11: use/vmguest/vmware
|
||||
|
||||
else
|
||||
|
||||
# non-x86
|
||||
use/vmguest/bare: use/vmguest/kvm; @:
|
||||
use/vmguest/base: use/vmguest/bare; @:
|
||||
use/vmguest/complete: use/vmguest/base use/vmguest/kvm/x11; @:
|
||||
|
||||
use/vmguest/base: use/vmguest/kvm
|
||||
endif
|
||||
|
||||
else
|
||||
|
||||
# kvm-unsupported guest arch
|
||||
+vmguest: ;@:
|
||||
use/vmguest/bare: ; @:
|
||||
use/vmguest/base: ; @:
|
||||
use/vmguest/complete: ; @:
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
+vmguest: use/vmguest/complete; @:
|
||||
|
@ -54,15 +54,21 @@ fi
|
||||
## lightdm autologin
|
||||
LIGHTDM_CONF=/etc/lightdm/lightdm.conf
|
||||
if [ -f "$LIGHTDM_CONF" ]; then
|
||||
backup "$LIGHTDM_CONF"
|
||||
sed -i \
|
||||
-e "s/^#\(autologin-user=\).*$/\1$USER/" \
|
||||
-e "s/^#\(autologin-user-timeout=0\)/\1/" \
|
||||
"$LIGHTDM_CONF"
|
||||
mkdir -p /etc/lightdm/lightdm.conf.d
|
||||
cat > /etc/lightdm/lightdm.conf.d/autologin.conf <<AUTOLOGIN_LIGHTDM
|
||||
[Seat:*]
|
||||
autologin-user=altlinux
|
||||
autologin-user-timeout=0
|
||||
AUTOLOGIN_LIGHTDM
|
||||
default_session="$(ls -1 /usr/share/xsessions/*.desktop | sed -n 's/^.*\/\([^/]\+\)\.desktop$/\1/;1p')"
|
||||
if [ -n "$default_session" ]; then
|
||||
echo "autologin-session=$default_session" >> /etc/lightdm/lightdm.conf.d/autologin.conf
|
||||
else
|
||||
echo "** WARNING: no sessions found in /usr/share/xsessions/" >&2
|
||||
fi
|
||||
backup "/etc/group"
|
||||
add_nopasswdlogin_group lightdm ||:
|
||||
|
||||
restore_later "$LIGHTDM_CONF"
|
||||
restore_later "/etc/group"
|
||||
fi
|
||||
|
||||
|
@ -23,8 +23,12 @@ use/x11/intel: use/x11
|
||||
@$(call add,THE_PACKAGES,xorg-drv-intel)
|
||||
@$(call add,THE_PACKAGES,xorg-dri-intel) ### #25044
|
||||
|
||||
ifeq (,$(filter-out armh aarch64,$(ARCH)))
|
||||
use/x11/armsoc: use/x11 use/firmware
|
||||
@$(call add,THE_PACKAGES,xorg-dri-armsoc)
|
||||
else
|
||||
use/x11/armsoc: use/x11; @:
|
||||
endif
|
||||
|
||||
# for those cases when no 3D means no use at all
|
||||
# NB: blobs won't Just Work (TM) along with nouveau/radeon
|
||||
@ -39,11 +43,11 @@ use/x11/nouveau: use/x11 use/firmware
|
||||
# has performance problems but is getting better, just not there yet
|
||||
use/x11/radeon: use/x11 use/firmware
|
||||
@$(call set,RADEON_KMODULES,drm-radeon)
|
||||
@$(call set,RADEON_PACKAGES,xorg-drv-ati xorg-drv-radeon)
|
||||
@$(call add,RADEON_PACKAGES,xorg-drv-ati xorg-drv-radeon)
|
||||
|
||||
# here's the future
|
||||
use/x11/amdgpu: use/x11 use/firmware
|
||||
@$(call set,RADEON_PACKAGES,xorg-drv-amdgpu)
|
||||
@$(call add,RADEON_PACKAGES,xorg-drv-amdgpu)
|
||||
|
||||
# Vulkan is new and bleeding edge, only intel and amgpu(pro?)
|
||||
use/x11/vulkan: use/x11/intel use/x11/amdgpu
|
||||
@ -70,16 +74,23 @@ use/x11/wacom: use/x11
|
||||
use/x11/dm: use/x11-autostart
|
||||
@$(call try,THE_DISPLAY_MANAGER,xdm)
|
||||
@$(call add,THE_PACKAGES,$$(THE_DISPLAY_MANAGER))
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,$$(THE_DM_SERVICE))
|
||||
|
||||
use/x11/lightdm/gtk use/x11/lightdm/slick \
|
||||
use/x11/lightdm/qt use/x11/lightdm/lxqt use/x11/lightdm/kde: \
|
||||
use/x11/lightdm/%: use/x11/dm
|
||||
@$(call set,THE_DISPLAY_MANAGER,lightdm-$*-greeter)
|
||||
@$(call set,THE_DM_SERVICE,lightdm)
|
||||
|
||||
use/x11/sddm use/x11/lxdm use/x11/gdm2.20 use/x11/gdm: \
|
||||
use/x11/lxdm use/x11/gdm2.20 use/x11/sddm: \
|
||||
use/x11/%: use/x11/dm
|
||||
@$(call set,THE_DISPLAY_MANAGER,$*)
|
||||
|
||||
use/x11/gdm: \
|
||||
use/x11/%: use/x11/dm
|
||||
@$(call set,THE_DISPLAY_MANAGER,$*)
|
||||
@$(call set,THE_DM_SERVICE,$*)
|
||||
|
||||
use/x11/xdm: use/x11/dm
|
||||
@$(call set,THE_DISPLAY_MANAGER,xdm)
|
||||
@$(call add,THE_PACKAGES,installer-feature-no-xconsole-stage3)
|
||||
@ -147,4 +158,4 @@ use/x11/leechcraft: use/x11
|
||||
@$(call add,THE_PACKAGES,leechcraft)
|
||||
|
||||
use/x11/kde5: use/x11/xorg use/x11/kde/synaptic
|
||||
@$(call add,THE_PACKAGES,kde5-maxi kf5-i18n-ru kde5-i18n-ru)
|
||||
@$(call add,THE_PACKAGES,kde5-maxi)
|
||||
|
@ -2,7 +2,7 @@
|
||||
PKGDIR ?= $(GLOBAL_BUILDDIR)/pkg
|
||||
|
||||
# duplicated from metaprofile makefiles for the sake of "local" builds
|
||||
ARCH ?= $(shell arch | sed 's/i686/i586/; s/armv.*/arm/; s/ppc.*/ppc/')
|
||||
ARCH ?= $(shell arch | sed 's/i686/i586/; s/armv.*/arm/')
|
||||
DATE ?= $(shell date +%Y%m%d)
|
||||
|
||||
# prefix pkglist name with its directory to form a path (relative/absolute)
|
||||
|
12
lib/boot.mk
12
lib/boot.mk
@ -10,10 +10,22 @@ boot/iso: use/syslinux
|
||||
@$(call set,BOOTLOADER,isolinux)
|
||||
endif
|
||||
|
||||
# install aarch64 media bootloader
|
||||
ifeq (,$(filter-out aarch64,$(ARCH)))
|
||||
boot/iso:
|
||||
@$(call set,BOOTLOADER,grubaa64boot)
|
||||
endif
|
||||
|
||||
# firmware is the bootloader
|
||||
ifeq (,$(filter-out e2k%,$(ARCH)))
|
||||
boot/iso:
|
||||
@$(call set,BOOTLOADER,e2k-boot)
|
||||
endif
|
||||
|
||||
# install bootloader for Open Boot (IEEE1275)
|
||||
ifeq (,$(filter-out ppc64le,$(ARCH)))
|
||||
boot/iso:
|
||||
@$(call set,BOOTLOADER,ieee1275boot)
|
||||
endif
|
||||
|
||||
endif
|
||||
|
7
pkg.in/groups/education/01_preschool.directory
Normal file
7
pkg.in/groups/education/01_preschool.directory
Normal file
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Preschool education
|
||||
X-Alterator-PackageList=education/preschool
|
||||
Name[ru_RU]=Дошкольное образование
|
||||
|
7
pkg.in/groups/education/02_gradeschool.directory
Normal file
7
pkg.in/groups/education/02_gradeschool.directory
Normal file
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Grade school edication
|
||||
X-Alterator-PackageList=education/gradeschool
|
||||
Name[ru_RU]=Начальная школа
|
||||
|
7
pkg.in/groups/education/03_highschool.directory
Normal file
7
pkg.in/groups/education/03_highschool.directory
Normal file
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=High school education
|
||||
X-Alterator-PackageList=education/highschool
|
||||
Name[ru_RU]=Средняя школа
|
||||
|
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Secondary vocational education
|
||||
X-Alterator-PackageList=education/secondary_vocational
|
||||
Name[ru_RU]=Среднее профессиональное образование
|
||||
|
7
pkg.in/groups/education/05_university.directory
Normal file
7
pkg.in/groups/education/05_university.directory
Normal file
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=University education
|
||||
X-Alterator-PackageList=education/university
|
||||
Name[ru_RU]=Высшее образование
|
||||
|
7
pkg.in/groups/education/kde5.directory
Normal file
7
pkg.in/groups/education/kde5.directory
Normal file
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=KDE 5 environment
|
||||
X-Alterator-PackageList=education/kde5
|
||||
Name[ru_RU]=Среда KDE 5
|
||||
|
7
pkg.in/groups/education/server-apps-edu.directory
Normal file
7
pkg.in/groups/education/server-apps-edu.directory
Normal file
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Server applications
|
||||
X-Alterator-PackageList=education/server-apps-edu
|
||||
X-Alterator-Required=no
|
||||
Name[ru_RU]=Серверные приложения
|
7
pkg.in/groups/education/teacher.directory
Normal file
7
pkg.in/groups/education/teacher.directory
Normal file
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Applications for teacher
|
||||
X-Alterator-PackageList=education/teacher
|
||||
Name[ru_RU]=Программы для учителя
|
||||
|
@ -1,8 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Block Storage Node
|
||||
X-Alterator-PackageList=openstack/block
|
||||
X-Alterator-Required=no
|
||||
Name[ru_RU]=Узел хранения блочных устройств
|
||||
|
@ -1,9 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Computing Node
|
||||
X-Alterator-PackageList=openstack/compute
|
||||
X-Alterator-Required=no
|
||||
X-Alterator-Conflicts=openstack/block openstack/controller openstack/network openstack/storage
|
||||
Name[ru_RU]=Вычислительный узел
|
||||
|
@ -1,8 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Controller Node
|
||||
X-Alterator-PackageList=openstack/controller
|
||||
X-Alterator-Required=no
|
||||
Name[ru_RU]=Управляющий узел
|
||||
|
@ -1,8 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Network Node
|
||||
X-Alterator-PackageList=openstack/network
|
||||
X-Alterator-Required=no
|
||||
Name[ru_RU]=Сетевой узел
|
||||
|
@ -1,8 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Storage Node
|
||||
X-Alterator-PackageList=openstack/storage
|
||||
X-Alterator-Required=no
|
||||
Name[ru_RU]=Узел хранения объектов
|
||||
|
9
pkg.in/groups/server-v/110-opennebula.directory
Normal file
9
pkg.in/groups/server-v/110-opennebula.directory
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=OpenNebula
|
||||
Name[ru_RU]=OpenNebula
|
||||
X-Alterator-Required=no
|
||||
X-Alterator-Conflicts=server-virt/120-openstack server-v/130-pve
|
||||
Comment=OpenNebula solution to build Private Clouds and manage Data Center virtualization
|
||||
Comment[ru_RU]=Opennebula это решение для построения частного облака и управления виртуальным центром обработки данных
|
9
pkg.in/groups/server-v/120-openstack.directory
Normal file
9
pkg.in/groups/server-v/120-openstack.directory
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=OpenStack
|
||||
Name[ru_RU]=OpenStack
|
||||
X-Alterator-Required=no
|
||||
X-Alterator-Conflicts=server-virt/110-opennebula server-v/130-pve
|
||||
Comment=OpenStack is a cloud operating system
|
||||
Comment[ru_RU]=Комплекс проектов для создания инфраструктурных облачных сервисов
|
9
pkg.in/groups/server-v/130-pve.directory
Normal file
9
pkg.in/groups/server-v/130-pve.directory
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=PVE
|
||||
Name[ru_RU]=PVE
|
||||
X-Alterator-Required=no
|
||||
X-Alterator-Conflicts=server-virt/110-opennebula server-virt/120-openstack server-v/140-basic
|
||||
Comment=Proxmox Virtual Environment
|
||||
Comment[ru_RU]=Виртуальное Окружение Proxmox
|
8
pkg.in/groups/server-v/140-basic.directory
Normal file
8
pkg.in/groups/server-v/140-basic.directory
Normal file
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Basic Virtualization
|
||||
Name[ru_RU]=Базовая виртуализация
|
||||
X-Alterator-Required=no
|
||||
Comment=Basic Virtualization Utils (qemu+libvirt)
|
||||
Comment[ru_RU]=Минимальный набор приложений(qemu+libvirt) для виртуализации
|
9
pkg.in/groups/server-v/141-cockpit.directory
Normal file
9
pkg.in/groups/server-v/141-cockpit.directory
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Cockpit Server admin interface
|
||||
Name[ru_RU]=Cockpit интерфейс управления сервером
|
||||
Comment=Cockpit is an interactive server admin interface
|
||||
Comment[ru_RU]=Cockpit это интерактивный интерфейс управления сервером
|
||||
X-Alterator-Required=no
|
||||
X-Alterator-Parent=server-v/140-basic
|
8
pkg.in/groups/server-v/200-container.directory
Normal file
8
pkg.in/groups/server-v/200-container.directory
Normal file
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Containers
|
||||
Name[ru_RU]=Контейнеры
|
||||
X-Alterator-Required=no
|
||||
Comment=Container Virtualization
|
||||
Comment[ru_RU]=Приложения для управления контейнерной виртуализацией
|
8
pkg.in/groups/server-v/300-cluster.directory
Normal file
8
pkg.in/groups/server-v/300-cluster.directory
Normal file
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=HA Cluster
|
||||
Name[ru_RU]=Кластер высокой доступности
|
||||
X-Alterator-Required=no
|
||||
Comment=High Availability Cluster
|
||||
Comment[ru_RU]=Приложения для организации кластера высокой доступности
|
8
pkg.in/groups/server-v/400-storage.directory
Normal file
8
pkg.in/groups/server-v/400-storage.directory
Normal file
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=Storage
|
||||
Name[ru_RU]=Хранение данных
|
||||
X-Alterator-Required=no
|
||||
Comment=Storage
|
||||
Comment[ru_RU]=Дополнительные приложения для хранение данных
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user