ALT Linux Bugzilla
– Attachment 493 Details for
Bug 4799
DVD support option
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
adds recorddvd option
distribute.diff (text/plain), 935 bytes, created by
Vitaly Lipatov
on 2004-07-15 16:20:33 MSD
(
hide
)
Description:
adds recorddvd option
Filename:
MIME Type:
Creator:
Vitaly Lipatov
Created:
2004-07-15 16:20:33 MSD
Size:
935 bytes
patch
obsolete
>--- distribute.old 2002-12-18 16:48:27 +0300 >+++ distribute 2004-05-27 15:10:03 +0400 >@@ -253,6 +253,15 @@ > && success || failure > } > >+function recorddvd() { >+# Pay attention! It does not tested with more than 1 disk >+ enter_stage "Writing DVD disk" >+ start_action "$1.iso" >+ mkdir -p "$THIS_ISOS_DIR" \ >+ && growisofs -Z /dev/scd0 -v -J -r -f "$THIS_LAYOUTS_DIR/$1" \ >+ && success || failure >+} >+ > function record() { > enter_stage "Recording disks" > start_action $"writing %s" "$1" >@@ -681,6 +690,17 @@ > mkiso cd"$2" > fi > ;; >+--recorddvd) >+ # List it before to check whether all link targets are there: >+ list >+ # Make the ISO(s): >+ if [[ -z "$2" ]]; then >+ echo $"Making all ISOs:" >+ for cd in "$THIS_LAYOUTS_DIR"/cd[0-9]*; do [ -d "$cd" ] && recorddvd "$(basename "$cd")"; done >+ else >+ recorddvd cd"$2" >+ fi >+ ;; > --record) > if [[ -z "$2" ]]; then > echo $"Writing all ISOs:"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4799
: 493