Compare commits
92 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f10f3b18db | ||
|
6139571a8b | ||
|
d3a39f2168 | ||
|
867b2f65c9 | ||
|
13094e7901 | ||
|
18e6406588 | ||
|
f7a97306fb | ||
|
92ff4c1cc8 | ||
|
ba2ca7e578 | ||
|
971732bfe6 | ||
|
acf17cd785 | ||
|
6fa08c52e7 | ||
|
8645219667 | ||
|
a89fff3c6a | ||
|
8fc64a023f | ||
|
5fd2be3edd | ||
|
cbf8426add | ||
|
e5fdaacc94 | ||
|
91466e6643 | ||
|
375e1afe34 | ||
|
eb569544ca | ||
|
77f1459f52 | ||
|
28f7f9be27 | ||
|
cec6b26207 | ||
|
96bdf36935 | ||
|
c12f0c17bc | ||
|
5834dac8c8 | ||
|
6a554e21ab | ||
|
313b279d40 | ||
|
ad264c7033 | ||
|
ec8bcac5ff | ||
|
3161ec500b | ||
|
458d72b8c3 | ||
|
d83eb78762 | ||
|
61ead13d3a | ||
|
d9ae996571 | ||
|
5fcc2aaa78 | ||
|
e46c259a90 | ||
|
692f8ec010 | ||
|
423c250ec8 | ||
|
de6598a6d9 | ||
|
c133f161bf | ||
|
b3b09f55c0 | ||
|
e7fa4c466a | ||
|
a8819db073 | ||
|
efd06839f7 | ||
|
7603f0728a | ||
|
1eb0dbc534 | ||
|
aef58a4d60 | ||
|
67c224fc67 | ||
|
6a4ede8ccd | ||
|
8e668d4ff2 | ||
|
6d8cbcb61d | ||
|
2d3e5f2b1c | ||
|
fc061fba0c | ||
|
0f4e72cf79 | ||
|
9e776e3ade | ||
|
671c788e3a | ||
|
f576b01988 | ||
|
40e680e50d | ||
|
fd461c7dd1 | ||
|
0d524763ed | ||
|
bee01a86cd | ||
|
75c08d9f3c | ||
|
b74ad4d592 | ||
|
29a94eaf23 | ||
|
47c4dea456 | ||
|
ff1f5987b9 | ||
|
f5893f398a | ||
|
5810c0e7d2 | ||
|
91a817a0a5 | ||
|
b603622dcd | ||
|
dd140074b9 | ||
|
915f2c2051 | ||
|
84be7f5b0e | ||
|
d004d09c7c | ||
|
0ba8d3fbae | ||
|
12470e01cc | ||
|
cbbfddf86a | ||
|
57168fe705 | ||
|
32b492c0c9 | ||
|
25eba198f8 | ||
|
2e2c7082a6 | ||
|
eaee7b9378 | ||
|
9ff596db7f | ||
|
31b74b1272 | ||
|
31d694f18b | ||
|
146d1b0fe2 | ||
|
e5619e904f | ||
|
2ff873eb73 | ||
|
fbd3460684 | ||
|
eb2489fe89 |
@@ -1,5 +1,5 @@
|
||||
Name: mkimage-profiles
|
||||
Version: 0.9.4
|
||||
Version: 0.9.8.1
|
||||
Release: alt1
|
||||
|
||||
Summary: ALT Linux based distribution metaprofile
|
||||
@@ -78,6 +78,21 @@ cp -a * %buildroot%mpdir
|
||||
%doc %docs/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 19 2013 Michael Shigorin <mike@altlinux.org> 0.9.8.1-alt1
|
||||
- works with make-initrd 0.8.1+ (see #28578)
|
||||
|
||||
* Mon Feb 18 2013 Michael Shigorin <mike@altlinux.org> 0.9.8-alt1
|
||||
- live fixes/tweaks galore
|
||||
|
||||
* Mon Feb 11 2013 Michael Shigorin <mike@altlinux.org> 0.9.7-alt1
|
||||
- going nightly
|
||||
|
||||
* Mon Feb 04 2013 Michael Shigorin <mike@altlinux.org> 0.9.6-alt1
|
||||
- assorted fixes
|
||||
|
||||
* Mon Jan 21 2013 Michael Shigorin <mike@altlinux.org> 0.9.5-alt1
|
||||
- homeros
|
||||
|
||||
* Mon Jan 14 2013 Michael Shigorin <mike@altlinux.org> 0.9.4-alt1
|
||||
- restricted boot
|
||||
|
||||
|
6
.gear/tags/9f5450c9dc242a2ea3e07973a06f6c8821ed4672
Normal file
6
.gear/tags/9f5450c9dc242a2ea3e07973a06f6c8821ed4672
Normal file
@@ -0,0 +1,6 @@
|
||||
object 867b2f65c9b571ab54a4bc7e158bcaaa3d80756b
|
||||
type commit
|
||||
tag v0.9.8
|
||||
tagger Michael Shigorin <mike@altlinux.org> 1361217242 +0200
|
||||
|
||||
live fixes
|
@@ -1,6 +0,0 @@
|
||||
object 29388ef555bcc2811d5713e3b6b8a22413f9e1c7
|
||||
type commit
|
||||
tag v0.9.3
|
||||
tagger Michael Shigorin <mike@altlinux.org> 1356984082 +0200
|
||||
|
||||
regular
|
@@ -1 +1 @@
|
||||
e0c9f3e51f9d4cf7dd205a0f15586d5866e1eaf2 v0.9.3
|
||||
9f5450c9dc242a2ea3e07973a06f6c8821ed4672 v0.9.8
|
||||
|
@@ -3,13 +3,19 @@
|
||||
|
||||
. shell-error
|
||||
|
||||
INIT=
|
||||
if [ "$1" = "-i" ]; then
|
||||
INIT=yes
|
||||
shift
|
||||
fi
|
||||
|
||||
[ -d "$1" ] || fatal "$1 is not an existing directory"
|
||||
|
||||
if type -t git >&/dev/null && pushd "$1" >/dev/null; then
|
||||
if [ -z "$(git config --global user.name)" ]; then
|
||||
exit 0
|
||||
fi
|
||||
if [ ! -d .git ]; then
|
||||
if [ -n "$INIT" -a ! -d .git ]; then
|
||||
git init -q || fatal "git init failed"
|
||||
fi
|
||||
if [ -n "$(git status -s)" ]; then
|
||||
|
@@ -17,7 +17,7 @@ distro/.desktop-extra:
|
||||
distro/tde: distro/.desktop-mini +tde
|
||||
@$(call set,KFLAVOURS,led-ws)
|
||||
|
||||
distro/kde-lite: distro/.desktop-mini distro/.desktop-network distro/.desktop-extra +kde
|
||||
distro/kde4-lite: distro/.desktop-mini distro/.desktop-network distro/.desktop-extra +kde4-lite
|
||||
@$(call set,KFLAVOURS,std-def)
|
||||
|
||||
distro/icewm: distro/.desktop-network use/lowmem use/install2/fs +icewm; @:
|
||||
|
6
conf.d/homeros.mk
Normal file
6
conf.d/homeros.mk
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
|
||||
distro/homeros-mini: distro/.live-base use/live/textinstall use/homeros; @:
|
||||
|
||||
endif
|
@@ -2,16 +2,17 @@
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
|
||||
distro/dos: distro/.init use/dos use/syslinux/ui/menu; @:
|
||||
distro/rescue: distro/.base use/rescue use/efi use/syslinux/ui/menu; @:
|
||||
distro/rescue: distro/.base use/rescue use/efi/signed use/syslinux/ui/menu; @:
|
||||
distro/syslinux: distro/.init \
|
||||
use/syslinux/localboot.cfg use/syslinux/ui/vesamenu use/hdt; @:
|
||||
|
||||
distro/.live-base: distro/.base use/live/base use/power/acpi/button; @:
|
||||
distro/.live-desktop: distro/.base +live use/plymouth/live; @:
|
||||
distro/.live-desktop: distro/.base +live use/live/install use/live/net-eth \
|
||||
use/plymouth/live use/efi; @:
|
||||
distro/.live-desktop-ru: distro/.live-desktop use/live/ru; @:
|
||||
|
||||
distro/.live-kiosk: distro/.base use/live/base use/live/autologin \
|
||||
use/syslinux/timeout/1 use/cleanup +power
|
||||
distro/.live-kiosk: distro/.base use/live/base use/live/autologin +power \
|
||||
use/syslinux/timeout/1 use/cleanup use/efi/signed use/live/net-eth
|
||||
@$(call add,LIVE_PACKAGES,fonts-ttf-dejavu)
|
||||
@$(call add,CLEANUP_PACKAGES,'alterator*' 'guile*' 'vim-common')
|
||||
|
||||
@@ -31,9 +32,10 @@ distro/live-builder: distro/live-builder-mini use/dev/repo
|
||||
distro/live-install: distro/.live-base use/live/textinstall; @:
|
||||
distro/.livecd-install: distro/.live-base use/live/install; @:
|
||||
|
||||
distro/live-icewm: distro/.live-desktop use/live/autologin +icewm; @:
|
||||
distro/live-razorqt: distro/.live-desktop use/live/autologin +razorqt; @:
|
||||
distro/live-icewm: distro/.live-desktop use/x11/lightdm/gtk +icewm; @:
|
||||
distro/live-razorqt: distro/.live-desktop +razorqt; @:
|
||||
distro/live-tde: distro/.live-desktop-ru use/live/install +tde; @:
|
||||
distro/live-fvwm: distro/.live-desktop-ru use/x11/lightdm/gtk use/x11/fvwm; @:
|
||||
|
||||
distro/live-rescue: distro/live-icewm use/efi
|
||||
@$(call add,LIVE_LISTS,$(call tags,rescue && (fs || live || x11)))
|
||||
@@ -42,9 +44,9 @@ distro/live-rescue: distro/live-icewm use/efi
|
||||
|
||||
distro/live-webkiosk-mini: distro/.live-kiosk use/live/hooks use/live/ru
|
||||
@$(call add,LIVE_LISTS,$(call tags,desktop && (live || network)))
|
||||
@$(call add,LIVE_PACKAGES,livecd-webkiosk)
|
||||
@$(call add,LIVE_PACKAGES,livecd-webkiosk-firefox)
|
||||
@$(call add,CLEANUP_PACKAGES,'libqt4*' 'qt4*')
|
||||
@$(call set,KFLAVOURS,led-ws)
|
||||
@#$(call set,KFLAVOURS,led-ws)
|
||||
|
||||
# NB: flash/java plugins are predictable security holes
|
||||
distro/live-webkiosk-flash: distro/live-webkiosk-mini use/plymouth/live +vmguest
|
||||
|
@@ -3,43 +3,47 @@ ifeq (distro,$(IMAGE_CLASS))
|
||||
|
||||
# TODO: use/plymouth/live when luks+plymouth is done, see also #28255
|
||||
distro/.regular-desktop: distro/.base +live +wireless use/live/ru \
|
||||
use/live/install use/live/repo use/x11/3d-free use/systemd \
|
||||
use/firmware/wireless use/efi/signed use/luks \
|
||||
use/live/install use/live/repo use/live/net-eth use/x11/3d-free \
|
||||
use/systemd use/firmware/wireless use/efi/signed use/luks \
|
||||
+vmguest use/memtest use/branding use/syslinux/ui/gfxboot
|
||||
@$(call add,LIVE_PACKAGES,openssh strace alterator-standalone)
|
||||
@$(call add,LIVE_PACKAGES,cpufreq-simple)
|
||||
@$(call add,LIVE_PACKAGES,livecd-online-repo apt-repo)
|
||||
@$(call add,LIVE_PACKAGES,xdg-user-dirs)
|
||||
@$(call add,LIVE_PACKAGES,synaptic-usermode)
|
||||
@$(call add,LIVE_PACKAGES,firefox-ru)
|
||||
@$(call add,LIVE_PACKAGES,net-tools)
|
||||
@$(call add,LIVE_PACKAGES,uvcview)
|
||||
@$(call add,LIVE_PACKAGES,powertop)
|
||||
@$(call add,LIVE_LISTS,$(call tags,base regular))
|
||||
@$(call add,LIVE_LISTS,$(call tags,rescue extra))
|
||||
@$(call add,LIVE_LISTS,domain-client)
|
||||
@$(call add,THE_BRANDING,indexhtml notes alterator bootloader)
|
||||
@$(call set,KFLAVOURS,std-def)
|
||||
@$(call add,KMODULES,r8168)
|
||||
@$(call try,SAVE_PROFILE,yes)
|
||||
|
||||
distro/.regular-gtk: distro/.regular-desktop use/x11/gdm2.20; @:
|
||||
distro/.regular-gtk: distro/.regular-desktop use/x11/lightdm/gtk +plymouth; @:
|
||||
@$(call add,THE_BRANDING,graphics)
|
||||
|
||||
distro/regular-icewm: distro/.regular-gtk +icewm use/efi/refind
|
||||
@$(call add,LIVE_PACKAGES,xxkb mutt)
|
||||
|
||||
distro/regular-icewm: distro/.regular-gtk +icewm use/efi/refind; @:
|
||||
distro/regular-xfce: distro/.regular-gtk use/x11/xfce; @:
|
||||
distro/regular-lxde: distro/.regular-gtk use/x11/lxde; @:
|
||||
|
||||
distro/regular-mate: distro/.regular-gtk
|
||||
@$(call add,LIVE_LISTS,$(call tags,(desktop || mobile) && (mate || nm)))
|
||||
|
||||
distro/regular-e17: distro/.regular-gtk use/x11/e17; @:
|
||||
distro/regular-e17: distro/.regular-gtk use/x11/e17
|
||||
@$(call add,LIVE_PACKAGES,xterm xorg-xnest)
|
||||
@$(call add,THE_KMODULES,sound)
|
||||
|
||||
distro/regular-cinnamon: distro/.regular-desktop use/x11/cinnamon
|
||||
@$(call set,META_VOL_ID,ALT Linux $(IMAGE_NAME)) # see also #28271
|
||||
@$(call add,LIVE_PACKAGES,fontconfig-infinality)
|
||||
|
||||
distro/regular-tde: distro/.regular-desktop +tde
|
||||
distro/regular-gnome3: distro/.regular-desktop use/x11/gnome3; @:
|
||||
|
||||
distro/regular-tde: distro/.regular-desktop +tde +plymouth
|
||||
@$(call add,LIVE_LISTS,$(call tags,desktop nm))
|
||||
@$(call add,LIVE_PACKAGES,kdegames kdeedu)
|
||||
|
||||
distro/regular-kde4: distro/.regular-desktop use/x11/kde4 use/x11/kdm4; @:
|
||||
distro/regular-razorqt: distro/.regular-desktop +razorqt; @:
|
||||
distro/regular-kde4: distro/.regular-desktop use/x11/kde4 use/x11/kdm4 +plymouth
|
||||
@$(call add,LIVE_PACKAGES,kde4-regular)
|
||||
@$(call add,LIVE_PACKAGES,plasma-applet-networkmanager)
|
||||
|
||||
distro/regular-razorqt: distro/.regular-desktop use/x11/razorqt use/x11/kdm4 \
|
||||
+plymouth; @:
|
||||
|
||||
endif
|
||||
|
@@ -11,7 +11,7 @@ distro/server-nano: distro/.server-base \
|
||||
|
||||
distro/server-mini: distro/.server-base use/server/mini \
|
||||
use/cleanup/x11-alterator use/efi
|
||||
@$(call set,KFLAVOURS,led-ws)
|
||||
@$(call add,BASE_PACKAGES,make-initrd-mdadm make-initrd-lvm)
|
||||
|
||||
distro/server-ovz: distro/server-mini use/install2/net use/hdt use/rescue \
|
||||
use/firmware/server use/firmware/wireless use/power/acpi/button
|
||||
|
@@ -19,9 +19,6 @@ distro/live-gns3: distro/live-icewm
|
||||
@$(call add,LIVE_LISTS,gns3)
|
||||
@$(call add,LIVE_KMODULES,kvm virtualbox)
|
||||
|
||||
distro/live-efi: distro/live-install use/efi
|
||||
@$(call set,KFLAVOURS,un-def) ### CONFIG_FB_EFI
|
||||
|
||||
distro/icewm-efi: distro/icewm use/efi/debug use/firmware
|
||||
@$(call add,INSTALL2_PACKAGES,strace)
|
||||
|
||||
|
4
doc/.gitignore
vendored
Normal file
4
doc/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
mkimage-profiles.chunked
|
||||
docbook-xsl.css
|
||||
mkimage-profiles.pdf
|
||||
mkimage-profiles.html
|
@@ -2,7 +2,12 @@
|
||||
|
||||
NB: пути приводятся от верхнего уровня; проект в целом предполагает
|
||||
ALT Linux 6.0+ и GNU make 3.81+ (на которых и разрабатывается),
|
||||
но может быть портирован вместе с mkimage.
|
||||
но может быть портирован вместе с mkimage. Если что-либо не работает
|
||||
или не собирается, стоит проверить на Sisyphus (mkimage, make, hasher,
|
||||
собственно пакетная база), поскольку именно на нём происходит основная
|
||||
разработка mkimage-profiles. Сломанная сборка на текущем стабильном
|
||||
бранче считается ошибкой и подлежит исправлению, если оно технически
|
||||
возможно на базе этого бранча.
|
||||
|
||||
* lib/report.mk
|
||||
** ожидает, что каждая подлежащая трассированию цель каждого
|
||||
|
@@ -8,16 +8,13 @@ BOOT_SYSI := $(META_SYSTEM_ID)
|
||||
BOOT_PUBL := $(META_PUBLISHER)
|
||||
BOOT_PREP := $(META_PREPARER)
|
||||
BOOT_APPI := $(META_APP_ID)
|
||||
BOOT_VOLI := $(META_VOL_ID)
|
||||
BOOT_VOLI := $(shell echo $(META_VOL_ID) | cut -c1-32)
|
||||
BOOT_VOLS := $(META_VOL_SET)
|
||||
BOOT_BIBL := $(META_BIBLIO)
|
||||
BOOT_ABST := $(META_ABSTRACT)
|
||||
|
||||
BOOT_TYPE := isolinux
|
||||
|
||||
# see also ../scripts.d/01-isosort; needs mkimage-0.2.2+
|
||||
MKI_SORTFILE := /tmp/isosort
|
||||
|
||||
all: $(GLOBAL_DEBUG) prep copy-subdirs copy-tree run-scripts pack-image \
|
||||
postprocess $(GLOBAL_CLEAN_WORKDIR)
|
||||
|
||||
|
@@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
# provide mkisofs with image contents sort order hints
|
||||
|
||||
### split over features or leave in a single piece?
|
||||
|
||||
# NB: only a single space/tab in between, no trailing whitespace
|
||||
cat > /tmp/isosort <<__EOF__
|
||||
ALTLinux 0
|
||||
Metadata 100
|
||||
altinst 700
|
||||
rescue 800
|
||||
live 900
|
||||
syslinux 1000
|
||||
__EOF__
|
@@ -1,3 +1,5 @@
|
||||
+efi: use/efi; @:
|
||||
|
||||
ifeq (x86_64,$(ARCH))
|
||||
|
||||
EFI_LISTS := $(call tags,base efi)
|
||||
@@ -7,7 +9,9 @@ use/efi:
|
||||
@$(call set,MKI_VER_MINIMAL,0.2.5) # see #28219
|
||||
@$(call add,THE_LISTS,$(EFI_LISTS))
|
||||
@$(call add,RESCUE_LISTS,$(EFI_LISTS))
|
||||
@$(call add,INSTALL2_PACKAGES,dosfstools)
|
||||
@$(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
|
||||
|
||||
use/efi/refind: use/efi
|
||||
@@ -15,6 +19,13 @@ use/efi/refind: use/efi
|
||||
|
||||
use/efi/signed: use/efi
|
||||
@$(call set,EFI_CERT,altlinux)
|
||||
@$(call add,THE_PACKAGES,shim-signed)
|
||||
@$(call set,EFI_SHELL,efi-shell-signed) # even more useful
|
||||
@$(call add,RESCUE_PACKAGES,refind-signed)
|
||||
@$(call add,RESCUE_PACKAGES,openssl sbsigntools)
|
||||
|
||||
use/efi/shell: use/efi
|
||||
@$(call set,EFI_SHELL,efi-shell)
|
||||
|
||||
use/efi/debug: use/efi
|
||||
@$(call add,STAGE2_PACKAGES,efibootmgr gdisk)
|
||||
@@ -23,6 +34,6 @@ use/efi/debug: use/efi
|
||||
else
|
||||
|
||||
# ignore on an unsupported target arch but make it hybrid at least
|
||||
use/efi use/efi/refind use/efi/signed use/efi/debug: use/isohybrid
|
||||
use/efi use/efi/refind use/efi/signed use/efi/shell use/efi/debug: use/isohybrid
|
||||
|
||||
endif
|
||||
|
@@ -5,6 +5,8 @@
|
||||
use/firmware:
|
||||
@$(call add_feature)
|
||||
@$(call add,SYSTEM_PACKAGES,firmware-linux)
|
||||
@$(call add,THE_PACKAGES,firmware-amd-ucode)
|
||||
@$(call add,THE_PACKAGES,microcode-data-intel microcode_ctl)
|
||||
|
||||
use/firmware/server: use/firmware
|
||||
@$(call add,SYSTEM_PACKAGES,firmware-aic94xx-seq)
|
||||
|
5
features.in/homeros/README
Normal file
5
features.in/homeros/README
Normal file
@@ -0,0 +1,5 @@
|
||||
Каталог содержит основную feature для создания адаптированного
|
||||
дистрибутива Homeros. Это промежуточный вариант, при помощи которого
|
||||
можно получить минимальный разговаривающий образ, но, возможно, помимо
|
||||
его дальнейшего естественного развития требуется ещё осмысление с
|
||||
точки зрения идей mkimage-profiles.
|
10
features.in/homeros/config.mk
Normal file
10
features.in/homeros/config.mk
Normal file
@@ -0,0 +1,10 @@
|
||||
use/homeros:
|
||||
@$(call add_feature)
|
||||
# @$(call set,BRANDING,simply-linux)
|
||||
# @$(call add,THE_BRANDING,menu xfce-settings)
|
||||
@$(call add,THE_LISTS,homeros/voiceman)
|
||||
@$(call add,THE_LISTS,homeros/homeros)
|
||||
@$(call add,THE_LISTS,homeros/tts)
|
||||
@$(call add,THE_LISTS,homeros/yasr)
|
||||
@$(call add,THE_LISTS,homeros/tools)
|
||||
# @$(call set,META_VOL_SET,Homeros)
|
13
features.in/homeros/live/image-scripts.d/10-amixer
Executable file
13
features.in/homeros/live/image-scripts.d/10-amixer
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat <<EOF > /etc/rc.d/rc.local
|
||||
#!/bin/sh
|
||||
|
||||
amixer set Master 75%
|
||||
amixer set Master toggle
|
||||
amixer set PCM 75%
|
||||
amixer set PCM toggle
|
||||
|
||||
EOF
|
||||
|
||||
chmod 755 /etc/rc.d/rc.local
|
8
features.in/homeros/live/image-scripts.d/10-console-keyboard-ru
Executable file
8
features.in/homeros/live/image-scripts.d/10-console-keyboard-ru
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
echo 'KEYTABLE=ruwin_ct_sh-UTF-8' > /etc/sysconfig/keyboard
|
||||
cat <<EOF > /etc/sysconfig/i18n
|
||||
SYSFONT=UniCyr_8x16
|
||||
LANG=ru_RU.UTF-8
|
||||
SUPPORTED=ru_RU.UTF-8
|
||||
EOF
|
4
features.in/homeros/live/image-scripts.d/10-rhvoice
Executable file
4
features.in/homeros/live/image-scripts.d/10-rhvoice
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
/bin/ln -s /etc/tts.d/rhvoice-en.voiceman /etc/voiceman.d/rhvoice-en.output
|
||||
/bin/ln -s /etc/tts.d/rhvoice.voiceman /etc/voiceman.d/rhvoice.output
|
3
features.in/homeros/live/image-scripts.d/10-ssh
Executable file
3
features.in/homeros/live/image-scripts.d/10-ssh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
chkconfig sshd on
|
6
features.in/homeros/live/image-scripts.d/10-sudo
Executable file
6
features.in/homeros/live/image-scripts.d/10-sudo
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
mkdir -p /etc/sudo.d
|
||||
chmod 700 /etc/sudo.d
|
||||
control su public
|
||||
control sudo public
|
3
features.in/homeros/live/image-scripts.d/10-voiceman
Executable file
3
features.in/homeros/live/image-scripts.d/10-voiceman
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
chkconfig voiceman on
|
5
features.in/homeros/live/image-scripts.d/20-altlinux-user
Executable file
5
features.in/homeros/live/image-scripts.d/20-altlinux-user
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
useradd altlinux
|
||||
echo 'altlinux ALL=NOPASSWD:ALL' > /etc/sudo.d/altlinux
|
||||
chmod 400 /etc/sudo.d/altlinux
|
13
features.in/homeros/live/image-scripts.d/30-autologin
Executable file
13
features.in/homeros/live/image-scripts.d/30-autologin
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
subst s/'^\(1:2345:respawn.*\)$'/'#\1'/ /etc/inittab
|
||||
cat <<EOF >> /etc/inittab
|
||||
# yasr is always available on 1-st console;
|
||||
yasr:2345:respawn:/bin/openvt -w -f -c 1 -- su -l altlinux -c /usr/local/bin/yasr-with-linux-term
|
||||
EOF
|
||||
cat <<EOF > /usr/local/bin/yasr-with-linux-term
|
||||
#!/bin/sh
|
||||
TERM=linux /usr/bin/yasr
|
||||
exit \$?
|
||||
EOF
|
||||
chmod 755 /usr/local/bin/yasr-with-linux-term
|
@@ -1 +1,2 @@
|
||||
Эта фича привносит код, имеющий смысл при добавлении в образ ядра.
|
||||
Эта фича привносит код, имеющий смысл при добавлении в образ ядра,
|
||||
и задаёт начальный вариант такового.
|
||||
|
@@ -1,4 +1,10 @@
|
||||
###
|
||||
# choose std kernel flavour for max RAM size support
|
||||
ifeq (i586,$(ARCH))
|
||||
BIGRAM := std-pae
|
||||
else
|
||||
BIGRAM := std-def
|
||||
endif
|
||||
|
||||
use/kernel:
|
||||
@$(call add_feature)
|
||||
@$(call set,KFLAVOURS,un-def)
|
||||
@$(call set,KFLAVOURS,std-def)
|
||||
|
@@ -14,7 +14,8 @@ use/live/x11: use/live use/firmware use/x11/xorg
|
||||
@$(call add,LIVE_PACKAGES,xinit)
|
||||
|
||||
# optimized out: use/x11/xorg
|
||||
use/live/desktop: use/live/base use/x11/wacom use/live/sound +vmguest +power
|
||||
use/live/desktop: use/live/base use/x11/wacom use/live/sound \
|
||||
+vmguest +power +efi
|
||||
@$(call add,LIVE_LISTS,$(call tags,desktop && (live || network)))
|
||||
@$(call add,LIVE_LISTS,$(call tags,base l10n))
|
||||
@$(call add,LIVE_PACKAGES,fonts-ttf-dejavu fonts-ttf-droid)
|
||||
@@ -52,3 +53,8 @@ use/live/ru: use/live
|
||||
|
||||
use/live/sound: use/live
|
||||
@$(call add,LIVE_PACKAGES,amixer alsa-utils aplay udev-alsa)
|
||||
|
||||
# eth0 instead of enp0s3
|
||||
use/live/net-eth: use/live
|
||||
@$(call add,STAGE1_PACKAGES,udev-rule-generator-net)
|
||||
@$(call add,STAGE2_PACKAGES,udev-rule-generator-net livecd-net-eth)
|
||||
|
@@ -12,8 +12,11 @@ switch() {
|
||||
esac
|
||||
|
||||
{
|
||||
[ ! -x /bin/systemctl ] || /bin/systemctl $sc $1.service
|
||||
[ ! -x /sbin/chkconfig ] || /sbin/chkconfig $1 $cc
|
||||
[ ! -x /bin/systemctl ] ||
|
||||
/bin/systemctl --no-reload $sc $1.service
|
||||
|
||||
[ ! -x /sbin/chkconfig ] ||
|
||||
/sbin/chkconfig $1 $cc
|
||||
} 2>/dev/null
|
||||
}
|
||||
|
||||
@@ -30,10 +33,14 @@ livecd-hostname
|
||||
livecd-save-nfs
|
||||
livecd-setauth
|
||||
livecd-setlocale
|
||||
livecd-net-eth
|
||||
network
|
||||
NetworkManager
|
||||
connman
|
||||
random
|
||||
rpcbind
|
||||
plymouth
|
||||
avahi-daemon
|
||||
"
|
||||
|
||||
# NB: dnsmasq: https://bugzilla.altlinux.org/show_bug.cgi?id=18799
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -x /usr/bin/X ]; then
|
||||
echo "SKIP autologin: X not installed" >&2
|
||||
@@ -15,6 +15,28 @@ add_nopasswdlogin_group()
|
||||
gpasswd -a "$USER" nopasswdlogin
|
||||
}
|
||||
|
||||
BAK=".save"
|
||||
backup() {
|
||||
[ -f "$1" -a ! -f "$1$BAK" ] || return 1
|
||||
cp -av "$1" "$1$BAK"
|
||||
}
|
||||
|
||||
restore_later() {
|
||||
[ -n "$1" ] || return 0
|
||||
|
||||
local prefix="/usr/lib/alterator/hooks/livecd-preinstall.d"
|
||||
[ -d "$prefix" ] || mkdir -p "$prefix"
|
||||
|
||||
local hook="$prefix/51-disable-autologin-again.sh"
|
||||
[ -s "$hook" ] || cat >> "$hook" <<- EOF
|
||||
#!/bin/sh
|
||||
. livecd-functions
|
||||
EOF
|
||||
|
||||
echo mv -v "\$destdir$1$BAK" "\$destdir$1" >> "$hook"
|
||||
chmod +x "$hook"
|
||||
}
|
||||
|
||||
## setup runlevel
|
||||
INITTAB=/etc/inittab
|
||||
if [ -f "$INITTAB" ]; then
|
||||
@@ -23,39 +45,62 @@ if [ -f "$INITTAB" ]; then
|
||||
fi
|
||||
|
||||
## autologin^2
|
||||
AUTOLOGIN_CFG=/etc/sysconfig/autologin
|
||||
if [ -x /usr/sbin/autologin ]; then
|
||||
cat << E_O_F >> /etc/sysconfig/autologin
|
||||
USER=$USER
|
||||
AUTOLOGIN=yes
|
||||
E_O_F
|
||||
backup "$AUTOLOGIN_CFG"
|
||||
cat >> "$AUTOLOGIN_CFG" <<- EOF
|
||||
USER=$USER
|
||||
AUTOLOGIN=yes
|
||||
EOF
|
||||
restore_later "$AUTOLOGIN_CFG"
|
||||
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"
|
||||
backup "/etc/group"
|
||||
add_nopasswdlogin_group lightdm ||:
|
||||
|
||||
restore_later "$LIGHTDM_CONF"
|
||||
restore_later "/etc/group"
|
||||
fi
|
||||
|
||||
## gdm2 autologin
|
||||
GDM_CONF=/etc/X11/gdm/custom.conf
|
||||
if [ -f "$GDM_CONF" ]; then
|
||||
backup "$GDM_CONF"
|
||||
sed -i -e '/\[daemon\]/aAutomaticLoginEnable=true\nAutomaticLogin='$USER \
|
||||
"$GDM_CONF"
|
||||
backup "/etc/group"
|
||||
add_nopasswdlogin_group gdm ||:
|
||||
|
||||
restore_later "$GDM_CONF"
|
||||
restore_later "/etc/group"
|
||||
fi
|
||||
|
||||
autologin_kdm() {
|
||||
backup "$1"
|
||||
sed -i \
|
||||
-e '/AutoLoginEnable/ s,^.*$,AutoLoginEnable=true,' \
|
||||
-e '/AutoLoginUser/ s,^.*$,AutoLoginUser='$USER',' \
|
||||
"$1"
|
||||
restore_later "$1"
|
||||
}
|
||||
|
||||
## kdm3 autologin
|
||||
# FIXME: tde packages have kdmrc in /usr via an absolute symlink :-(
|
||||
KDM_ETC=/etc/X11/kdm
|
||||
KDM_USR=/usr/share/kde/config/kdm
|
||||
if [ "$(readlink "$KDM_ETC")" = "$KDM_USR" ]; then
|
||||
rm -f "$KDM_ETC"
|
||||
ln -s ../.."$KDM_USR" "$KDM_ETC"
|
||||
fi
|
||||
|
||||
KDMRC=/etc/X11/kdm/kdmrc
|
||||
if [ -f "$KDMRC" ]; then autologin_kdm "$KDMRC"; fi
|
||||
|
||||
@@ -67,22 +112,25 @@ if [ -f "$KDMRC" ]; then autologin_kdm "$KDMRC"; fi
|
||||
# FIXME nodm and xinitrc should be modified (also in p6)
|
||||
NODM_RC=/etc/sysconfig/nodm
|
||||
NODM_EXE=/usr/sbin/nodm
|
||||
|
||||
if [ -x "$NODM_EXE" ]; then
|
||||
cat << E_O_F >> "$NODM_RC"
|
||||
export NODM_USER=$USER
|
||||
E_O_F
|
||||
backup "$NODM_RC"
|
||||
cat >> "$NODM_RC" <<- EOF
|
||||
export NODM_USER=$USER
|
||||
EOF
|
||||
restore_later "$NODM_RC"
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# FIXME: drop when #27449 is fixed
|
||||
# FIXME: drop since #27449 is fixed
|
||||
PREFDM=/etc/X11/prefdm
|
||||
if [ -f "$PREFDM" ] && ! grep -q nodm "$PREFDM"; then
|
||||
backup "$PREFDM"
|
||||
sed -i \
|
||||
-e '/AUTOLOGIN_EXE=/ s,^.*$,AUTOLOGIN_EXE='$NODM_EXE',' \
|
||||
-e '/AUTOLOGIN_CFG=/ s,^.*$,AUTOLOGIN_CFG='$NODM_RC',' \
|
||||
"$PREFDM"
|
||||
restore_later "$PREFDM"
|
||||
fi
|
||||
|
||||
# FIXME: drop when #27451 is fixed
|
||||
|
@@ -23,6 +23,18 @@ DOMAINNAME="localdomain"
|
||||
verbose "Init /etc/hosts with 127.0.0.1 localhost"
|
||||
echo "127.0.0.1 localhost localhost.localdomain" > /etc/hosts
|
||||
|
||||
prefix="/etc/net/ifaces"
|
||||
|
||||
# seems like aufs bug on O_TRUNC writes:
|
||||
# aufs au_lkup_neg:267:kworker/0:2[998]:
|
||||
# I/O Error, resolv.conf should be negative on b0.
|
||||
# OTOH lo interface is now brought up in initrd
|
||||
# so this shoudn't really matter
|
||||
if [ -d "$prefix"/lo ]; then
|
||||
echo 'nameserver 8.8.8.8' >> "$prefix"/lo/resolv.conf
|
||||
fi
|
||||
find /var -name resolv.conf -or -name nsswitch.conf -delete
|
||||
|
||||
netcfg="/etc/sysconfig/network"
|
||||
|
||||
verbose "Enable networking, set hostname to $HOSTNAME, domainname to $DOMAINNAME"
|
||||
@@ -30,21 +42,22 @@ shell_config_set "$netcfg" NETWORKING yes
|
||||
shell_config_set "$netcfg" HOSTNAME "$HOSTNAME"
|
||||
shell_config_set "$netcfg" DOMAINNAME "$DOMAINNAME"
|
||||
|
||||
|
||||
if [ -x /usr/sbin/NetworkManager ] ; then
|
||||
verbose "Setup defaults for NetworkManager"
|
||||
shell_config_set /etc/net/ifaces/default/options-eth NM_CONTROLLED yes
|
||||
shell_config_set /etc/net/ifaces/default/options-eth DISABLED yes
|
||||
shell_config_set /etc/net/ifaces/default/options-eth BOOTPROTO dhcp
|
||||
# NB: see also #28484 and livecd-net-eth for runtime configuration
|
||||
defcfg="$prefix/default/options-eth"
|
||||
if [ -x /usr/sbin/NetworkManager -o -x /usr/sbin/connmand ] ; then
|
||||
verbose "Setup defaults for NetworkManager/connman"
|
||||
shell_config_set "$defcfg" NM_CONTROLLED yes
|
||||
shell_config_set "$defcfg" DISABLED yes
|
||||
shell_config_set "$defcfg" BOOTPROTO dhcp
|
||||
else
|
||||
# attempt to autoconfigure ethernet by etcnet
|
||||
if [ -x /sbin/dhcpcd -o -x /sbin/dhclient ]; then
|
||||
if [ -x /lib/udev/write_net_rules ] &&
|
||||
[ -x /sbin/dhcpcd -o -x /sbin/dhclient ]; then
|
||||
verbose "configuring DHCP for eth0"
|
||||
|
||||
mkdir -p /etc/net/ifaces/eth0 && {
|
||||
mkdir -p "$prefix"/eth0 && {
|
||||
echo TYPE=eth
|
||||
echo BOOTPROTO=dhcp
|
||||
} > /etc/net/ifaces/eth0/options
|
||||
} > "$prefix"/eth0/options
|
||||
else
|
||||
verbose "NOT configuring eth0 for DHCP"
|
||||
fi
|
||||
|
@@ -35,6 +35,6 @@ metadata-.base:
|
||||
metadata: metadata-.base
|
||||
@mkdir -p $(METADIR); \
|
||||
tar -C $(PKGDIR) -cvf - \
|
||||
$(call rlist,$(MAIN_GROUPS) .base) \
|
||||
$(call rgroup,$(MAIN_GROUPS)) \
|
||||
$(call rlist,$(THE_GROUPS) $(MAIN_GROUPS) .base) \
|
||||
$(call rgroup,$(THE_GROUPS) $(MAIN_GROUPS)) \
|
||||
> $(METADIR)/pkg-groups.tar
|
||||
|
@@ -1,3 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
CONFIG=/etc/plymouth/plymouthd.conf
|
||||
|
||||
if [ -f "$CONFIG" ]; then
|
||||
grep -q '^Theme=' "$CONFIG" || sed -i 's/#\([T\[]\)/\1/' "$CONFIG"
|
||||
fi
|
||||
|
||||
cp -a /usr/share/plymouth/default-install-duration /var/lib/plymouth/boot-duration
|
||||
|
@@ -8,7 +8,7 @@ use/power:
|
||||
|
||||
# modern power management
|
||||
use/power/acpi: use/power
|
||||
@$(call add,COMMON_PACKAGES,acpid)
|
||||
@$(call add,COMMON_PACKAGES,acpid acpi)
|
||||
|
||||
use/power/acpi/button: use/power/acpi
|
||||
@$(call add,COMMON_PACKAGES,acpid-events-power)
|
||||
|
@@ -18,12 +18,12 @@ sshd
|
||||
"
|
||||
|
||||
for i in $ENABLE; do
|
||||
[ -x /bin/systemctl ] && /bin/systemctl enable ${i}.service
|
||||
[ -x /bin/systemctl ] && /bin/systemctl --no-reload enable ${i}.service
|
||||
[ -x /sbin/chkconfig ] && /sbin/chkconfig $i on
|
||||
done
|
||||
|
||||
for i in $DISABLE; do
|
||||
[ -x /bin/systemctl ] && /bin/systemctl disable ${i}.service
|
||||
[ -x /bin/systemctl ] && /bin/systemctl --no-reload disable ${i}.service
|
||||
[ -x /sbin/chkconfig ] && /sbin/chkconfig $i off
|
||||
done
|
||||
:
|
||||
|
@@ -2,5 +2,13 @@
|
||||
# prepare base make-initrd configuration for stage1
|
||||
# see also http://www.altlinux.org/Make-initrd-propagator
|
||||
|
||||
sed -i 's/AUTODETECT/#&/' /etc/initrd.mk
|
||||
MAKE_INITRD_VER="`make-initrd -V \
|
||||
| sed -rn 's/^make-initrd version ([0-9.]+)/\1/p'`"
|
||||
|
||||
if [ "`rpmvercmp "$MAKE_INITRD_VER" "0.8.1"`" != "-1" ]; then
|
||||
echo 'AUTODETECT =' >> /etc/initrd.mk # make-initrd >= 0.8.1
|
||||
else
|
||||
sed -i 's/AUTODETECT/#&/' /etc/initrd.mk # see also #28578
|
||||
fi
|
||||
|
||||
echo 'FEATURES += propagator' >> /etc/initrd.mk
|
||||
|
@@ -82,7 +82,7 @@ bootargs: clean
|
||||
|
||||
clean: copy
|
||||
@if [ "$(SYSLINUX_UI)" = gfxboot ]; then \
|
||||
sed -i "s,\^,," $(DSTDIR)/*.cfg; \
|
||||
sed -i "s/\^//;/menu label /d" $(DSTDIR)/*.cfg; \
|
||||
fi
|
||||
|
||||
copy: prep
|
||||
|
@@ -3,4 +3,4 @@
|
||||
use/wireless:
|
||||
@$(call add_feature)
|
||||
@$(call add,THE_KMODULES,bcmwl rt3070 staging)
|
||||
@$(call add,THE_PACKAGES,wireless-tools rfkill)
|
||||
@$(call add,THE_PACKAGES,wireless-tools rfkill crda iw)
|
||||
|
@@ -1,7 +1,7 @@
|
||||
+icewm: use/x11/icewm; @:
|
||||
+razorqt: use/x11/razorqt use/x11/lightdm/qt; @:
|
||||
+tde: use/x11/tde use/x11/kdm; @:
|
||||
+kde: use/x11/kde use/x11/kdm4; @:
|
||||
+kde4-lite: use/x11/kde4-lite use/x11/kdm4; @:
|
||||
|
||||
use/x11/xorg:
|
||||
@$(call add_feature)
|
||||
@@ -16,7 +16,7 @@ use/x11/drm: use/x11/xorg
|
||||
use/x11/3d-free: use/x11/drm
|
||||
@$(call add,THE_KMODULES,drm-nouveau)
|
||||
|
||||
### fglrx is broken with xorg-1.12 so far
|
||||
### fglrx is broken with xorg-1.13 so far
|
||||
use/x11/3d-proprietary: use/x11/xorg
|
||||
@$(call add,THE_KMODULES,fglrx nvidia)
|
||||
@$(call add,THE_PACKAGES,nvidia-settings nvidia-xconfig)
|
||||
@@ -52,8 +52,8 @@ use/x11/razorqt: use/x11/xorg
|
||||
use/x11/tde: use/x11/xorg
|
||||
@$(call add,THE_LISTS,$(call tags,tde desktop))
|
||||
|
||||
use/x11/kde: use/x11/xorg
|
||||
@$(call add,THE_LISTS,$(call tags,kde desktop))
|
||||
use/x11/kde4-lite: use/x11/xorg
|
||||
@$(call add,THE_LISTS,$(call tags,kde4 desktop))
|
||||
|
||||
use/x11/kde4: use/x11/xorg
|
||||
@$(call add,THE_PACKAGES,kde4-default)
|
||||
@@ -64,8 +64,14 @@ use/x11/xfce: use/x11/xorg
|
||||
use/x11/cinnamon: use/x11/xorg use/x11/drm
|
||||
@$(call add,THE_LISTS,$(call tags,cinnamon desktop))
|
||||
|
||||
use/x11/gnome3: use/x11/xorg use/x11/drm
|
||||
@$(call add,THE_PACKAGES,gnome3-default)
|
||||
|
||||
use/x11/e17: use/x11/xorg use/x11/3d-free
|
||||
@$(call add,THE_LISTS,$(call tags,e17 desktop))
|
||||
|
||||
use/x11/lxde: use/x11/xorg
|
||||
@$(call add,THE_LISTS,$(call tags,lxde desktop))
|
||||
|
||||
use/x11/fvwm: use/x11/xorg
|
||||
@$(call add,THE_LISTS,$(call tags,fvwm desktop))
|
||||
|
2
image.in/.gitignore
vendored
2
image.in/.gitignore
vendored
@@ -1 +1,3 @@
|
||||
build.log
|
||||
reports
|
||||
out
|
||||
|
@@ -8,7 +8,7 @@ OUT_LINK := out
|
||||
# - minimal version is bumped for critical bugfixes/features
|
||||
# - optimal one relates to the less universally relevant bits
|
||||
MKI_VER_MINIMAL = 0.1.7
|
||||
MKI_VER_OPTIMAL = 0.2.5
|
||||
MKI_VER_OPTIMAL = 0.2.6
|
||||
|
||||
include distcfg.mk
|
||||
include functions.mk
|
||||
@@ -29,8 +29,11 @@ $(info warning: mkimage-$(MKI_VERSION) is suboptimal, consider upgrading)
|
||||
$(warning consider upgrading mkimage to $(MKI_VER_OPTIMAL) or better)
|
||||
endif
|
||||
|
||||
# glob it just in case
|
||||
IMAGEDIR := $(wildcard $(IMAGEDIR))
|
||||
|
||||
# additional means to reduce havoc in IMAGEDIR
|
||||
IMAGE_SORTDIR := $(SORTDIR)
|
||||
IMAGE_SORTDIR := $(wildcard $(SORTDIR))
|
||||
|
||||
# reconstruct instead of passing yet another variable
|
||||
IMAGE_OUTDIR := $(IMAGEDIR)$(IMAGE_SORTDIR:%=/%)
|
||||
|
@@ -42,7 +42,7 @@ IMAGEDIR ?= $(shell \
|
||||
fi; \
|
||||
)
|
||||
|
||||
LOGDIR ?= $(IMAGEDIR)
|
||||
LOGDIR ?= $(wildcard $(IMAGEDIR))
|
||||
|
||||
# actual build starter
|
||||
# NB: our output MUST go into stderr to escape POSTPROC
|
||||
|
@@ -1,10 +0,0 @@
|
||||
ifndef MKIMAGE_PROFILES
|
||||
$(error this makefile is designed to be included in toplevel one)
|
||||
endif
|
||||
|
||||
# choose std kernel flavour for max RAM size support
|
||||
ifeq (i586,$(ARCH))
|
||||
BIGRAM := std-pae
|
||||
else
|
||||
BIGRAM := std-def
|
||||
endif
|
@@ -65,7 +65,7 @@ profile/init: distclean
|
||||
fi >&2; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
mp-commit "$(BUILDDIR)" "derivative profile initialized"; \
|
||||
mp-commit -i "$(BUILDDIR)" "derivative profile initialized"; \
|
||||
if [ -w . ]; then \
|
||||
rm -f "$(SYMLINK)" && \
|
||||
ln -s "$(BUILDDIR)" "$(SYMLINK)" && \
|
||||
@@ -82,8 +82,8 @@ profile/bare: profile/init
|
||||
} >&2
|
||||
@$(call try,MKIMAGE_PREFIX,/usr/share/mkimage)
|
||||
@$(call try,GLOBAL_VERBOSE,)
|
||||
@$(call try,IMAGEDIR,$(IMAGEDIR))
|
||||
@$(call try,LOGDIR,$(LOGDIR))
|
||||
@$(call try,IMAGEDIR,$(wildcard $(IMAGEDIR)))
|
||||
@$(call try,LOGDIR,$(wildcard $(LOGDIR)))
|
||||
@$(call try,BRANDING,altlinux-sisyphus)
|
||||
ifeq (,$(REPO:altlinux%=))
|
||||
@$(call set,IMAGE_INIT_LIST,+branding-$$(BRANDING)-release)
|
||||
|
6
main.mk
6
main.mk
@@ -34,6 +34,12 @@ include $(sort $(wildcard lib/*.mk))
|
||||
include conf.d/*.mk
|
||||
include features.in/*/config.mk
|
||||
|
||||
# ensure the outdir is created and globbable
|
||||
ifdef IMAGEDIR
|
||||
$(shell mkdir -p $(IMAGEDIR))
|
||||
IMAGEDIR := $(wildcard $(IMAGEDIR))
|
||||
endif
|
||||
|
||||
# FIXME: this is buggy since *.mk can expose parts conditionally
|
||||
# (e.g. test.mk does DEBUG-only bits) and these will fail
|
||||
DISTRO_TARGETS := $(shell sed -n 's,^\(distro/[^:.]\+\):.*$$,\1,p' \
|
||||
|
23
pkg.in/lists/domain-client
Normal file
23
pkg.in/lists/domain-client
Normal file
@@ -0,0 +1,23 @@
|
||||
pam_mount
|
||||
|
||||
samba4-client
|
||||
cifs-utils
|
||||
keyutils
|
||||
nfs-clients
|
||||
autofs
|
||||
installer-feature-auto-domain
|
||||
installer-feature-nfs-client-stage3
|
||||
installer-feature-start-avahi
|
||||
installer-feature-network-shares-client-stage3
|
||||
installer-feature-weak-passwd
|
||||
libnss-fallback
|
||||
libnss-mdns
|
||||
|
||||
krb5-ticket-watcher
|
||||
|
||||
alterator-browser-qt
|
||||
alterator-standalone
|
||||
|
||||
alterator-auth
|
||||
alterator-net-shares
|
||||
|
2
pkg.in/lists/homeros/homeros
Normal file
2
pkg.in/lists/homeros/homeros
Normal file
@@ -0,0 +1,2 @@
|
||||
homeros-core
|
||||
homeros-live-data
|
6
pkg.in/lists/homeros/tools
Normal file
6
pkg.in/lists/homeros/tools
Normal file
@@ -0,0 +1,6 @@
|
||||
su
|
||||
sudo
|
||||
net-tools
|
||||
openssh-server
|
||||
amixer
|
||||
alsa-utils
|
2
pkg.in/lists/homeros/tts
Normal file
2
pkg.in/lists/homeros/tts
Normal file
@@ -0,0 +1,2 @@
|
||||
RHVoice
|
||||
espeak
|
3
pkg.in/lists/homeros/voiceman
Normal file
3
pkg.in/lists/homeros/voiceman
Normal file
@@ -0,0 +1,3 @@
|
||||
voiceman-server
|
||||
voiceman
|
||||
voiceman-tools
|
1
pkg.in/lists/homeros/yasr
Normal file
1
pkg.in/lists/homeros/yasr
Normal file
@@ -0,0 +1 @@
|
||||
yasr
|
@@ -1,5 +1,6 @@
|
||||
gdisk
|
||||
parted
|
||||
fatresize
|
||||
dosfstools
|
||||
grub2-efi
|
||||
elilo
|
||||
|
19
pkg.in/lists/tagged/base+regular
Normal file
19
pkg.in/lists/tagged/base+regular
Normal file
@@ -0,0 +1,19 @@
|
||||
openssh
|
||||
net-tools
|
||||
|
||||
strace
|
||||
powertop
|
||||
acpi
|
||||
|
||||
livecd-online-repo
|
||||
apt-repo
|
||||
update-kernel
|
||||
synaptic-usermode
|
||||
eepm
|
||||
|
||||
alterator-standalone
|
||||
cpufreq-simple
|
||||
xdg-user-dirs
|
||||
firefox-ru
|
||||
uvcview
|
||||
eject
|
@@ -1,3 +1,2 @@
|
||||
gnome3-default
|
||||
libreoffice libreoffice-gnome libreoffice-langpack-ru
|
||||
cinnamon-regular
|
||||
gimp
|
||||
|
@@ -1,3 +1,7 @@
|
||||
gst-plugins-*
|
||||
gst-ffmpeg
|
||||
gnome-mplayer
|
||||
|
||||
econnman
|
||||
|
||||
e17-extra-modules
|
||||
|
6
pkg.in/lists/tagged/desktop+fvwm
Normal file
6
pkg.in/lists/tagged/desktop+fvwm
Normal file
@@ -0,0 +1,6 @@
|
||||
fvwm
|
||||
fvwm-doc
|
||||
fvwm-icons
|
||||
fvwm-themes
|
||||
fvwm-crystal
|
||||
xterm
|
@@ -3,4 +3,6 @@ xinit
|
||||
xinitrc
|
||||
livecd-setlocale
|
||||
installer-feature-runlevel5-stage3
|
||||
os-prober
|
||||
sudo
|
||||
su
|
||||
|
@@ -1,6 +1,7 @@
|
||||
openbox
|
||||
|
||||
pcmanfm2
|
||||
eject
|
||||
|
||||
lxde-common
|
||||
lxde-lxpanel
|
||||
@@ -11,12 +12,12 @@ lxde-lxtask
|
||||
lxde-lxshortcut
|
||||
lxde-lxappearance
|
||||
lxde-lxappearance-obconf
|
||||
lxde-lxshortcut
|
||||
|
||||
menu-cache
|
||||
altlinux-freedesktop-menu-lxde
|
||||
|
||||
# lxterminal is reportedly sub-par
|
||||
#lxde-lxterminal
|
||||
sakura
|
||||
# NB: an lxde-settings is required by lxde-common
|
||||
lxde-settings-altlinux
|
||||
|
||||
tango-icon-theme
|
||||
|
@@ -1,5 +1,9 @@
|
||||
tango-icon-theme-extras
|
||||
|
||||
#lxde-lxterminal
|
||||
sakura
|
||||
fonts-bitmap-terminus
|
||||
|
||||
leafpad
|
||||
galculator
|
||||
deadbeef
|
||||
@@ -9,5 +13,14 @@ parcellite
|
||||
# gqview has thumbnails support, gpicview doesn't
|
||||
gqview
|
||||
|
||||
# file-roller is recommended over xarchiver and not that fatty yet
|
||||
# file-roller is recommended over xarchiver (gns@) and not that fatty yet
|
||||
file-roller
|
||||
|
||||
# for pcmanfm2 (aen@)
|
||||
gvfs
|
||||
gvfs-backends
|
||||
gvfs-utils
|
||||
fuse-gvfs
|
||||
|
||||
# openbox behaviour, virtual desktops, etc
|
||||
obconf
|
||||
|
@@ -1,3 +1,5 @@
|
||||
mate-default
|
||||
|
||||
altlinux-freedesktop-menu-mate
|
||||
mate-conf-gtk
|
||||
mate-control-center
|
||||
@@ -29,7 +31,7 @@ mate-document-viewer-djvu
|
||||
mate-file-archiver
|
||||
mate-image-viewer
|
||||
mate-media
|
||||
mate-media-apps
|
||||
#mate-media-apps
|
||||
mate-netspeed
|
||||
mate-power-manager
|
||||
mate-screensaver
|
||||
|
@@ -1,6 +1,6 @@
|
||||
NetworkManager
|
||||
NetworkManager-gnome
|
||||
wpa_gui
|
||||
NetworkManager-l2tp-gnome
|
||||
rfkill
|
||||
dbus-tools-gui
|
||||
fonts-ttf-droid
|
||||
|
Reference in New Issue
Block a user