Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37517066
en ru br
ALT Linux repositórios
S:0.7.7-alt1
5.0: 0.1-alt5
4.1: 0.1-alt4.M41.5
4.0: 0.1-alt1

Group :: Sistema/Configurações/Rede
RPM: installer-feature-desktop-other-fs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

installer-feature-desktop-other-fs-0.7.4/000075500000000000000000000000001226753142300203475ustar00rootroot00000000000000installer-feature-desktop-other-fs-0.7.4/Makefile000064400000000000000000000004121226753142300220040ustar00rootroot00000000000000install2_dir=$(datadir)/install2

install:
install -d $(install2_dir)
[ -d initinstall.d ] && cp -a initinstall.d $(install2_dir) ||:
[ -d preinstall.d ] && cp -a preinstall.d $(install2_dir) ||:
[ -d postinstall.d ] && cp -a postinstall.d $(install2_dir) ||:
installer-feature-desktop-other-fs-0.7.4/preinstall.d/000075500000000000000000000000001226753142300227465ustar00rootroot00000000000000installer-feature-desktop-other-fs-0.7.4/preinstall.d/40-add-partitions000075500000000000000000000025751226753142300260500ustar00rootroot00000000000000#!/bin/sh -fu
# add any extra filesystems (currently excluding evms, md block devices);
# this implementation counts on a file created by
# installer-scripts-remount-stage2 >= 0.4-alt1
# FIXME: needs rewrite according to http://bugzilla.altlinux.org/29005

[ -s /tmp/blkid.dm ] || exit 0

a= . install2-init-functions
. /etc/sysconfig/i18n

# current alterator-vm always yields UUIDs in fstab
( cut -f1 < "$destdir/etc/fstab" | grep ^UUID \
| sed 's/UUID=\([^ ]*\)/UUID="\1"/'
echo -e "\\<swap\\>\n\\<mdraid\\>"
echo -e "\\<swsuspend\\>"
echo -e "LVM2_member"
echo -e "linux_raid_member"
echo -e "crypto_LUKS"
echo -e "/dev/dm-\n/dev/evms/\n/dev/md[0-9]"
) > /tmp/fstab_excludes

# created by installer itself
[ ! -s /tmp/removable ] || cat /tmp/removable >> /tmp/fstab_excludes

# FIXME: cyrillic-slated, see also http://bugzilla.altlinux.org/11952
# FIXME: /mnt vs /media?
grep '\<UUID=' /tmp/blkid.dm \
| grep -vE -f /tmp/fstab_excludes \
| sed 's#/dev/mapper/\(\S*\):.*[[:blank:]]UUID="\([0-9a-zA-Z\-]*\)".*[[:blank:]]TYPE="\([0-9a-z]*\)".*#UUID=\2\t/mnt/\1\t\3 defaults 0 0#' \
| sed -e "s#vfat defaults#vfat showexec,quiet,codepage=866,iocharset=utf8,umask=0#" \
-e "s#ntfs defaults#ntfs-3g ${LANG:+locale=$LANG,}nofail,comment=x-gvfs-show,dmask=0,fmask=0111#" \
| tee -a "$destdir/etc/fstab" \
| cut -f2 \
| sed -n 's,^/mnt,/mnt/destination&,p' \
| xargs -r -n 1 mkdir -p ||:
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009