Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
061f299fa1 | ||
|
e52e21781f | ||
|
0e8871e7b4 | ||
|
e064954e93 | ||
|
83fa2544bc | ||
|
d0cb988897 | ||
|
84591991cb | ||
|
d2581522d9 | ||
|
705a20938a | ||
|
f54a5660d1 | ||
|
e0a849e974 | ||
|
b5e5d4f223 |
@@ -1,5 +1,5 @@
|
||||
Name: mkimage-profiles
|
||||
Version: 0.8.0
|
||||
Version: 0.8.1
|
||||
Release: alt1
|
||||
|
||||
Summary: ALT Linux based distribution metaprofile
|
||||
@@ -61,6 +61,9 @@ cp -a * %buildroot%mpdir
|
||||
%doc README QUICKSTART
|
||||
|
||||
%changelog
|
||||
* Mon Sep 03 2012 Michael Shigorin <mike@altlinux.org> 0.8.1-alt1
|
||||
- misc fixes
|
||||
|
||||
* Mon Aug 13 2012 Michael Shigorin <mike@altlinux.org> 0.8.0-alt1
|
||||
- stage2@live
|
||||
|
||||
|
@@ -1,6 +0,0 @@
|
||||
object 55fda1a044b132323a5b7fbbf109d0dbd9ea69fc
|
||||
type commit
|
||||
tag v0.7.6
|
||||
tagger Michael Shigorin <mike@altlinux.org> 1344283455 +0400
|
||||
|
||||
improvements
|
6
.gear/tags/d21fc0e7ffbe1e99ade184ab13b5fe649a103610
Normal file
6
.gear/tags/d21fc0e7ffbe1e99ade184ab13b5fe649a103610
Normal file
@@ -0,0 +1,6 @@
|
||||
object d1bbbbc10be5df925dd677f7956ed06821192866
|
||||
type commit
|
||||
tag v0.8.0
|
||||
tagger Michael Shigorin <mike@altlinux.org> 1344884693 +0300
|
||||
|
||||
stage2@live
|
@@ -1 +1 @@
|
||||
8c1ac8f38121c21dfeb04a0c38fa9b95bb7d1f32 v0.7.6
|
||||
d21fc0e7ffbe1e99ade184ab13b5fe649a103610 v0.8.0
|
||||
|
@@ -1,4 +1,6 @@
|
||||
#!/bin/bash -e
|
||||
# usage:
|
||||
# tar2vm chroot.tar image.raw [size_in_bytes]
|
||||
|
||||
. shell-error
|
||||
|
||||
@@ -27,7 +29,7 @@ IMG="$2"
|
||||
|
||||
# image size in bytes (256M is a fallback)
|
||||
TARSIZE="$(stat -Lc %s "$TAR")"
|
||||
DEFSIZE="$((3 * $TARSIZE / 2))"
|
||||
DEFSIZE="$((2 * $TARSIZE))"
|
||||
DISKSIZE="${3:-${DEFSIZE:-268435456}}"
|
||||
# ...and in megabytes
|
||||
DISKSIZEM="$(($DISKSIZE / 1048576))"
|
||||
|
@@ -57,7 +57,8 @@ distro/live-cinnamon: distro/.live-desktop use/live/autologin use/live/ru \
|
||||
use/x11/cinnamon use/x11/3d-proprietary; @:
|
||||
|
||||
distro/live-mate: distro/.live-desktop use/live/nodm use/live/ru use/x11/3d-free
|
||||
@$(call add,LIVE_LISTS,$(call tags,(desktop || mobile) && mate))
|
||||
@$(call add,LIVE_LISTS,openssh $(call tags,(desktop || mobile) && mate))
|
||||
@$(call set,KFLAVOURS,un-def) # the newest one
|
||||
|
||||
distro/live-enlightenment: distro/.live-desktop use/live/autologin \
|
||||
use/live/ru use/x11/3d-free
|
||||
|
@@ -18,6 +18,10 @@ distro/live-isomd5sum: distro/.base use/live/base use/isomd5sum
|
||||
distro/live-testserver: distro/live-install use/server/mini
|
||||
@$(call set,KFLAVOURS,std-def el-smp)
|
||||
|
||||
distro/live-gns3: distro/live-icewm
|
||||
@$(call add,LIVE_LISTS,gns3)
|
||||
@$(call add,LIVE_KMODULES,kvm virtualbox)
|
||||
|
||||
distro/server-systemd: distro/server-mini use/systemd
|
||||
@$(call set,KFLAVOURS,std-def)
|
||||
|
||||
@@ -28,6 +32,7 @@ distro/server-ovz-netinst: distro/.base sub/stage1 use/stage2 \
|
||||
|
||||
distro/desktop-systemd: distro/icewm use/systemd; @:
|
||||
distro/desktop-plymouth: distro/icewm +plymouth; @:
|
||||
distro/live-mate-systemd: distro/live-mate use/systemd use/live/install; @:
|
||||
|
||||
endif # IMAGE_CLASS: distro
|
||||
|
||||
|
@@ -1,9 +1,9 @@
|
||||
# virtual machines
|
||||
ifeq (vm,$(IMAGE_CLASS))
|
||||
|
||||
# NB: use/x11 employs some installer-feature packages
|
||||
vm/icewm: vm/bare use/cleanup/installer use/x11/xdm +icewm; @:
|
||||
|
||||
vm/net: vm/bare use/vm-net/dhcp use/vm-ssh; @:
|
||||
|
||||
# NB: use/x11 employs some installer-feature packages
|
||||
vm/icewm: vm/net use/cleanup/installer use/repo +icewm; @:
|
||||
|
||||
endif
|
||||
|
@@ -106,6 +106,11 @@
|
||||
- пусто (по умолчанию) либо строка (например, "alpha", "beta")
|
||||
+ см. ../image.in/Makefile
|
||||
|
||||
- VM_SIZE
|
||||
+ задаёт размер несжатого образа виртуальной машины в байтах
|
||||
+ значение: пусто (по умолчанию двойной размер чрута) или целое
|
||||
+ см. ../features.in/build-vm/lib/90-build-vm.mk, ../bin/tar2vm
|
||||
|
||||
пример
|
||||
~~~~~~
|
||||
make DEBUG=1 CLEAN=1 distro/syslinux.iso
|
||||
|
@@ -1,4 +1,4 @@
|
||||
###
|
||||
use/kernel:
|
||||
@$(call add_feature)
|
||||
@$(call set,KFLAVOURS,std-def)
|
||||
@$(call set,KFLAVOURS,un-def)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
+plymouth: use/plymouth/full; @:
|
||||
|
||||
# and a few silent aliases
|
||||
use/plymouth/live: use/plymouth/stage2
|
||||
use/plymouth/install2: use/plymouth/stage2
|
||||
# and a few aliases
|
||||
use/plymouth/live: use/plymouth/stage2; @:
|
||||
use/plymouth/install2: use/plymouth/stage2; @:
|
||||
|
||||
use/plymouth:
|
||||
@$(call add_feature)
|
||||
|
20
features.in/repo/image-scripts.d/90-enable-repo
Executable file
20
features.in/repo/image-scripts.d/90-enable-repo
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
# enable online repos if possible, just quit if anything's wrong
|
||||
|
||||
repo_source='/etc/apt/sources.list.d/alt.list'
|
||||
host='http://ftp.altlinux.org'
|
||||
|
||||
[ -s "$repo_source" ] || exit 0
|
||||
|
||||
# regexps from alterator-pkg (via installer-feature-online-repo)
|
||||
prefix_re="[[:space:]]*rpm[[:space:]]\+\([^[:space:]]\+[[:space:]]\+\)\?"
|
||||
updates_re="${prefix_re}http:\/\/\([^[:space:]]\+\)[[:space:]]*"
|
||||
|
||||
# architectures
|
||||
host_arch="$(rpm --eval '%_host_cpu')"
|
||||
[ "$host_arch" = "x86_64" ] && compat="x86_64-i586" || compat=
|
||||
|
||||
# turn on unconditionally
|
||||
for arch in "$host_arch" noarch "$compat"; do
|
||||
sed -i "s/^#\($updates_re$arch\)/\1/" "$repo_source"
|
||||
done
|
@@ -1,4 +1,4 @@
|
||||
use/systemd:
|
||||
@$(call add_feature)
|
||||
@$(call add,COMMON_PACKAGES,systemd systemd-units systemd-sysvinit)
|
||||
@$(call add,COMMON_PACKAGES,installer-feature-systemd-stage3)
|
||||
@$(call add,COMMON_PACKAGES,installer-feature-systemd-stage3 chkconfig)
|
||||
|
6
image.in/image-scripts.d/01rootdir
Executable file
6
image.in/image-scripts.d/01rootdir
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# fixup chroot's toplevel directory permissions (use to become 1775)
|
||||
|
||||
chmod 755 /
|
||||
|
||||
rm -f /.gitignore
|
@@ -8,7 +8,7 @@ ifeq (vm,$(IMAGE_CLASS))
|
||||
|
||||
vm/.bare: profile/bare
|
||||
@$(call add,BASE_PACKAGES,interactivesystem lilo shadow-utils e2fsprogs)
|
||||
@$(call set,KFLAVOURS,std-def)
|
||||
@$(call set,KFLAVOURS,un-def)
|
||||
|
||||
vm/bare: vm/.bare
|
||||
@$(call add,BASE_PACKAGES,apt)
|
||||
|
15
pkg.in/lists/gns3
Normal file
15
pkg.in/lists/gns3
Normal file
@@ -0,0 +1,15 @@
|
||||
gns3
|
||||
|
||||
dynamips
|
||||
dynagen
|
||||
|
||||
qemu
|
||||
qemu-kvm
|
||||
virtualbox
|
||||
|
||||
wireshark
|
||||
|
||||
su
|
||||
|
||||
livecd-virtualbox
|
||||
livecd-online-repo
|
@@ -3,3 +3,4 @@ xinit
|
||||
xinitrc
|
||||
livecd-setlocale
|
||||
installer-feature-runlevel5-stage3
|
||||
su
|
||||
|
@@ -15,6 +15,36 @@ mate-session
|
||||
#mate-session-manager
|
||||
mate-settings-daemon
|
||||
mate-themes
|
||||
mate-vfs
|
||||
mate-vfs gvfs-backends
|
||||
mate-vfs-smb
|
||||
mate-window-manager
|
||||
|
||||
mate-applets
|
||||
mate-bluetooth
|
||||
mate-calc
|
||||
mate-charmap
|
||||
mate-document-viewer
|
||||
mate-document-viewer-caja
|
||||
mate-document-viewer-djvu
|
||||
mate-file-archiver
|
||||
mate-image-viewer
|
||||
mate-media
|
||||
mate-media-apps
|
||||
mate-netspeed
|
||||
mate-power-manager
|
||||
mate-screensaver
|
||||
mate-terminal
|
||||
mate-utils
|
||||
mate-utils-mate-system-log
|
||||
|
||||
mate-file-manager-extensions
|
||||
mate-file-manager-image-converter
|
||||
mate-file-manager-open-terminal
|
||||
mate-file-manager-sendto
|
||||
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
|
||||
|
@@ -75,6 +75,7 @@ arpwatch
|
||||
elinks
|
||||
hostinfo
|
||||
iftop
|
||||
ipmitool
|
||||
iproute2
|
||||
iptables
|
||||
iputils
|
||||
|
6
sub.in/stage2/image-scripts.d/01rootdir
Executable file
6
sub.in/stage2/image-scripts.d/01rootdir
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# fixup chroot's toplevel directory permissions (use to become 1775)
|
||||
|
||||
chmod 755 /
|
||||
|
||||
rm -f /.gitignore
|
Reference in New Issue
Block a user