summaryrefslogtreecommitdiffstats
path: root/urpm/removable.pm
Commit message (Collapse)AuthorAgeFilesLines
* correctly name function since it's outside of its modulePascal Rigaux2008-03-031-2/+2
|
* require urpm::cdrom where neededPascal Rigaux2008-02-291-0/+1
|
* remove some functions that were moved to urpm::cdromPascal Rigaux2008-02-291-27/+0
|
* move is_iso to urpm::media and rename itPascal Rigaux2008-02-291-8/+0
|
* o use hal to wait-for/mount cdroms: Pascal Rigaux2008-02-291-170/+52
| | | | | | | | | | | | | | | | you can now use more than one cdrom drive big commit, no time to split it... some details: - split urpm::removable into urpm::removable and urpm::cdrom - fix setting $urpm->{removable_mounted} - in try_mounting_non_cdroms(), check for local url, simpler than checking is_cdrom_url and then checking file_from_local_medium - fix _try_mounting_medium() not mounting non-cdrom anymore (regression introduced during devel) - even if urpmi says it wants cdroms in a given order, if you make a mistake, it will use the one you give (as a side-effect, it simplifies the sort on "already mounted" cdrom (cf _sort_media disappearing))
* do not pass the device around (we don't want to force a device anymore)Pascal Rigaux2008-02-291-1/+1
|
* if cdrom is not mounted, _check_notfound should fail, but nicelyPascal Rigaux2008-02-291-0/+2
|
* - rename _mount_it() into _mount_cdrom()Pascal Rigaux2008-02-291-8/+8
| | | | | | | - rename _mount_and_check_notfound() into _mount_cdrom_and_check_notfound() - in _mount_cdrom_and_check_notfound, use _try_mounting_medium since failure to mount is not fatal
* rename look_for_mounted_cdrom() into _look_for_mounted_cdrom_in_mtab()Pascal Rigaux2008-02-291-3/+3
|
* - urpmiPascal Rigaux2008-02-271-8/+6
| | | | | o do not copy rpms from cdrom if only one cdrom is used (#28083)
* strictify prototypePascal Rigaux2008-02-271-5/+5
|
* drop useless checkPascal Rigaux2008-02-271-19/+1
|
* _copy_from_cdrom() is a much better name than _examine_removable_medium()Pascal Rigaux2008-02-271-6/+6
|
* - all tools:Pascal Rigaux2008-02-271-36/+62
| | | | | o cdrom:// replaces removable://
* - create file_from_local_medium(), and use it where possible instead ofPascal Rigaux2008-02-271-19/+20
| | | | | | | | | file_from_local_url() - in urpm::removable, this implies passing $blist around nb: for now file_from_local_medium() doesn't use the first parameter if url is given, but future commit will use both (needed for {url} cdrom://)
* create is_local_medium() and is_local_url()Pascal Rigaux2008-02-271-2/+2
|
* internally use {iso} instead of {removable} for iso filesPascal Rigaux2008-02-271-10/+5
| | | | | (to make things more clear)
* - fix typo in try_mounting_non_cdrom() (from previous commit)Pascal Rigaux2008-02-271-11/+7
| | | | | - copy_packages_of_removable_media() now only handles cdroms (no more iso)
* treat iso as non-removablePascal Rigaux2008-02-271-8/+15
|
* rename try_mounting_non_removable() into try_mounting_non_removables()Pascal Rigaux2008-02-271-3/+11
| | | | | and create try_mounting_non_removable()
* use blists to ensure we only mount media which will be usedPascal Rigaux2008-02-271-2/+4
|
* create separate function to mount isoPascal Rigaux2008-02-271-21/+37
|
* modify for the futurePascal Rigaux2008-02-261-3/+3
|
* _mount_it() can't fail!Pascal Rigaux2008-02-261-4/+0
|
* there is no reason copy_packages_of_removable_media should mount non removablePascal Rigaux2008-02-261-6/+3
| | | | | media
* simplifyPascal Rigaux2008-02-261-2/+2
|
* simplifyPascal Rigaux2008-02-261-2/+1
|
* fix commentPascal Rigaux2008-02-261-0/+1
|
* simplifyPascal Rigaux2008-02-261-3/+3
|
* split _get_removables_or_check_mounted into _try_mounting_non_removable and ↵Pascal Rigaux2008-02-261-7/+17
| | | | _get_removables
* add commentPascal Rigaux2008-02-261-0/+5
|
* _check_notfound should be pure, there is no reason for _sort_media shouldPascal Rigaux2008-02-261-18/+19
| | | | | mount any removable media. so introducing _mount_and_check_notfound()
* add some commentsPascal Rigaux2008-02-261-3/+17
|
* - since find_mntpoints doesn't really return a list, make it clearPascal Rigaux2008-02-261-10/+10
| | | | | - return a struct instead of using %info + returned value
* rename $_ into $mntpointPascal Rigaux2008-02-261-12/+12
|
* simplifyPascal Rigaux2008-02-261-1/+1
|
* simplifyPascal Rigaux2008-02-261-2/+1
|
* - re-indentPascal Rigaux2008-02-261-12/+17
| | | | | - do not call eject on isos
* simplify: reduce_pathname is only useful/needed for find_mntpointsPascal Rigaux2008-02-261-2/+3
|
* create _non_mounted_mntpoints() to make things more clearPascal Rigaux2008-02-261-3/+8
|
* urpm::get_pkgs::verify_partial_rpm_and_move() return the final rpmPascal Rigaux2008-02-261-2/+2
|
* create _do_the_copy() out of _examine_removable_medium_()Pascal Rigaux2008-02-261-23/+28
|
* i don't see any reason for this...Pascal Rigaux2008-02-261-1/+1
|
* create _sort_media() out of copy_packages_of_removable_media()Pascal Rigaux2008-02-261-13/+16
|
* simplifyPascal Rigaux2008-02-261-7/+7
|
* do not pass $device around, it's the same as $medium->{removable}Pascal Rigaux2008-02-261-6/+7
|
* create a "blist" which is both $list and $urpm->{media}Pascal Rigaux2008-02-261-16/+25
|
* fix typo in previous commitPascal Rigaux2008-02-261-1/+1
|
* simplifyPascal Rigaux2008-02-261-11/+9
|
* simplifyPascal Rigaux2008-02-261-6/+2
|