Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37766792
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.1/000075500000000000000000000000001077765337300202145ustar00rootroot00000000000000installer-feature-desktop-other-fs-0.1/Makefile000064400000000000000000000004121077765337300216510ustar00rootroot00000000000000install2_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.1/preinstall.d/000075500000000000000000000000001077765337300226135ustar00rootroot00000000000000installer-feature-desktop-other-fs-0.1/preinstall.d/40-add-partitions000075500000000000000000000016361077765337300257120ustar00rootroot00000000000000#!/bin/sh -efu
# add any extra filesystems (currently excluding evms, md block devices)

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

# current alterator-vm would always yield UUIDs in fstab
( cut -f1 < "$destdir/etc/fstab" | grep ^UUID
echo -e "\\<swap\\>\n\\<mdraid\\>"
echo -e "/dev/dm-\n/dev/evms/\n/dev/md[0-9]"
) > /tmp/fstab_excludes

# FIXME: cyrillic-slated
# see also https://bugzilla.altlinux.org/show_bug.cgi?id=11952
blkid \
| grep '\<UUID=' \
| grep -vE -f /tmp/fstab_excludes \
| sed 's#/dev/\([0-9a-z/-]*\).*UUID="\([0-9a-zA-Z\-]*\)".*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 locale=$LANG,dmask=0,fmask=0111#" \
>> "$destdir/etc/fstab"

# FIXME: /mnt vs /media?
cut -f2 < "$destdir/etc/fstab" \
| sed -n 's,^/mnt,/mnt/destination&,p' \
| xargs -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