forked from altcloud/mkimage-profiles
Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
eb569544ca | ||
|
77f1459f52 | ||
|
28f7f9be27 | ||
|
cec6b26207 | ||
|
96bdf36935 | ||
|
c12f0c17bc | ||
|
5834dac8c8 | ||
|
6a554e21ab | ||
|
313b279d40 | ||
|
ad264c7033 | ||
|
ec8bcac5ff | ||
|
3161ec500b | ||
|
458d72b8c3 | ||
|
d83eb78762 | ||
|
61ead13d3a | ||
|
d9ae996571 |
@@ -1,5 +1,5 @@
|
|||||||
Name: mkimage-profiles
|
Name: mkimage-profiles
|
||||||
Version: 0.9.6
|
Version: 0.9.7
|
||||||
Release: alt1
|
Release: alt1
|
||||||
|
|
||||||
Summary: ALT Linux based distribution metaprofile
|
Summary: ALT Linux based distribution metaprofile
|
||||||
@@ -78,6 +78,9 @@ cp -a * %buildroot%mpdir
|
|||||||
%doc %docs/*
|
%doc %docs/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Mon Feb 04 2013 Michael Shigorin <mike@altlinux.org> 0.9.6-alt1
|
||||||
- assorted fixes
|
- assorted fixes
|
||||||
|
|
||||||
|
@@ -1,6 +0,0 @@
|
|||||||
object b74ad4d592498d38a81757d4534afecd9b18a8bf
|
|
||||||
type commit
|
|
||||||
tag v0.9.5
|
|
||||||
tagger Michael Shigorin <mike@altlinux.org> 1358785513 +0200
|
|
||||||
|
|
||||||
homeros
|
|
6
.gear/tags/a3ac943cc53163809f63f514f0f0cc33fff19119
Normal file
6
.gear/tags/a3ac943cc53163809f63f514f0f0cc33fff19119
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
object 5fcc2aaa78b5704b4bc4ec448322680efa2cc332
|
||||||
|
type commit
|
||||||
|
tag v0.9.6
|
||||||
|
tagger Michael Shigorin <mike@altlinux.org> 1360001972 +0400
|
||||||
|
|
||||||
|
assorted fixes
|
@@ -1 +1 @@
|
|||||||
486bf7868d0df7b513fbfe0b048b84d15b177297 v0.9.5
|
a3ac943cc53163809f63f514f0f0cc33fff19119 v0.9.6
|
||||||
|
@@ -3,13 +3,19 @@
|
|||||||
|
|
||||||
. shell-error
|
. shell-error
|
||||||
|
|
||||||
|
INIT=
|
||||||
|
if [ "$1" = "-i" ]; then
|
||||||
|
INIT=yes
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
[ -d "$1" ] || fatal "$1 is not an existing directory"
|
[ -d "$1" ] || fatal "$1 is not an existing directory"
|
||||||
|
|
||||||
if type -t git >&/dev/null && pushd "$1" >/dev/null; then
|
if type -t git >&/dev/null && pushd "$1" >/dev/null; then
|
||||||
if [ -z "$(git config --global user.name)" ]; then
|
if [ -z "$(git config --global user.name)" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [ ! -d .git ]; then
|
if [ -n "$INIT" -a ! -d .git ]; then
|
||||||
git init -q || fatal "git init failed"
|
git init -q || fatal "git init failed"
|
||||||
fi
|
fi
|
||||||
if [ -n "$(git status -s)" ]; then
|
if [ -n "$(git status -s)" ]; then
|
||||||
|
@@ -4,15 +4,20 @@ ifeq (distro,$(IMAGE_CLASS))
|
|||||||
# TODO: use/plymouth/live when luks+plymouth is done, see also #28255
|
# TODO: use/plymouth/live when luks+plymouth is done, see also #28255
|
||||||
distro/.regular-desktop: distro/.base +live +wireless use/live/ru \
|
distro/.regular-desktop: distro/.base +live +wireless use/live/ru \
|
||||||
use/live/install use/live/repo use/x11/3d-free use/systemd \
|
use/live/install use/live/repo use/x11/3d-free use/systemd \
|
||||||
use/firmware/wireless use/efi/signed use/luks +plymouth \
|
use/firmware/wireless use/efi/signed use/luks \
|
||||||
+vmguest use/memtest use/branding use/syslinux/ui/gfxboot
|
+vmguest use/memtest use/branding use/syslinux/ui/gfxboot
|
||||||
@$(call add,LIVE_LISTS,$(call tags,base regular))
|
@$(call add,LIVE_LISTS,$(call tags,base regular))
|
||||||
@$(call add,LIVE_LISTS,$(call tags,rescue extra))
|
@$(call add,LIVE_LISTS,$(call tags,rescue extra))
|
||||||
|
@$(call add,LIVE_LISTS,domain-client)
|
||||||
|
@$(call add,STAGE1_PACKAGES,udev-rule-generator-net)
|
||||||
|
@$(call add,STAGE2_PACKAGES,udev-rule-generator-net)
|
||||||
@$(call add,THE_BRANDING,indexhtml notes alterator bootloader)
|
@$(call add,THE_BRANDING,indexhtml notes alterator bootloader)
|
||||||
@$(call set,KFLAVOURS,std-def)
|
@$(call set,KFLAVOURS,std-def)
|
||||||
|
@$(call add,KMODULES,r8168)
|
||||||
@$(call try,SAVE_PROFILE,yes)
|
@$(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
|
distro/regular-icewm: distro/.regular-gtk +icewm use/efi/refind
|
||||||
@$(call add,LIVE_PACKAGES,xxkb mutt)
|
@$(call add,LIVE_PACKAGES,xxkb mutt)
|
||||||
@@ -22,7 +27,6 @@ distro/regular-lxde: distro/.regular-gtk use/x11/lxde; @:
|
|||||||
|
|
||||||
distro/regular-mate: distro/.regular-gtk
|
distro/regular-mate: distro/.regular-gtk
|
||||||
@$(call add,LIVE_LISTS,$(call tags,(desktop || mobile) && (mate || nm)))
|
@$(call add,LIVE_LISTS,$(call tags,(desktop || mobile) && (mate || nm)))
|
||||||
@$(call add,THE_BRANDING,graphics)
|
|
||||||
|
|
||||||
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,LIVE_PACKAGES,xterm xorg-xnest)
|
||||||
@@ -32,14 +36,15 @@ distro/regular-cinnamon: distro/.regular-desktop use/x11/cinnamon
|
|||||||
|
|
||||||
distro/regular-gnome3: distro/.regular-desktop use/x11/gnome3; @:
|
distro/regular-gnome3: distro/.regular-desktop use/x11/gnome3; @:
|
||||||
|
|
||||||
distro/regular-tde: distro/.regular-desktop +tde
|
distro/regular-tde: distro/.regular-desktop +tde +plymouth
|
||||||
@$(call add,LIVE_LISTS,$(call tags,desktop nm))
|
@$(call add,LIVE_LISTS,$(call tags,desktop nm))
|
||||||
@$(call add,LIVE_PACKAGES,kdegames kdeedu)
|
@$(call add,LIVE_PACKAGES,kdegames kdeedu)
|
||||||
|
|
||||||
distro/regular-kde4: distro/.regular-desktop use/x11/kde4 use/x11/kdm4
|
distro/regular-kde4: distro/.regular-desktop use/x11/kde4 use/x11/kdm4 +plymouth
|
||||||
@$(call add,LIVE_PACKAGES,kde4-regular)
|
@$(call add,LIVE_PACKAGES,kde4-regular)
|
||||||
@$(call add,LIVE_PACKAGES,plasma-applet-networkmanager)
|
@$(call add,LIVE_PACKAGES,plasma-applet-networkmanager)
|
||||||
|
|
||||||
distro/regular-razorqt: distro/.regular-desktop use/x11/razorqt use/x11/kdm4; @:
|
distro/regular-razorqt: distro/.regular-desktop use/x11/razorqt use/x11/kdm4 \
|
||||||
|
+plymouth; @:
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@@ -11,7 +11,7 @@ distro/server-nano: distro/.server-base \
|
|||||||
|
|
||||||
distro/server-mini: distro/.server-base use/server/mini \
|
distro/server-mini: distro/.server-base use/server/mini \
|
||||||
use/cleanup/x11-alterator use/efi
|
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 \
|
distro/server-ovz: distro/server-mini use/install2/net use/hdt use/rescue \
|
||||||
use/firmware/server use/firmware/wireless use/power/acpi/button
|
use/firmware/server use/firmware/wireless use/power/acpi/button
|
||||||
|
@@ -9,7 +9,7 @@ use/efi:
|
|||||||
@$(call add,RESCUE_LISTS,$(EFI_LISTS))
|
@$(call add,RESCUE_LISTS,$(EFI_LISTS))
|
||||||
@$(call add,THE_PACKAGES,$$(EFI_SHELL))
|
@$(call add,THE_PACKAGES,$$(EFI_SHELL))
|
||||||
@$(call add,RESCUE_PACKAGES,refind $$(EFI_SHELL))
|
@$(call add,RESCUE_PACKAGES,refind $$(EFI_SHELL))
|
||||||
@$(call add,INSTALL2_PACKAGES,dosfstools)
|
@$(call add,INSTALL2_PACKAGES,dosfstools fatresize)
|
||||||
@$(call try,EFI_BOOTLOADER,elilo) # default one
|
@$(call try,EFI_BOOTLOADER,elilo) # default one
|
||||||
|
|
||||||
use/efi/refind: use/efi
|
use/efi/refind: use/efi
|
||||||
|
@@ -33,6 +33,7 @@ livecd-hostname
|
|||||||
livecd-save-nfs
|
livecd-save-nfs
|
||||||
livecd-setauth
|
livecd-setauth
|
||||||
livecd-setlocale
|
livecd-setlocale
|
||||||
|
livecd-net-eth
|
||||||
network
|
network
|
||||||
NetworkManager
|
NetworkManager
|
||||||
connman
|
connman
|
||||||
|
@@ -23,6 +23,18 @@ DOMAINNAME="localdomain"
|
|||||||
verbose "Init /etc/hosts with 127.0.0.1 localhost"
|
verbose "Init /etc/hosts with 127.0.0.1 localhost"
|
||||||
echo "127.0.0.1 localhost localhost.localdomain" > /etc/hosts
|
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"
|
netcfg="/etc/sysconfig/network"
|
||||||
|
|
||||||
verbose "Enable networking, set hostname to $HOSTNAME, domainname to $DOMAINNAME"
|
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" HOSTNAME "$HOSTNAME"
|
||||||
shell_config_set "$netcfg" DOMAINNAME "$DOMAINNAME"
|
shell_config_set "$netcfg" DOMAINNAME "$DOMAINNAME"
|
||||||
|
|
||||||
|
# NB: see also #28484 and livecd-net-eth for runtime configuration
|
||||||
if [ -x /usr/sbin/NetworkManager ] ; then
|
defcfg="$prefix/default/options-eth"
|
||||||
verbose "Setup defaults for NetworkManager"
|
if [ -x /usr/sbin/NetworkManager -o -x /usr/sbin/connmand ] ; then
|
||||||
shell_config_set /etc/net/ifaces/default/options-eth NM_CONTROLLED yes
|
verbose "Setup defaults for NetworkManager/connman"
|
||||||
shell_config_set /etc/net/ifaces/default/options-eth DISABLED yes
|
shell_config_set "$defcfg" NM_CONTROLLED yes
|
||||||
shell_config_set /etc/net/ifaces/default/options-eth BOOTPROTO dhcp
|
shell_config_set "$defcfg" DISABLED yes
|
||||||
|
shell_config_set "$defcfg" BOOTPROTO dhcp
|
||||||
else
|
else
|
||||||
# attempt to autoconfigure ethernet by etcnet
|
# 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"
|
verbose "configuring DHCP for eth0"
|
||||||
|
mkdir -p "$prefix"/eth0 && {
|
||||||
mkdir -p /etc/net/ifaces/eth0 && {
|
|
||||||
echo TYPE=eth
|
echo TYPE=eth
|
||||||
echo BOOTPROTO=dhcp
|
echo BOOTPROTO=dhcp
|
||||||
} > /etc/net/ifaces/eth0/options
|
} > "$prefix"/eth0/options
|
||||||
else
|
else
|
||||||
verbose "NOT configuring eth0 for DHCP"
|
verbose "NOT configuring eth0 for DHCP"
|
||||||
fi
|
fi
|
||||||
|
@@ -82,7 +82,7 @@ bootargs: clean
|
|||||||
|
|
||||||
clean: copy
|
clean: copy
|
||||||
@if [ "$(SYSLINUX_UI)" = gfxboot ]; then \
|
@if [ "$(SYSLINUX_UI)" = gfxboot ]; then \
|
||||||
sed -i "s,\^,," $(DSTDIR)/*.cfg; \
|
sed -i "s/\^//;/menu label /d" $(DSTDIR)/*.cfg; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
copy: prep
|
copy: prep
|
||||||
|
2
image.in/.gitignore
vendored
2
image.in/.gitignore
vendored
@@ -1 +1,3 @@
|
|||||||
build.log
|
build.log
|
||||||
|
reports
|
||||||
|
out
|
||||||
|
@@ -65,7 +65,7 @@ profile/init: distclean
|
|||||||
fi >&2; \
|
fi >&2; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
mp-commit "$(BUILDDIR)" "derivative profile initialized"; \
|
mp-commit -i "$(BUILDDIR)" "derivative profile initialized"; \
|
||||||
if [ -w . ]; then \
|
if [ -w . ]; then \
|
||||||
rm -f "$(SYMLINK)" && \
|
rm -f "$(SYMLINK)" && \
|
||||||
ln -s "$(BUILDDIR)" "$(SYMLINK)" && \
|
ln -s "$(BUILDDIR)" "$(SYMLINK)" && \
|
||||||
|
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
|
||||||
|
|
@@ -1,5 +1,6 @@
|
|||||||
gdisk
|
gdisk
|
||||||
parted
|
parted
|
||||||
|
fatresize
|
||||||
dosfstools
|
dosfstools
|
||||||
grub2-efi
|
grub2-efi
|
||||||
elilo
|
elilo
|
||||||
|
@@ -5,6 +5,7 @@ strace
|
|||||||
powertop
|
powertop
|
||||||
acpi
|
acpi
|
||||||
|
|
||||||
|
livecd-net-eth
|
||||||
livecd-online-repo
|
livecd-online-repo
|
||||||
apt-repo
|
apt-repo
|
||||||
update-kernel
|
update-kernel
|
||||||
|
Reference in New Issue
Block a user