Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
1af5812a09 | ||
|
f187645ba4 | ||
|
140b89c211 | ||
|
305e7e8fde | ||
|
bc2789e9d6 | ||
|
ba84ab0ae3 | ||
|
0e31d305ae | ||
|
c601706517 |
@@ -1,5 +1,5 @@
|
||||
Name: mkimage-profiles
|
||||
Version: 1.0.4
|
||||
Version: 1.0.6
|
||||
Release: alt0.M70T.1
|
||||
|
||||
Summary: ALT Linux based distribution metaprofile
|
||||
@@ -78,6 +78,12 @@ cp -a * %buildroot%mpdir
|
||||
%doc %docs/*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 07 2015 Michael Shigorin <mike@altlinux.org> 1.0.6-alt0.M70T.1
|
||||
- mktmpdir: fixed sort key
|
||||
|
||||
* Mon Feb 02 2015 Michael Shigorin <mike@altlinux.org> 1.0.5-alt0.M70T.1
|
||||
- backported pkg/lists fix (and the commit before it)
|
||||
|
||||
* Mon Mar 17 2014 Michael Shigorin <mike@altlinux.org> 1.0.4-alt0.M70T.1
|
||||
- kernel: don't insist on k-m-r8168
|
||||
|
||||
|
6
.gear/tags/4817a708672e35513e7c25a38d8646a61ed10179
Normal file
6
.gear/tags/4817a708672e35513e7c25a38d8646a61ed10179
Normal file
@@ -0,0 +1,6 @@
|
||||
object bc2789e9d6f4c23270b5ac7f9f31c257620259a1
|
||||
type commit
|
||||
tag v1.0.5
|
||||
tagger Michael Shigorin <mike@altlinux.org> 1422909897 +0300
|
||||
|
||||
lists fix backported
|
@@ -1,6 +0,0 @@
|
||||
object ee09a917e86302594b3611bdc196af8aa8121094
|
||||
type commit
|
||||
tag v1.0.3
|
||||
tagger Michael Shigorin <mike@altlinux.org> 1393863286 +0400
|
||||
|
||||
vm fixes
|
@@ -1 +1 @@
|
||||
ccc5ff5be43f0e54ed18fa6f39bc97e72483b681 v1.0.3
|
||||
4817a708672e35513e7c25a38d8646a61ed10179 v1.0.5
|
||||
|
@@ -45,7 +45,7 @@ choose_tmpdir() {
|
||||
echo -n "$i "
|
||||
df -PT "$i" | tail -1
|
||||
done \
|
||||
| sort -unk6 \
|
||||
| sort -unk5 \
|
||||
| while read dir dev fstype size used free percent mnt; do
|
||||
check_options "$dev" "$mnt" || continue
|
||||
[ "$free" -gt "$MINSIZE" ] || continue
|
||||
|
@@ -3,6 +3,7 @@
|
||||
# tar2vm chroot.tar image.raw [size_in_bytes]
|
||||
|
||||
. shell-error
|
||||
export LANG=C
|
||||
|
||||
if [ $# -lt 2 ]; then
|
||||
fatal "error: tar2vm needs at least two arguments"
|
||||
@@ -109,8 +110,8 @@ chroot "$ROOTFS" make-initrd -k "$KERNEL"
|
||||
sed -i "s,$LOOPDEV1,$ROOTDEV," "$ROOTFS/etc/fstab"
|
||||
|
||||
# configure and install bootloader
|
||||
REGEXP='^Disk .*: ([0-9]+) cylinders, ([0-9]+) heads, ([0-9]+) sectors/track*$'
|
||||
set -- $(sfdisk -l "$LOOPDEV" | grep -E "$REGEXP" | sed -r "s@$REGEXP@\1 \2 \3@")
|
||||
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@")
|
||||
|
||||
LILO_COMMON="lba32
|
||||
delay=1
|
||||
|
@@ -21,13 +21,12 @@ TARGET := $(BUILDDIR)/$(SUFFIX)
|
||||
all: $(TARGET) $(GLOBAL_DEBUG) $(DOTBASE) copy-lists copy-groups
|
||||
@mp-commit "$(TARGET)" "requested $(SUFFIX) copied over"
|
||||
|
||||
# env | sort -u | grep _LISTS | xargs cp
|
||||
copy-lists:
|
||||
@# env | sort -u | grep _LISTS | xargs cp
|
||||
@$(foreach V, \
|
||||
$(filter %_LISTS,$(sort $(.VARIABLES))), \
|
||||
$(if $(filter environment% file,$(origin $V)),\
|
||||
$(shell cp --parents -at $(TARGET) \
|
||||
-- $(value $V))))
|
||||
@cp --parents -at $(TARGET) -- \
|
||||
$(foreach V, \
|
||||
$(filter %_LISTS,$(sort $(.VARIABLES))), \
|
||||
$(if $(filter environment% file,$(origin $V)),$($V)))
|
||||
|
||||
copy-groups:
|
||||
@if [ -n "$(THE_GROUPS)$(MAIN_GROUPS)" ]; then \
|
||||
@@ -43,6 +42,6 @@ debug:
|
||||
@echo -e $(foreach V, \
|
||||
$(filter %_LISTS,$(sort $(.VARIABLES))), \
|
||||
$(if $(filter environment% file,$(origin $V)),\
|
||||
$(shell echo '\\n"**"' $V: $(value $V)))) '\n'
|
||||
$(shell echo '\\n"**"' $V: $($V)))) '\n'
|
||||
|
||||
endif
|
||||
|
Reference in New Issue
Block a user