forked from altcloud/mkimage-profiles
Compare commits
23 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
29388ef555 | ||
|
d0d76633bb | ||
|
43c6fce4d1 | ||
|
d94232fb87 | ||
|
a1c0e82e31 | ||
|
78326d393a | ||
|
bd606e6c60 | ||
|
b9e93b699e | ||
|
9a86d7ec40 | ||
|
2701a01f19 | ||
|
cf6411b3a1 | ||
|
cd9303e7b1 | ||
|
06c62ae440 | ||
|
874c078eea | ||
|
e7a4b39083 | ||
|
d94ecb94d1 | ||
|
3ae69fa5dc | ||
|
cd0db8d363 | ||
|
162a824009 | ||
|
bad7fb53ca | ||
|
d045fe49e5 | ||
|
b6eb7cb732 | ||
|
5da4b440be |
@@ -1,5 +1,5 @@
|
||||
Name: mkimage-profiles
|
||||
Version: 0.9.2
|
||||
Version: 0.9.3
|
||||
Release: alt1
|
||||
|
||||
Summary: ALT Linux based distribution metaprofile
|
||||
@@ -78,6 +78,9 @@ cp -a * %buildroot%mpdir
|
||||
%doc %docs/*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 31 2012 Michael Shigorin <mike@altlinux.org> 0.9.3-alt1
|
||||
- regular images
|
||||
|
||||
* Mon Dec 17 2012 Michael Shigorin <mike@altlinux.org> 0.9.2-alt1
|
||||
- enhanced uefi support
|
||||
|
||||
|
@@ -1,6 +0,0 @@
|
||||
object 919b09313f3be5702cb8e83f9d0372f4d06ed6f3
|
||||
type commit
|
||||
tag v0.9.1
|
||||
tagger Michael Shigorin <mike@altlinux.org> 1354548428 +0200
|
||||
|
||||
kde4
|
6
.gear/tags/f44512183492762791baf8f4e5bdca5f18dc6017
Normal file
6
.gear/tags/f44512183492762791baf8f4e5bdca5f18dc6017
Normal file
@@ -0,0 +1,6 @@
|
||||
object 70d17617801d6567ed3c5b5f41f05efa123ded57
|
||||
type commit
|
||||
tag v0.9.2
|
||||
tagger Michael Shigorin <mike@altlinux.org> 1355752625 +0400
|
||||
|
||||
uefi++
|
@@ -1 +1 @@
|
||||
25f0420130990a8bfd7b5e91435ac54c7f8eee33 v0.9.1
|
||||
f44512183492762791baf8f4e5bdca5f18dc6017 v0.9.2
|
||||
|
@@ -30,4 +30,4 @@ transformed="$(sed \
|
||||
-e "s, *) *, ) ,g")"
|
||||
|
||||
[ "$DEBUG" = 2 ] && echo "`basename $0`: transformed = \"$transformed\"" >&2
|
||||
[ -z "$transformed" ] || find $transformed | sed 's,^\./,,'
|
||||
[ -z "$transformed" ] || find $transformed | sed 's,^\./,,' | grep -v '\.sw.$'
|
||||
|
@@ -2,7 +2,7 @@
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
|
||||
distro/dos: distro/.init use/dos use/syslinux/ui/menu; @:
|
||||
distro/rescue: distro/.base use/rescue use/syslinux/ui/menu; @:
|
||||
distro/rescue: distro/.base use/rescue use/efi use/syslinux/ui/menu; @:
|
||||
distro/syslinux: distro/.init \
|
||||
use/syslinux/localboot.cfg use/syslinux/ui/vesamenu use/hdt; @:
|
||||
|
||||
@@ -35,7 +35,7 @@ distro/live-icewm: distro/.live-desktop use/live/autologin +icewm; @:
|
||||
distro/live-razorqt: distro/.live-desktop use/live/autologin +razorqt; @:
|
||||
distro/live-tde: distro/.live-desktop-ru use/live/install +tde; @:
|
||||
|
||||
distro/live-rescue: distro/live-icewm
|
||||
distro/live-rescue: distro/live-icewm use/efi
|
||||
@$(call add,LIVE_LISTS,$(call tags,rescue && (fs || live || x11)))
|
||||
@$(call add,LIVE_LISTS,openssh \
|
||||
$(call tags,(base || extra) && (archive || rescue || network)))
|
||||
@@ -68,8 +68,8 @@ distro/live-mate: distro/.live-desktop-ru use/live/nodm use/x11/3d-free
|
||||
@$(call add,LIVE_LISTS,openssh $(call tags,(desktop || mobile) && mate))
|
||||
@$(call set,KFLAVOURS,un-def) # the newest one
|
||||
|
||||
distro/live-enlightenment: distro/.live-desktop-ru use/live/autologin use/x11/3d-free
|
||||
@$(call add,LIVE_PACKAGES,enlightenment)
|
||||
distro/live-e17: distro/.live-desktop-ru use/live/autologin \
|
||||
use/x11/e17 use/x11/gdm2.20; @:
|
||||
|
||||
distro/live-gimp: distro/live-icewm use/x11/3d-free use/live/ru
|
||||
@$(call add,LIVE_PACKAGES,gimp tintii immix fim)
|
||||
|
37
conf.d/regular.mk
Normal file
37
conf.d/regular.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
# regular build/usage images
|
||||
ifeq (distro,$(IMAGE_CLASS))
|
||||
|
||||
# TODO: use/plymouth/live when luks+plymouth is done, see also #28255
|
||||
distro/.regular-desktop: distro/.base +live use/live/ru \
|
||||
use/live/install use/live/repo use/x11/3d-free use/systemd \
|
||||
use/efi 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,THE_BRANDING,indexhtml notes alterator bootloader)
|
||||
@$(call try,SAVE_PROFILE,yes)
|
||||
|
||||
distro/.regular-gtk: distro/.regular-desktop use/x11/gdm2.20; @:
|
||||
|
||||
distro/regular-icewm: distro/.regular-gtk +icewm; @:
|
||||
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; @:
|
||||
@$(call add,LIVE_PACKAGES,xterm xorg-xnest)
|
||||
|
||||
distro/regular-cinnamon: distro/.regular-desktop use/x11/cinnamon
|
||||
@$(call set,META_VOL_ID,ALT Linux $(IMAGE_NAME)) # see also #28271
|
||||
|
||||
distro/regular-tde: distro/.regular-desktop +tde; @:
|
||||
distro/regular-kde4: distro/.regular-desktop use/x11/kde4 use/x11/kdm4; @:
|
||||
distro/regular-razorqt: distro/.regular-desktop +razorqt; @:
|
||||
|
||||
endif
|
@@ -23,9 +23,14 @@
|
||||
построенных на одном базовом, можно воспользоваться подкаталогом
|
||||
с именем исходного базового субпрофиля (см. $src, $dst в Makefile).
|
||||
|
||||
Рекомендуется давать несколько различающиеся имена скриптам,
|
||||
которые одна и та же фича может добавлять в различные стадии,
|
||||
чтобы они не выглядели одинаково в логе сборки.
|
||||
|
||||
Наиболее востребованные цели можно снабжать "ярлычками" вроде
|
||||
"+icewm" с тем, чтобы сделать более краткими и выразительными
|
||||
использующие их правила. Просьба не злоупотреблять количеством.
|
||||
использующие их правила. Просьба не злоупотреблять количеством,
|
||||
такие имена предполагается показывать в интерфейсе к профилю.
|
||||
|
||||
Каталог lib/ является специфическим для фич, определяющих
|
||||
построение конкретного вида образа -- см. build-*/.
|
||||
|
@@ -1,10 +1,22 @@
|
||||
ifeq (x86_64,$(ARCH))
|
||||
|
||||
EFI_LISTS := $(call tags,base efi)
|
||||
|
||||
use/efi:
|
||||
@$(call add_feature)
|
||||
@$(call set,MKI_VER_MINIMAL,0.2.5) # see #28219
|
||||
@$(call add,THE_LISTS,$(call tags,base efi))
|
||||
@$(call add,THE_LISTS,$(EFI_LISTS))
|
||||
@$(call add,RESCUE_LISTS,$(EFI_LISTS))
|
||||
@$(call add,INSTALL2_PACKAGES,dosfstools)
|
||||
@$(call set,EFI_BOOTLOADER,elilo) ### no choice right now
|
||||
|
||||
use/efi/debug: use/efi
|
||||
@$(call add,STAGE2_PACKAGES,efibootmgr gdisk)
|
||||
@$(call set,KFLAVOURS,led-ws)
|
||||
|
||||
else
|
||||
|
||||
# ignore on an unsupported target arch but make it hybrid at least
|
||||
use/efi use/efi/debug: use/isohybrid
|
||||
|
||||
endif
|
||||
|
@@ -21,9 +21,15 @@ use/live/desktop: use/live/base use/x11/wacom use/live/sound +vmguest +power
|
||||
@$(call add,LIVE_PACKAGES,pciutils)
|
||||
@$(call add,SYSLINUX_CFG,localboot)
|
||||
|
||||
# preconfigure apt for both live and installed-from-live systems
|
||||
use/live/repo:
|
||||
@$(call add,LIVE_PACKAGES,livecd-online-repo)
|
||||
@$(call add,LIVE_PACKAGES,installer-feature-online-repo)
|
||||
|
||||
# alterator-based permanent installation
|
||||
use/live/install: use/metadata use/syslinux/localboot.cfg
|
||||
@$(call add,LIVE_PACKAGES,livecd-install)
|
||||
@$(call add,LIVE_PACKAGES,livecd-installer-features)
|
||||
|
||||
# text-based installation script
|
||||
use/live/textinstall: use/syslinux/localboot.cfg
|
||||
|
@@ -1,8 +1,10 @@
|
||||
#!/bin/sh -efu
|
||||
# if no means for locale setup are employed,
|
||||
# it should still be somewhat reasonable
|
||||
# it should still be at least marginally reasonable
|
||||
# NB: keyboard layout not included!
|
||||
|
||||
if [ -s /etc/sysconfig/i18n ]; then exit 0; fi
|
||||
|
||||
mkdir -p /etc/sysconfig
|
||||
cat >> /etc/sysconfig/i18n << _EOF_
|
||||
# mkimage-profiles live 20-locale hook
|
||||
|
@@ -2,5 +2,11 @@
|
||||
# Turn on xdg-user-dirs.
|
||||
# NB: not yet available on t6/p6 hence the warning
|
||||
|
||||
control xdg-user-dirs enabled ||
|
||||
. shell-config
|
||||
|
||||
if control xdg-user-dirs enabled; then
|
||||
shell_config_set /etc/xdg/user-dirs.defaults MOVIES 'Documents/Videos'
|
||||
shell_config_set /etc/xdg/user-dirs.defaults PHOTOS 'Documents/Pictures'
|
||||
else
|
||||
echo "** warning: control xdg-user-dirs failed" >&2
|
||||
fi
|
||||
|
@@ -48,15 +48,20 @@ if [ -f "$GDM_CONF" ]; then
|
||||
add_nopasswdlogin_group gdm ||:
|
||||
fi
|
||||
|
||||
## kdm3 autologin
|
||||
# TODO: iterate over kdm{,4} if feasible
|
||||
KDMRC=/etc/X11/kdm/kdmrc
|
||||
if [ -f "$KDMRC" ]; then
|
||||
autologin_kdm() {
|
||||
sed -i \
|
||||
-e '/AutoLoginEnable/ s,^.*$,AutoLoginEnable=true,' \
|
||||
-e '/AutoLoginUser/ s,^.*$,AutoLoginUser='$USER',' \
|
||||
"$KDMRC"
|
||||
fi
|
||||
"$1"
|
||||
}
|
||||
|
||||
## kdm3 autologin
|
||||
KDMRC=/etc/X11/kdm/kdmrc
|
||||
if [ -f "$KDMRC" ]; then autologin_kdm "$KDMRC"; fi
|
||||
|
||||
## kdm4 autologin
|
||||
KDMRC=/etc/X11/kdm4/kdmrc
|
||||
if [ -f "$KDMRC" ]; then autologin_kdm "$KDMRC"; fi
|
||||
|
||||
## nodm autologin (the last since the most intrusive)
|
||||
# FIXME nodm and xinitrc should be modified (also in p6)
|
||||
|
@@ -1,2 +1,5 @@
|
||||
LUKS_LISTS := $(call tags,security luks)
|
||||
|
||||
use/luks:
|
||||
@$(call add,BASE_PACKAGES,make-initrd-luks cryptsetup)
|
||||
@$(call add,THE_LISTS,$(LUKS_LISTS))
|
||||
@$(call add,RESCUE_LISTS,$(LUKS_LISTS))
|
||||
|
@@ -55,8 +55,17 @@ use/x11/tde: use/x11/xorg
|
||||
use/x11/kde: use/x11/xorg
|
||||
@$(call add,THE_LISTS,$(call tags,kde desktop))
|
||||
|
||||
use/x11/kde4: use/x11/xorg
|
||||
@$(call add,THE_PACKAGES,kde4-default)
|
||||
|
||||
use/x11/xfce: use/x11/xorg
|
||||
@$(call add,THE_LISTS,$(call tags,xfce desktop))
|
||||
|
||||
use/x11/cinnamon: use/x11/xorg use/x11/drm
|
||||
@$(call add,THE_LISTS,$(call tags,cinnamon desktop))
|
||||
|
||||
use/x11/e17: use/x11/xorg use/x11/3d-free
|
||||
@$(call add,THE_PACKAGES,e17-default)
|
||||
|
||||
use/x11/lxde: use/x11/xorg
|
||||
@$(call add,THE_LISTS,$(call tags,lxde desktop))
|
||||
|
@@ -3,7 +3,7 @@ ANSI_OK ?= 1;32
|
||||
ANSI_FAIL ?= 1;31
|
||||
|
||||
MAX_ERRORS = 3
|
||||
GOTCHA := ^(((\*\* )?(E:|[Ee]rror|[Ww]arning).*)|(.* (conflicts|Depends:) .*)|(.* (Stop|failed|not found)\.))$$
|
||||
GOTCHA := ^(((\*\* )?(E:|[Ee]rror|[Ww]arning).*)|(.* (FAILURE|FATAL|ERROR|conflicts|Depends:) .*)|(.* (Stop|failed|not found)\.))$$
|
||||
|
||||
ifndef MKIMAGE_PROFILES
|
||||
$(error this makefile is designed to be included in toplevel one)
|
||||
|
22
pkg.in/lists/tagged/desktop+lxde
Normal file
22
pkg.in/lists/tagged/desktop+lxde
Normal file
@@ -0,0 +1,22 @@
|
||||
openbox
|
||||
|
||||
pcmanfm2
|
||||
|
||||
lxde-common
|
||||
lxde-lxpanel
|
||||
lxde-lxsession
|
||||
lxde-lxsession-edit
|
||||
lxde-lxrandr
|
||||
lxde-lxtask
|
||||
lxde-lxshortcut
|
||||
lxde-lxappearance
|
||||
lxde-lxappearance-obconf
|
||||
|
||||
menu-cache
|
||||
altlinux-freedesktop-menu-lxde
|
||||
|
||||
# lxterminal is reportedly sub-par
|
||||
#lxde-lxterminal
|
||||
sakura
|
||||
|
||||
tango-icon-theme
|
13
pkg.in/lists/tagged/desktop+lxde+extra
Normal file
13
pkg.in/lists/tagged/desktop+lxde+extra
Normal file
@@ -0,0 +1,13 @@
|
||||
tango-icon-theme-extras
|
||||
|
||||
leafpad
|
||||
galculator
|
||||
deadbeef
|
||||
mtpaint
|
||||
parcellite
|
||||
|
||||
# gqview has thumbnails support, gpicview doesn't
|
||||
gqview
|
||||
|
||||
# file-roller is recommended over xarchiver and not that fatty yet
|
||||
file-roller
|
@@ -35,7 +35,7 @@ mate-power-manager
|
||||
mate-screensaver
|
||||
mate-terminal
|
||||
mate-utils
|
||||
mate-utils-mate-system-log
|
||||
#mate-utils-mate-system-log
|
||||
|
||||
mate-file-manager-extensions
|
||||
mate-file-manager-image-converter
|
||||
@@ -45,6 +45,5 @@ parcellite
|
||||
|
||||
### should be dropped at some stage; see bugreports within this thread:
|
||||
# http://lists.altlinux.org/pipermail/sisyphus/2012-August/358079.html
|
||||
libmatekbd-capplet
|
||||
iso-codes
|
||||
tzdata
|
||||
|
10
pkg.in/lists/tagged/desktop+nm
Normal file
10
pkg.in/lists/tagged/desktop+nm
Normal file
@@ -0,0 +1,10 @@
|
||||
NetworkManager
|
||||
NetworkManager-vpnc
|
||||
NetworkManager-openvpn
|
||||
NetworkManager-pptp
|
||||
#NetworkManager-l2tp
|
||||
NetworkManager-openvpn-gnome
|
||||
NetworkManager-pptp-gnome
|
||||
NetworkManager-vpnc-gnome
|
||||
#NetworkManager-l2tp-gnome
|
||||
usb-modeswitch
|
23
pkg.in/lists/tagged/desktop+regular
Normal file
23
pkg.in/lists/tagged/desktop+regular
Normal file
@@ -0,0 +1,23 @@
|
||||
synaptic
|
||||
|
||||
alterator-browser-qt
|
||||
alterator-standalone
|
||||
|
||||
alterator-root
|
||||
alterator-users
|
||||
alterator-auth
|
||||
alterator-nsswitch
|
||||
|
||||
alterator-net-general
|
||||
alterator-net-pppoe
|
||||
alterator-net-pptp
|
||||
alterator-net-openvpn
|
||||
alterator-net-eth
|
||||
alterator-net-wifi
|
||||
|
||||
alterator-net-shares
|
||||
alterator-proxy
|
||||
|
||||
#alterator-datetime
|
||||
|
||||
system-config-printer
|
@@ -1,12 +1,2 @@
|
||||
xfce4-taskmanager
|
||||
xfce4-appfinder
|
||||
xfce4-settings
|
||||
xfcalendar
|
||||
xfce4-mixer
|
||||
gst-plugins-base
|
||||
xfce4-minimal
|
||||
xfce4-panel
|
||||
xfce4-icon-theme
|
||||
xfce4-session
|
||||
xfconf-utils
|
||||
Thunar
|
||||
xfce4-full
|
||||
gnome-icon-theme
|
||||
|
3
pkg.in/lists/tagged/security+luks
Normal file
3
pkg.in/lists/tagged/security+luks
Normal file
@@ -0,0 +1,3 @@
|
||||
make-initrd-luks
|
||||
alterator-luks
|
||||
cryptsetup
|
Reference in New Issue
Block a user