summaryrefslogtreecommitdiffstats
path: root/make_boot_img
blob: 274dd9e91514f2dddcdcc832271d626c237c9eab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
#!/usr/bin/perl

use Config;
use MDK::Common;
Config->import;
my ($arch) = $Config{archname} =~ /(.*?)-/;

# move stuff to new "kernel" directory
-d 'kernel' or die "directory kernel is missing\n";
rename 'all.kernels', 'kernel/all.kernels';

my $default_append = "ramdisk_size=128000";
# full acpi support for x86_64, enough acpi support for x86 ht, no acpi for others
my $default_acpi = $arch =~ /i.86/ ? "acpi=ht" : $arch =~ /x86_64/ ? "" : "acpi=off";
my $default_vga = "vga=788 splash=silent";

my $instdir = "mdk-stage1";
my $tmp_mnt = '/tmp/drakx_mnt';
my $tmp_mnt_initrd = '/tmp/drakx_mnt2';

my $sudo;
if ($>) {
    $sudo = "sudo";
    $ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}";
}

sub __ { print @_, "\n"; system(@_) }
sub _ { __ @_; $? and die }
sub mke2fs { 
    my ($f) = @_;
    _ "/sbin/mke2fs -q -m 0 -F -s 1 $f";
    _ "/sbin/tune2fs -c 0 -U clear -T 1970010101 $f";
}

_ "$sudo mkdir -p $tmp_mnt $tmp_mnt_initrd";
mkdir "images";

my $main = chomp_(cat_('kernel/all.kernels/.main'));
my $main_BOOT = chomp_(cat_('kernel/all.kernels/.main-BOOT'));
my @kernels = grep { /^2/ } all('kernel/all.kernels');
my @kernels_BOOT = grep { /BOOT/ } @kernels;

my @all_images = (
		  if_($arch =~ /i.86|x86_64/, 'cdrom.img', 'cdrom-changedisk.img', 'pcmcia.img', 'isolinux', 'boot.iso', 'hd_grub.img', 'network.img', 'network_drivers.img'),
		  if_($arch =~ /ia64/, 'all.img'),
		  if_($arch =~ /ppc/, 'all.img'),
		 );

my @images = @ARGV ? @ARGV : map { "images/$_" } @all_images;

if (any { /move/ } @images) {
    -e "$instdir/init-move" or die "ERROR: $instdir not built for move\n";
} else {
    -e "$instdir/init-move" and die "ERROR: $instdir built for move\n";
}

foreach my $img (@images) {
    my ($type, $I, $extension) = $img =~ m!([^/]*)(64)?\.([^.]*)$!;

    if ($img =~ /hd_grub/) {
	hd_grub($tmp_mnt, $img);
    } elsif ($img =~ /isolinux/) {
	isolinux($main, @kernels);

	if (my ($tftpboot) = grep { -e $_ } qw(/tftpboot /var/lib/tftpboot)) {
	    system("/bin/cp -f isolinux/alt0/* $tftpboot");
	}
    } elsif ($img =~ /move/) {
	isolinux_move($main);

	if (my ($tftpboot) = grep { -e $_ } qw(/tftpboot /var/lib/tftpboot)) {
	    system("/bin/cp -f move/isolinux/* $tftpboot/move 2>/dev/null");
	}
    } elsif ($img =~ /boot.iso/) {
	boot_iso($img, 0);
    } elsif ($img =~ /bootcdrom.iso/) {
	boot_iso($img, 1);
    } elsif ($img =~ /drivers/) {
	drivers($type, $I, "$img-$_") foreach @kernels_BOOT;
	rename("$img-$main_BOOT", $img);
    } elsif ($extension eq 'rdz') {
	initrd($tmp_mnt_initrd, $type, $I, "$img-$_") foreach @kernels;
    } elsif ($extension eq 'img') {
	print STDERR "calling boot_img_$arch for $img\n";
	$::{"boot_img_$arch"}->($tmp_mnt, $type, $I, "$img-$_", "kernel/all.kernels/$_/vmlinuz") foreach @kernels_BOOT;
	rename("$img-$main_BOOT", $img);
    } else {
	die "unknown image $img";
    }
}

sub syslinux_color {
    "0" . {
	default => '7',
	blue    => '9',
	green   => 'a',
	red     => 'c',
	yellow  => 'e',
	white   => 'f',
    }->{$_[0]} || die "unknown color $_[0]\n";
}

sub syslinux_msg { 
    my ($msg_xml_file, @more_text) = @_;

    require XML::Parser;

    sub xml_tree2syslinux {
	my ($current_color, $tree) = @_;
	my (undef, @l) = @$tree;
	join('', map {
	    my ($type, $val) = @$_;
	    if ($type eq '0') {
		$val;
	    } else {
		syslinux_color($type) . xml_tree2syslinux($type, $val) . syslinux_color($current_color);
	    }
	} group_by2(@l));
    };

    print "parsing $msg_xml_file\n";
    my $tree = XML::Parser->new(Style => 'Tree')->parsefile($msg_xml_file);
    $tree->[0] eq 'document' or die "bad file $msg_xml_file\n";
    my $text = xml_tree2syslinux('default', $tree->[1]);

    pack("C*", 0x0E, 0x80, 0x03, 0x00) . ""
      . $text . join('', @more_text)
      . "\n" . syslinux_color('red') . "[F1-Help] [F2-Advanced Help] [F3-Main]" . syslinux_color('default') . "\n";
}

sub install_stripped { _ "strip $_[0]"; _ "$sudo install $_[0] $_[1]" }

sub initrd {
    my ($mnt, $type, $I, $img, $o_raw_stage1_tree_kind) = @_;
    my $tmp = "$ENV{HOME}/tmp/initrd";
    my $tar = "$instdir/stage1-data/stage1$o_raw_stage1_tree_kind.tar.bz2";

    __ "$sudo umount $tmp $mnt 2>/dev/null";
    _ "dd if=/dev/zero of=$tmp bs=1k count=" . ($arch =~ /ia64/ || $type eq "all" ? 16384 : 2000);
    mke2fs($tmp);
    _ "$sudo mount -t ext2 $tmp $mnt -o loop";

    _ "$sudo tar xjC $mnt -f $tar";
    symlinkf "/tmp/stage2/lib64", "$mnt/lib64" if $arch =~ /x86_64/;

    {
	my $install = ${{
	    network => "stage1-network",
	    cdrom => "stage1-cdrom",
	}}{$type} || 'stage1-full';
	install_stripped("$instdir/init", "$mnt/sbin");
	install_stripped("$instdir/$install", "$mnt/sbin/stage1");
    }

    if (member($type, qw(network all))) {
	install_stripped("$instdir/ppp/pppd-bin", "$mnt/sbin/pppd");
	install_stripped("$instdir/rp-pppoe/pppoe-bin", "$mnt/sbin/pppoe");
	_ "$sudo mknod $mnt/dev/ppp c 108 0";
	_ "$sudo mknod $mnt/dev/ptyp0 c 2 0";
	_ "$sudo mknod $mnt/dev/ttyp0 c 3 0";
    }

    if (member($type, qw(pcmcia all network)) && $arch !~ /ppc|ia64|x86_64/) {
	 _ "$sudo cp -a /etc/pcmcia $mnt/etc";
	 _ "cp $mnt/etc/pcmcia/config /tmp/pcmcia_config_tmp";
	 _ "tools/patch_pcmcia_config.pl /tmp/pcmcia_config_tmp kernel/all.kernels/$main/modules.dep";
	 _ "sudo mv /tmp/pcmcia_config_tmp $mnt/etc/pcmcia/config";
    }
    my ($ext) = $img =~ /rdz-(.*)/ or die "bad initrd name ($img)";
    my $modz = "kernel/all.kernels$I/$ext";
    if ($type eq 'all') {
	__ "$sudo tar xC $mnt/modules -f $modz/${type}_modules.tar";
    } else {
	_ "$sudo cp -f $modz/${type}_modules.mar $mnt/modules/modules$I.mar";
    }
    _ "$sudo cp -f $modz/modules.dep $mnt/modules/";
    _ "$sudo cp -f /sbin/sash $mnt/tmp/sh" if $ENV{DEBUGSTAGE1};
    _ "$sudo umount $mnt";

# Workaround for vfat-loop bug (quite touchy)
    _ "gzip -9f $tmp";
    _ "cp -f $tmp.gz $img";
    _ "rm -f $tmp.gz";
#    _ "gzip -9 -c $tmp > $img";
#    _ "rm -f $tmp";
}

sub entries_append {
    my ($type) = @_;

    my $automatic = $type =~ /cdrom/ ? 'automatic=method:cdrom' : '';
    $automatic .= " changedisk" if $type =~ /changedisk/;

    my @simple_entries = (
	linux => $default_vga,
	vgalo => "vga=785",
	vgahi => "vga=791",
	vga16 => "vga16",
	text => "text",
	patch => "patch $default_vga",
	rescue => "rescue",
    );
    my @entries = (
        (map { $_->[0] => "$automatic $default_acpi $_->[1]" } group_by2(@simple_entries)),
	acpi => "$automatic $default_vga",
        if_($type eq "all", all => "pcmcia $default_vga $default_acpi"),
    );

    map { [ $_->[0], "$default_append $_->[1]" ] }
      group_by2(@entries);
}

sub boot_img_i386 {
    my ($mnt, $type, $I, $img, $kernel) = @_;

    __ "$sudo umount $mnt 2>/dev/null";

    _ "dd if=/dev/zero of=$img bs=1k count=" . ($type eq 'all' ? 2880 : 1440);
    _ "mkdosfs -f 1 -r 16 -s 2 $img"; # keep the FAT bookkeeping as small as possible
    _ "$sudo syslinux-graphic $img";

    _ "$sudo mount -t vfat -o umask=0 $img $mnt -o loop";
    _ "cat $kernel > $mnt/vmlinuz";
    _ "lilo-bmp2mdk file:isolinux-graphic-simple.bmp >$mnt/boot.msg";

    output("$mnt/help.msg", syslinux_msg('help.msg.xml'));
    output("$mnt/advanced.msg", syslinux_msg('advanced.msg.xml'));

    (my $rdz = $img) =~ s/\.img/.rdz/;
    (my $initrd_type = $type) =~ s/-changedisk//;
    initrd($tmp_mnt_initrd, $initrd_type, $I, $rdz);
    my $short_type = substr($type, 0, 8);

    my $timeout = 72;
    output "$mnt/syslinux.cfg",
"default linux
prompt 1
timeout $timeout
display boot.msg
F1 help.msg
F2 advanced.msg
F3 boot.msg
" . join('', map {
"label $_->[0]
  kernel vmlinuz
  append initrd=$short_type.rdz $_->[1]
" } entries_append($type));

    eval { _ "cp -f $rdz $mnt/$short_type.rdz" };
    if ($@) {
	unlink "$mnt/$short_type.rdz";
	my $avail = (split ' ', `df $mnt`)[-3];
	my $s = int((-s $rdz) / 1024);

	my ($ext) = $img =~ /\.img-(.*)/ or die "bad initrd name ($img)";
	my $dir = "kernel/all.kernels/$ext";
	my $pcitable = cat_('/usr/share/ldetect-lst/pcitable');
	my @l = sort { $a <=> $b } map {
	    my ($name) = /(\S+)\.k?o$/ or die "bad file in .mar";
	    my $gz_size = chomp_(`gzip -c $dir/$_ | wc -c`);
	    sprintf "%7d  %6d      %s\n", $gz_size, listlength($pcitable =~ /"$name"/g), $name;
	} split(' ', `mdk-stage1/mar/mar -l $dir/${initrd_type}_modules.mar`);
	output('.not-enough-room', "gz size - pcitable - name\n", @l);

	warn sprintf("not enough room for $rdz: need %dKB (available %dKB < needed %dKB)\n", $s - $avail, $avail, $s);
	die qq(check file ".not-enough-room" to see modules size and pcitable usage\n);
    }
    unlink $rdz;

    _ "sync";
    _ "df $mnt";
    _ "$sudo umount $mnt";
}

# alias to x86 variant, slightly bigger with images though
sub boot_img_x86_64 { &boot_img_i386 }

sub boot_img_alpha {
    my ($mnt, $type, $I, $img) = @_;

    __ "$sudo umount $mnt 2>/dev/null";
    _ "dd if=/dev/zero of=$img bs=1k count=1440";
    mke2fs($img);
    _ "/sbin/e2writeboot $img /boot/bootlx";
    _ "$sudo mount -t ext2 $img $mnt -o loop";
    _ "cp -f vmlinux.gz $mnt";
    -f "$type.rdz" ? _ "cp -f $type.rdz $mnt" : initrd($tmp_mnt_initrd, $type, $I, "$mnt/$type.rdz");

    mkdir "$mnt/etc", 0777;
    output("$mnt/etc/aboot.conf", 
"0:vmlinux.gz initrd=$type.rdz rw $default_append $type
1:vmlinux.gz initrd=$type.rdz rw $default_append text $type
");
    _ "sync";
    _ "df $mnt";
}

sub boot_img_ia64 {
    my ($mnt, $type, $_I, $img, $kernel) = @_;
	my $rdz = $img; $rdz =~ s/\.img/.rdz/;

    __ "$sudo umount $mnt 2>/dev/null";
    _ "dd if=/dev/zero of=$img bs=1k count=16384";
    _ "mkdosfs $img";
    _ "$sudo mount -t vfat $img $mnt -o loop,umask=000";
    _ "$sudo cp -f $kernel $mnt/vmlinux";
    _ "cp -f $rdz $mnt/$type.rdz";
    _ "$sudo cp -f tools/ia64/elilo.efi $mnt";
	output("$mnt/elilo.conf", qq(
prompt
timeout=50

image=vmlinux
        label=linux
        initrd=$type.rdz
        append=" ramdisk_size=120000"
        read-only

image=vmlinux
        label=rescue
        initrd=$type.rdz
        append=" rescue ramdisk_size=120000"
"));
    _ "sync";
    _ "df $mnt";

}

sub boot_img_sparc {
    my ($mnt, $type, $I, $_img) = @_;
    if ($type =~ /^live(.*)/) {
	#- hack to produce directly into /export the needed file for cdrom boot.
	my $dir = "/export";
	my $boot = "boot"; #- non-absolute pathname only!

	_ "mkdir -p $dir/$boot";
	_ "cp -f /boot/cd.b /boot/second.b $dir/$boot";
	_ "cp -f vmlinux$1 $dir/$boot/vmlinux$1";
	-f "live$1.rdz" ? _ "cp -f live$1.rdz $dir/$boot" : initrd($tmp_mnt_initrd, $type, $I, "$dir/$boot/live$1.rdz");

	output("$dir/$boot/silo.conf", qq(
partition=1
default=linux
timeout=100
read-write
message=/$boot/boot.msg
image="cat /$boot/boot.msg"
  label=1
  single-key
image="cat /$boot/general.msg"
  label=2
  single-key
image="cat /$boot/expert.msg"
  label=3
  single-key
image="cat /$boot/rescue.msg"
  label=4
  single-key
image="cat /$boot/kickit.msg"
  label=5
  single-key
image="cat /$boot/param.msg"
  label=6
  single-key
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
  label=linux
  alias=install
  initrd=/$boot/live.rdz
  append="ramdisk_size=128000"
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
  label=text
  initrd=/$boot/live.rdz
  append="ramdisk_size=128000 text"
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
  label=expert
  initrd=/$boot/live.rdz
  append="ramdisk_size=128000 expert"
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
  label=ks
  initrd=/$boot/live.rdz
  append="ramdisk_size=128000 ks"
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
  label=rescue
  initrd=/$boot/live.rdz
  append="ramdisk_size=128000 rescue"
image[sun4u]=/$boot/vmlinux64
  label=linux
  alias=install
  initrd=/$boot/live64.rdz
  append="ramdisk_size=128000"
image[sun4u]=/$boot/vmlinux64
  label=text
  initrd=/$boot/live64.rdz
  append="ramdisk_size=128000 text"
image[sun4u]=/$boot/vmlinux64
  label=expert
  initrd=/$boot/live64.rdz
  append="ramdisk_size=128000 expert"
image[sun4u]=/$boot/vmlinux64
  label=ks
  initrd=/$boot/live64.rdz
  append="ramdisk_size=128000 ks"
image[sun4u]=/$boot/vmlinux64
  label=rescue
  initrd=/$boot/live64.rdz
  append="ramdisk_size=128000 rescue"
"));

	output("$dir/$boot/README", "
To Build a Bootable CD-ROM, try:
  mkisofs -R -o t.iso -s /$boot/silo.conf /export
");
    } elsif ($type =~ /^tftprd(.*)/) {
	my $dir = "/export";
	my $boot = "images";
	my $setarch = $1 ? "sparc64" : "sparc32";

	_ "mkdir -p $dir/$boot";
	-f "$type.rdz" or initrd($tmp_mnt_initrd, $type, $I, "$type.rdz");
	_ "cp -f vmlinux$1.aout $dir/$boot/$type.img";
	_ "$setarch kernel$1/src/arch/sparc$1/boot/piggyback $dir/$boot/$type.img kernel$1/boot/System.map $type.rdz";
    } elsif ($type =~ /^tftp(.*)/) {
	my $dir = "/export";
	my $boot = "images";

	_ "mkdir -p $dir/$boot";
	_ "cp -f vmlinux$1.aout $dir/$boot/$type.img";
    } else {
	my $dir = "floppy";
	__ "$sudo umount $mnt 2>/dev/null";
	_ "rm -rf $dir";
	_ "mkdir -p $dir";
	_ "cp -f /boot/fd.b /boot/second.b $dir";
	_ "cp -f vmlinuz$I $dir/vmlinux$I.gz";
	-f "$type.rdz" ? _ "cp -f $type.rdz $dir" : initrd($tmp_mnt_initrd, $type, $I, "$dir/$type.rdz");

	output("$dir/boot.msg", "
Welcome to Mandrakelinux 7.1

Press <Enter> to install or upgrade a system 7mMandrakelinux7m
");

	output("$dir/silo.conf", qq(
partition=1
default=linux
timeout=100
read-write
message=/boot.msg
image=/vmlinux$I.gz
  label=linux
  initrd=/$type.rdz
  append="ramdisk_size=128000 $type"
"));
	_ "genromfs -d $dir -f /dev/ram -A 2048,/.. -a 512 -V 'DrakX boot disk'";
	_ "$sudo mount -t romfs /dev/ram $mnt";
	_ "silo -r $mnt -F -i /fd.b -b /second.b -C /silo.conf";
	_ "$sudo umount $mnt";
	_ "dd if=/dev/ram of=$type.img bs=1440k count=1";
	_ "sync";
	_ "$sudo mount -t romfs /dev/ram $mnt";
	_ "df $mnt";
    }
}

sub boot_img_ppc() {
	#- hack to produce directly into /export the needed file for cdrom boot.
	my $dir = "/export";
	my $boot = "boot"; #- non-absolute pathname only!
    _ "rm -rf $dir/$boot"; mkdir "$dir/$boot", 0777;
	foreach (glob("kernel/all.kernels/*")) {
		my $ext = basename($_);
		if ($ext =~ /power4/) {
			_ "cp $_/boot/vmlinuz-$ext* $dir/$boot/vmlinux-power4";
			_ "cp images/all.rdz-$ext $dir/$boot/all-power4.gz";
		}
		elsif ($ext =~ /2.6/) {
			_ "cp $_/boot/vmlinuz-$ext $dir/$boot/vmlinux";
			_ "cp images/all.rdz-$ext $dir/$boot/all.gz";
		}
		elsif ($ext =~ /2.4/) {
			_ "cp $_/boot/vmlinux $dir/$boot/vmlinux-2.4";
			_ "cp images/all.rdz-$ext $dir/$boot/all-2.4.gz";
		}
    }
    _ "cp -f /usr/lib/yaboot/yaboot $dir/$boot/yaboot";
	
	output("$dir/$boot/ofboot.b", '<CHRP-BOOT>
<COMPATIBLE>
MacRISC
</COMPATIBLE>
<DESCRIPTION>
Mandrakelinux PPC bootloader
</DESCRIPTION>
<BOOT-SCRIPT>
" screen" output
load-base release-load-area
dev screen
" "(0000000000aa00aa0000aaaaaa0000aa00aaaa5500aaaaaa)" drop 0 8 set-colors
" "(5555555555ff55ff5555ffffff5555ff55ffffff55ffffff)" drop 8 8 set-colors
device-end
3 to foreground-color
0 to background-color
" "(0C)" fb8-write drop
" Booting Mandrakelinux PPC..." fb8-write drop 100 ms
boot cd:,\boot\yaboot
</BOOT-SCRIPT>
<OS-BADGE-ICONS>
1010
000000000000F8FEACF6000000000000
0000000000F5FFFFFEFEF50000000000
00000000002BFAFEFAFCF70000000000
0000000000F65D5857812B0000000000
0000000000F5350B2F88560000000000
0000000000F6335708F8FE0000000000
00000000005600F600F5FD8100000000
00000000F9F8000000F5FAFFF8000000
000000008100F5F50000F6FEFE000000
000000F8F700F500F50000FCFFF70000
00000088F70000F50000F5FCFF2B0000
0000002F582A00F5000008ADE02C0000
00090B0A35A62B0000002D3B350A0000
000A0A0B0B3BF60000505E0B0A0B0A00
002E350B0B2F87FAFCF45F0B2E090000
00000007335FF82BF72B575907000000
000000000000ACFFFF81000000000000
000000000081FFFFFFFF810000000000
0000000000FBFFFFFFFFAC0000000000
000000000081DFDFDFFFFB0000000000
000000000081DD5F83FFFD0000000000
000000000081DDDF5EACFF0000000000
0000000000FDF981F981FFFF00000000
00000000FFACF9F9F981FFFFAC000000
00000000FFF98181F9F981FFFF000000
000000ACACF981F981F9F9FFFFAC0000
000000FFACF9F981F9F981FFFFFB0000
00000083DFFBF981F9F95EFFFFFC0000
005F5F5FDDFFFBF9F9F983DDDD5F0000
005F5F5F5FDD81F9F9E7DF5F5F5F5F00
0083DD5F5F83FFFFFFFFDF5F835F0000
000000FBDDDFACFBACFBDFDFFB000000
000000000000FFFFFFFF000000000000
0000000000FFFFFFFFFFFF0000000000
0000000000FFFFFFFFFFFF0000000000
0000000000FFFFFFFFFFFF0000000000
0000000000FFFFFFFFFFFF0000000000
0000000000FFFFFFFFFFFF0000000000
0000000000FFFFFFFFFFFFFF00000000
00000000FFFFFFFFFFFFFFFFFF000000
00000000FFFFFFFFFFFFFFFFFF000000
000000FFFFFFFFFFFFFFFFFFFFFF0000
000000FFFFFFFFFFFFFFFFFFFFFF0000
000000FFFFFFFFFFFFFFFFFFFFFF0000
00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
00FFFFFFFFFFFFFFFFFFFFFFFFFFFF00
00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
000000FFFFFFFFFFFFFFFFFFFF000000
</OS-BADGE-ICONS>
</CHRP-BOOT>
');

	output("$dir/$boot/yaboot.conf", '
init-message = "\nWelcome to Mandrakelinux PPC!\nHit <TAB> for boot options.\n\n"
timeout = 150
device=cd:
default = install-gui
message=/boot/yaboot.msg

image = /boot/vmlinux
    label = install-gui
    initrd = /boot/all.gz
    initrd-size = 34000
    append = " ramdisk_size=128000"

image = /boot/vmlinux-power4
    label = install-gui-power4
    initrd = /boot/all-power4.gz
    initrd-size = 34000
    append = " ramdisk_size=128000"

image = /boot/vmlinux
    label = install-text
    initrd = /boot/all.gz
    initrd-size = 34000
    append = " text ramdisk_size=128000"

image = /boot/vmlinux-power4
    label = install-text-power4
    initrd = /boot/all-power4.gz
    initrd-size = 34000
    append = " text ramdisk_size=128000"

image = /boot/vmlinux
    label = install-gui-old
    initrd = /boot/all.gz
    initrd-size = 34000
    append = " gui-old ramdisk_size=128000"

image = /boot/vmlinux-power4
    label = install-gui-old-power4
    initrd = /boot/all-power4.gz
    initrd-size = 34000
    append = " gui-old ramdisk_size=128000"

image = enet:0,vmlinux
    label = install-net
    initrd = enet:0,all.gz
    initrd-size = 34000
    append = " ramdisk_size=128000"

image = enet:0,vmlinux-power4
    label = install-net-power4
    initrd = enet:0,all-power4.gz
    initrd-size = 34000
    append = " ramdisk_size=128000"

image = enet:0,vmlinux
    label = install-net-text
    initrd = enet:0,all.gz
    initrd-size = 34000
    append = " text ramdisk_size=128000"

image = enet:0,vmlinux-power4
    label = install-net-text-power4
    initrd = enet:0,all-power4.gz
    initrd-size = 34000
    append = " text ramdisk_size=128000"

image = /boot/vmlinux
    label = rescue
    initrd = /boot/all.gz
    initrd-size = 34000
    append = " rescue ramdisk_size=128000"

image = /boot/vmlinux-power4
    label = rescue-power4
    initrd = /boot/all-power4.gz
    initrd-size = 34000
    append = " rescue ramdisk_size=128000"

image = enet:0,vmlinux
    label = rescue-net
    initrd = enet:0,all.gz
    initrd-size = 34000
    append = " rescue ramdisk_size=128000" 

image = enet:0,vmlinux-power4
    label = rescue-net-power4
    initrd = enet:0,all-power4.gz
    initrd-size = 34000
    append = " rescue ramdisk_size=128000" 
');

	output("$dir/$boot/yaboot.msg", '
Thanks for choosing Mandrakelinux PPC.  The following is a short
explanation of the various options for booting the install CD.

All options ending with "-power4" use the BOOT kernel for ppc 9xx and POWER4.
The default syntax with no suffix uses the BOOT kernel for ppc 6xx 7xx and 7xxx.
The default if you just hit enter is "install-gui".

install-gui:        	uses Xorg fbdev mode
install-text:       	text based install
install-net:            allows you to use a minimal boot CD,
                        pulling the rest of the install from
                        a network server
install-net-text:       text mode network install
rescue:                 boots the rescue image
rescue-net:             boots the rescue image from a network server

');

}

sub isolinux {
    my ($main, @kernels) = @_;
    @kernels = ($main, grep { $_ ne $main } @kernels);
    _ "rm -rf isolinux"; mkdir "isolinux", 0777;

    $default_vga =~ /788/ or die 'we rely on vga=788 for bootsplash';
    my $bootspash_cfg = '/etc/bootsplash/themes/Mandrakelinux/config/bootsplash-800x600.cfg';
    -e $bootspash_cfg or die "can't find $bootspash_cfg";

    each_index {
	mkdir "isolinux/alt$::i", 0777;
	_ "cp kernel/all.kernels/$_/vmlinuz isolinux/alt$::i";
	initrd($tmp_mnt_initrd, 'all', '', "images/all.rdz-$_");
	_ "splash -s -f $bootspash_cfg >> images/all.rdz-$_" if !/BOOT/;
	_ "mv images/all.rdz-$_ isolinux/alt$::i/all.rdz";
    } @kernels;

    _ "lilo-bmp2mdk file:isolinux-graphic.bmp >isolinux/boot.msg";

    _ "cp /usr/lib/syslinux/isolinux.bin isolinux/isolinux.bin";
    _ "install -m 644 -D /boot/memtest* isolinux/test/memtest.bin";
    output "isolinux/isolinux.cfg", "
default linux
prompt 1
timeout 150
display boot.msg
F1 help.msg
F2 advanced.msg
F3 boot.msg
" . join('', map {
"label $_->[0]
  kernel alt0/vmlinuz
  append initrd=alt0/all.rdz $_->[1] automatic=method:cdrom
" } entries_append('all'))
  . join('', map_index {
"label alt$::i
  kernel alt$::i/vmlinuz
  append initrd=alt$::i/all.rdz $default_append $default_acpi $default_vga
" } @kernels) .
"label memtest
  kernel test/memtest.bin
";

    output("isolinux/help.msg", syslinux_msg('help.msg.xml'));
    output("isolinux/advanced.msg", syslinux_msg('advanced.msg.xml', 
						 "\nYou can choose the following kernels :\n",
						 map_index { " o  " . syslinux_color('white') . "alt$::i" . syslinux_color('default') . " is kernel $_\n" } @kernels));
}

sub isolinux_move {   
    my ($main) = @_;

    _ "cp kernel/all.kernels/$main/vmlinuz move/isolinux";
    initrd($tmp_mnt_initrd, 'all', '', "move/isolinux/all.rdz-$main", '-with-busybox');
    rename "move/isolinux/all.rdz-$main", "move/isolinux/all.rdz";

    _ "lilo-bmp2mdk file:move/data/isolinux-graphic.bmp >move/isolinux/boot.msg";
    _ "cp /usr/lib/syslinux/isolinux.bin move/isolinux/isolinux.bin";
}

sub hd_grub {
    my ($mnt, $img) = @_;
    my $mapfile = '/tmp/device.map.tmp';

    my @grub_files = map { "/boot/grub/$_" } qw(stage1 stage2);
    my $size = 40_000 + sum(map { -s $_ } @grub_files);

    __ "$sudo umount $mnt 2>/dev/null";
    _ "dd if=/dev/zero of=$img bs=1 count=$size";
    _ "mkdosfs $img";
    _ "$sudo mount -t vfat -o umask=0 $img $mnt -o loop";
    _ "cp @grub_files $mnt";

    output("$mnt/menu.lst", <<EOF);
timeout 10
default 0
fallback 1

title Mandrake Install

root (hd0,0)
kernel /cooker/isolinux/alt0/vmlinuz $default_append $default_acpi $default_vga automatic=method:disk
initrd /cooker/isolinux/alt0/all.rdz

title Help

pause To display the help, press <space> until you reach "HELP END"
pause .
pause Please see http://qa.mandrakesoft.com/hd_grub.cgi for a friendlier solution
pause .
pause To specify the location where Mandrakelinux is copied,
pause choose "Mandrake Install", and press "e".
pause Then change "root (hd0,0)". FYI:
pause - (hd0,0) is the first partition on first bios hard drive (usually hda1)
pause - (hd0,4) is the first extended partition (usually hda5)
pause - (hd1,0) is the first partition on second bios hard drive
pause Replace /cooker to suits the directory containing Mandrakelinux
pause .
pause HELP END
EOF

    _ "$sudo umount $mnt";

    output($mapfile, "(fd0) $img\n");

    open(my $G, "| grub --device-map=$mapfile --batch");
    print $G <<EOF;
root (fd0)
install /stage1 d (fd0) /stage2 p /menu.lst
quit
EOF
    close $G;
    unlink $mapfile;
}

sub boot_iso {
    my ($iso, $bootcdrom) = @_;

    my $cfg = cat_('isolinux/isolinux.cfg') or die 'isolinux missing';
    if ($bootcdrom) {
	$cfg =~ s/(automatic=method:\w+)/changedisk $1/gm;
    } else {
	$cfg =~ s/(automatic=method:\w+)//gm;
    }

    eval { rm_rf('.boot_iso') };
    mkdir_p('.boot_iso/isolinux');
    _ "cd .boot_iso/isolinux ; ln -s ../../isolinux/* .";
   
    my $cfg_file = '.boot_iso/isolinux/isolinux.cfg';
    unlink $cfg_file;
    output($cfg_file, $cfg);

    _ "mkisofs -r -f -J -cache-inodes -V 'Mdk Boot ISO' -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o $iso .boot_iso";
    rm_rf('.boot_iso');
}

sub drivers {
    my ($type, $I, $img) = @_;

    _ "dd if=/dev/zero of=$img bs=1k count=1440";
    mke2fs($img);
    _ "$sudo mount -t ext2 $img $tmp_mnt -o loop";

    my ($ext) = $img =~ /img-(.*)/ or die "bad image name ($img)";
    _ "$sudo cp -f kernel/all.kernels$I/$ext/${type}_modules.mar $tmp_mnt/modules$I.mar";

    _ "sync";
    _ "df $tmp_mnt";

    _ "$sudo umount $tmp_mnt";
}
='#n1640'>1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842
# translation of DrakX-ky.po to Kyrgyz
# Copyright (C) 2004,2003, 2005 Free Software Foundation, Inc.
# Timur Jamakeev <ztimur@mail.ru>, 2003,2004.
# Nurlan Borubaev <nurlan@tamga.info>, 2005.
# Ilyas Bakirov <just_ilyas@yahoo.com>, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: DrakX-ky\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-05-03 10:51+0200\n"
"PO-Revision-Date: 2009-04-18 19:08+0600\n"
"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
"Language-Team: Kyrgyz\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.3\n"
"Plural-Forms: nplurals=1; plural=0;\n"

#: ../../advertising/01_IM_mageia.pl:1
#, c-format
msgid "Join Us!"
msgstr ""

#: ../../advertising/02_IM_mageia.pl:1
#, c-format
msgid "Make it yours!"
msgstr ""

#: ../../advertising/03_IM_mageia.pl:1
#, c-format
msgid "Your choice!"
msgstr ""

#: ../../advertising/04_IM_mageia.pl:1
#, fuzzy, c-format
msgid "Office tools"
msgstr "Офис станциясы"

#: ../../advertising/05_IM_mageia.pl:1
#, c-format
msgid "Home entertainment"
msgstr ""

#: ../../advertising/06_IM_mageia.pl:1
#, c-format
msgid "For kids"
msgstr ""

#: ../../advertising/07_IM_mageia.pl:1
#, c-format
msgid "For family!"
msgstr ""

#: ../../advertising/08_IM_mageia.pl:1
#, c-format
msgid "For developers!"
msgstr ""

#: ../../advertising/09_IM_mageia.pl:1
#, c-format
msgid "Thank you!"
msgstr ""

#: ../../advertising/10_IM_mageia.pl:1
#, c-format
msgid "Be Free!"
msgstr ""

#: any.pm:111
#, c-format
msgid "Do you have further supplementary media?"
msgstr "Сизде кийинки кезектеги кошумча алып жүрүүчү барбы?"

#. -PO: keep the double empty lines between sections, this is formatted a la LaTeX
#: any.pm:113
#, c-format
msgid ""
"The following media have been found and will be used during install: %s.\n"
"\n"
"\n"
"Do you have a supplementary installation medium to configure?"
msgstr ""
"Төмөнкү булак табылды жана ал орнотуу мезгилинде колдонулат: %s.\n"
"\n"
"\n"
"Ырастоолор үчүн кошумча булагы дагы барбы?"

#: any.pm:121
#, c-format
msgid "CD-ROM"
msgstr "CD-ROM"

#: any.pm:122
#, c-format
msgid "Network (HTTP)"
msgstr "Желе (HTTP)"

#: any.pm:123
#, c-format
msgid "Network (FTP)"
msgstr "Желе  (FTP)"

#: any.pm:124
#, c-format
msgid "Network (NFS)"
msgstr "Тармак (NFS)"

#: any.pm:171
#, c-format
msgid "URL of the mirror?"
msgstr "Күзгүсүнүн URL'и?"

#: any.pm:177
#, c-format
msgid "URL must start with ftp:// or http://"
msgstr "URL ftp:// же http:// менен башталышы керек"

#: any.pm:188
#, c-format
msgid "Contacting %s web site to get the list of available mirrors..."
msgstr "Бар болгон күзгүлөр тизмесин %s веб сайтындан алынууда..."

#: any.pm:193
#, c-format
msgid "Failed contacting %s web site to get the list of available mirrors"
msgstr ""
"Бар болгон күзгүлөр тизмесин %s веб сайтындан алынууда ийгиликсиз айяктады..."

#: any.pm:203
#, c-format
msgid "Choose a mirror from which to get the packages"
msgstr "Пакеттерди алуучу күзгүнү тандаңыз"

#: any.pm:233
#, c-format
msgid "NFS setup"
msgstr "NFS орнотуу"

#: any.pm:234
#, c-format
msgid "Please enter the hostname and directory of your NFS media"
msgstr "NFS топтомунун компьютер атын жана директориясын кириңиз"

#: any.pm:238
#, c-format
msgid "Hostname missing"
msgstr "Түйюндүн аты көрсөтүлгөн жок"

#: any.pm:239
#, c-format
msgid "Directory must begin with \"/\""
msgstr "Директория \"/\" белги менен башталышы керек"

#: any.pm:243
#, c-format
msgid "Hostname of the NFS mount ?"
msgstr "NFS туташуунун түйюн аты ?"

#: any.pm:244
#, c-format
msgid "Directory"
msgstr "Каталог"

#: any.pm:266
#, c-format
msgid "Supplementary"
msgstr "Кошумча"

#: any.pm:301
#, c-format
msgid ""
"Can't find a package list file on this mirror. Make sure the location is "
"correct."
msgstr ""
"Бул күзгүдө пакеттердин тизмеси атбылган жок. Жайгашуусунун тууралыгын "
"текшериңиз."

#: any.pm:317
#, c-format
msgid "Core Release"
msgstr ""

#: any.pm:319
#, c-format
msgid "Tainted Release"
msgstr ""

#: any.pm:321
#, c-format
msgid "Nonfree Release"
msgstr ""

#: any.pm:335
#, c-format
msgid ""
"Some hardware on your machine needs some non free firmwares in order for the "
"free software drivers to work."
msgstr ""

#: any.pm:336
#, c-format
msgid "You should enable \"%s\""
msgstr ""

#: any.pm:355
#, c-format
msgid "\"%s\" contains the various pieces of the systems and its applications"
msgstr ""

#: any.pm:356
#, c-format
msgid "\"%s\" contains non free software.\n"
msgstr ""

#: any.pm:357
#, c-format
msgid ""
"It also contains firmwares needed for certain devices to operate (eg: some "
"ATI/AMD graphic cards, some network cards, some RAID cards, ...)"
msgstr ""

#: any.pm:358
#, c-format
msgid ""
"\"%s\" contains software that can not be distributed in every country due to "
"software patents."
msgstr ""

#: any.pm:359
#, c-format
msgid ""
"It also contains software from \"%s\" rebuild with additional capabilities."
msgstr ""

#: any.pm:363
#, c-format
msgid "Here you can enable more media if you want."
msgstr ""

#: any.pm:378
#, fuzzy, c-format
msgid "This medium provides package updates for medium \"%s\""
msgstr "\"%s\" ичинен бардык пакеттерди аттап өтүү"

#: any.pm:451
#, c-format
msgid "Looking at packages already installed..."
msgstr "Орнотулган пакеттер изделип жатат..."

#: any.pm:485
#, c-format
msgid "Finding packages to upgrade..."
msgstr "Жаңыланычуу пакеттер изделип жатат..."

#: any.pm:498
#, c-format
msgid "Removing packages prior to upgrade..."
msgstr "Жаңылоодон мурда пакеттер өчүрүлүп жатат..."

#. -PO: keep the double empty lines between sections, this is formatted a la LaTeX
#: any.pm:713
#, c-format
msgid ""
"The following packages will be removed to allow upgrading your system: %s\n"
"\n"
"\n"
"Do you really want to remove these packages?\n"
msgstr ""
"Сиздин системага жаңылануу мүмкүнчүлүгүн берүү үчүн төмөнкү пакеттер\n"
"алынып ташталат: %s\n"
"\n"
"\n"
"Бул пакеттердин алынып ташталуусун каалайсызбы?\n"

#: any.pm:932
#, c-format
msgid "Error reading file %s"
msgstr "%s файлын окуудагы ката"

#: any.pm:1140
#, c-format
msgid "The following disk(s) were renamed:"
msgstr "Төмөнкү диск(тер)дин аты өзгөртүлдү:"

#: any.pm:1142
#, c-format
msgid "%s (previously named as %s)"
msgstr "%s (мурунку аты %s)"

#: any.pm:1199
#, c-format
msgid "HTTP"
msgstr "HTTP"

#: any.pm:1199
#, c-format
msgid "FTP"
msgstr "FTP"

#: any.pm:1199
#, c-format
msgid "NFS"
msgstr "NFS"

#: any.pm:1218 steps_interactive.pm:970
#, c-format
msgid "Network"
msgstr "Желе"

#: any.pm:1222
#, c-format
msgid "Please choose a media"
msgstr "Алып жүрүүчүнү тандаңыз"

#: any.pm:1238
#, c-format
msgid "File already exists. Overwrite it?"
msgstr "Файл алдагачан бар. Үстүнө кайра жазылсынбы?"

#: any.pm:1242
#, c-format
msgid "Permission denied"
msgstr "Кирүү укугу четке кагылды"

#: any.pm:1290
#, c-format
msgid "Bad NFS name"
msgstr "Жаман NFS аты"

#: any.pm:1311
#, c-format
msgid "Bad media %s"
msgstr "%s жараксыз алып жүрүүчү"

#: any.pm:1355
#, c-format
msgid "Cannot make screenshots before partitioning"
msgstr "Бөлүмдөрдү жаратууга чейин скриншотторду түзүүгө болбойт"

#: any.pm:1363
#, c-format
msgid "Screenshots will be available after install in %s"
msgstr "Орнотуудан кийин скриншоттор %s ичинде болот"

#: gtk.pm:128
#, c-format
msgid "Installation"
msgstr "Орнотуу"

#: gtk.pm:132 share/meta-task/compssUsers.pl:43
#, c-format
msgid "Configuration"
msgstr "Конфигурациялоо"

#: install2.pm:169
#, c-format
msgid "You must also format %s"
msgstr "Сиз %s дагы форматташыңыз керек"

#: interactive.pm:16
#, c-format
msgid ""
"Some hardware on your computer needs ``proprietary'' drivers to work.\n"
"You can find some information about them at: %s"
msgstr ""
"Компьютериңизде кээбир жабдыктар иштөө үчүн эркин эмес драйверлерди талап "
"кылат.\n"
"Алар жөнүндө маалыматты көрсөтүлгөн жерден табып аласыз: %s"

#: interactive.pm:22
#, c-format
msgid "Bringing up the network"
msgstr "Тармак көтөрүлүүдө"

#: interactive.pm:27
#, c-format
msgid "Bringing down the network"
msgstr "Тармак өчүрүлүүдө"

#: media.pm:409
#, c-format
msgid "Please wait, retrieving file"
msgstr "Күтө туруңуз, файл жүктөлүп жатат"

#: media.pm:717
#, c-format
msgid "unable to add medium"
msgstr "булак кошулган жок"

#: media.pm:757
#, c-format
msgid "Copying some packages on disks for future use"
msgstr "Кээбир пакеттерди келечекте колдонуу үчүн дискке көчүрүп жатат"

#: media.pm:810
#, c-format
msgid "Copying in progress"
msgstr "Көчүрүү жүрүүдө"

#: pkgs.pm:32
#, c-format
msgid "must have"
msgstr "болушу керек"

#: pkgs.pm:33
#, c-format
msgid "important"
msgstr "керектүү"

#: pkgs.pm:34
#, c-format
msgid "very nice"
msgstr "өтө жакшы"

#: pkgs.pm:35
#, c-format
msgid "nice"
msgstr "жакшы"

#: pkgs.pm:36
#, c-format
msgid "maybe"
msgstr "болушу мүмкүн"

#: pkgs.pm:102
#, c-format
msgid "Getting package information from XML meta-data..."
msgstr ""

#: pkgs.pm:111
#, c-format
msgid "No xml info for medium \"%s\", only partial result for package %s"
msgstr ""
"\"%s\" булагында xml-info табылган жок. %s пакети үчүн жарым ганарезультат "
"алынды"

#: pkgs.pm:119
#, c-format
msgid "No description"
msgstr "Баяндалбады"

#: pkgs.pm:287
#, c-format
msgid ""
"Some packages requested by %s cannot be installed:\n"
"%s"
msgstr ""
"%s менен талап кылынган кээбир пакеттер орнотула алган жок:\n"
"%s"

#: pkgs.pm:382 pkgs.pm:409
#, c-format
msgid "An error occurred:"
msgstr "Жаңылыштык орун алды:"

#: pkgs.pm:401
#, c-format
msgid "A fatal error occurred: %s."
msgstr "Фаталдык ката пайда болду: %s."

#: pkgs.pm:891 pkgs.pm:928
#, c-format
msgid "Do not ask again"
msgstr ""

#: pkgs.pm:907
#, c-format
msgid "%d installation transactions failed"
msgstr "%d орнотуу транзакциялары ишке ашпады"

#: pkgs.pm:908
#, c-format
msgid "Installation of packages failed:"
msgstr "Пакеттердин орнотулушу ийгиликсиз аяктады:"

#: share/meta-task/compssUsers.pl:13
#, c-format
msgid "Workstation"
msgstr "Иш станциясы"

#: share/meta-task/compssUsers.pl:15
#, c-format
msgid "Office Workstation"
msgstr "Офис станциясы"

#: share/meta-task/compssUsers.pl:17
#, c-format
msgid ""
"Office programs: wordprocessors (LibreOffice Writer, Kword), spreadsheets "
"(LibreOffice Calc, Kspread), PDF viewers, etc"
msgstr ""
"Офис программалары: текст процессорлору (LibreOffice Writer, Kword), "
"электрондук таблицалар  (LibreOffice Calc, Kspread), pdf файлдарын көрүү "
"программалары, ж.б."

#: share/meta-task/compssUsers.pl:22
#, c-format
msgid "Game station"
msgstr "Оюн станциясы"

#: share/meta-task/compssUsers.pl:23
#, c-format
msgid "Amusement programs: arcade, boards, strategy, etc"
msgstr ""
"Оюн-зоок программалары: аркада оюндары, тактай оюндары, стратегия оюндары, ж."
"б."

#: share/meta-task/compssUsers.pl:26
#, c-format
msgid "Multimedia station"
msgstr "Мультимедиа станциясы"

#: share/meta-task/compssUsers.pl:27
#, c-format
msgid "Sound and video playing/editing programs"
msgstr "Үн жана видео ойнотуу/терүү программалары"

#: share/meta-task/compssUsers.pl:32
#, c-format
msgid "Internet station"
msgstr "Интернет станциясы"

#: share/meta-task/compssUsers.pl:33
#, c-format
msgid ""
"Set of tools to read and send mail and news (mutt, tin..) and to browse the "
"Web"
msgstr ""
"Почтаны жана жаңылыктарды (mutt, tin..) окууга жана жөнөтүүгө, жана вебде "
"иштөөгө арналган куралдар тобу"

#: share/meta-task/compssUsers.pl:38
#, c-format
msgid "Network Computer (client)"
msgstr "Тармак компьютери (клиент)"

#: share/meta-task/compssUsers.pl:39
#, c-format
msgid "Clients for different protocols including ssh"
msgstr "Ар түрдүү протоколдор клиенттери, ssh да кошулган"

#: share/meta-task/compssUsers.pl:44
#, c-format
msgid "Tools to ease the configuration of your computer"
msgstr "Компьютериңизди жеңил конфигурациялоо куралдары"

#: share/meta-task/compssUsers.pl:48
#, c-format
msgid "Console Tools"
msgstr "Консоль куралдары"

#: share/meta-task/compssUsers.pl:49
#, c-format
msgid "Editors, shells, file tools, terminals"
msgstr "Редакторлор, шелдер, файл куралдары, терминалдар"

#: share/meta-task/compssUsers.pl:53 share/meta-task/compssUsers.pl:156
#: share/meta-task/compssUsers.pl:158
#, c-format
msgid "Development"
msgstr "Иштеп түзүү"

#: share/meta-task/compssUsers.pl:54 share/meta-task/compssUsers.pl:159
#, c-format
msgid "C and C++ development libraries, programs and include files"
msgstr ""
"C жана C++ иштеп чыгуу библиотекалары, программалар жана include файлдары"

#: share/meta-task/compssUsers.pl:57 share/meta-task/compssUsers.pl:163
#, c-format
msgid "Documentation"
msgstr "Документация"

#: share/meta-task/compssUsers.pl:58 share/meta-task/compssUsers.pl:164
#, c-format
msgid "Books and Howto's on Linux and Free Software"
msgstr "Linux жана Free Software жөнүндөгү китептер жана HOWTOлар"

#: share/meta-task/compssUsers.pl:62 share/meta-task/compssUsers.pl:167
#, c-format
msgid "LSB"
msgstr "LSB"

#: share/meta-task/compssUsers.pl:63 share/meta-task/compssUsers.pl:168
#, c-format
msgid "Linux Standard Base. Third party applications support"
msgstr ""
"Linux стандарттык базасы. Үчүнчү тараптык иштеп чыгуучулардын тиркемелерин "
"колдоо"

#: share/meta-task/compssUsers.pl:72
#, c-format
msgid "Web Server"
msgstr "Веб-сервери"

#: share/meta-task/compssUsers.pl:73
#, c-format
msgid "Apache"
msgstr "Apache"

#: share/meta-task/compssUsers.pl:76
#, c-format
msgid "Groupware"
msgstr "Groupware"

#: share/meta-task/compssUsers.pl:77
#, c-format
msgid "Kolab Server"
msgstr "Kolab сервери"

#: share/meta-task/compssUsers.pl:80 share/meta-task/compssUsers.pl:121
#, c-format
msgid "Firewall/Router"
msgstr "Файрволл/Маршруттагыч"

#: share/meta-task/compssUsers.pl:81 share/meta-task/compssUsers.pl:122
#, c-format
msgid "Internet gateway"
msgstr "Интернет дарбазасы"

#: share/meta-task/compssUsers.pl:84
#, c-format
msgid "Mail/News"
msgstr "Почта/Жаңылыктар"

#: share/meta-task/compssUsers.pl:85
#, c-format
msgid "Postfix mail server, Inn news server"
msgstr "Postfix почта сервери, Inn жаңылыктар сервери"

#: share/meta-task/compssUsers.pl:88
#, c-format
msgid "Directory Server"
msgstr "Каталогдор сервери"

#: share/meta-task/compssUsers.pl:92
#, c-format
msgid "FTP Server"
msgstr "FTP сервери"

#: share/meta-task/compssUsers.pl:93
#, c-format
msgid "ProFTPd"
msgstr "ProFTPd"

#: share/meta-task/compssUsers.pl:96
#, c-format
msgid "DNS/NIS"
msgstr "DNS/NIS"

#: share/meta-task/compssUsers.pl:97
#, c-format
msgid "Domain Name and Network Information Server"
msgstr "DNS жана NIS"

#: share/meta-task/compssUsers.pl:100
#, c-format
msgid "File and Printer Sharing Server"
msgstr "Файл жана принтер бөлүшүү сервери"

#: share/meta-task/compssUsers.pl:101
#, c-format
msgid "NFS Server, Samba server"
msgstr "NFS сервери, Samba сервери"

#: share/meta-task/compssUsers.pl:104 share/meta-task/compssUsers.pl:117
#, c-format
msgid "Database"
msgstr "Берилиштер базасы"

#: share/meta-task/compssUsers.pl:105
#, c-format
msgid "PostgreSQL and MariaDB Database Server"
msgstr "PostgreSQL жана MariaDB берилиштер базасынын сервери"

#: share/meta-task/compssUsers.pl:109
#, c-format
msgid "Web/FTP"
msgstr "Web/FTP"

#: share/meta-task/compssUsers.pl:110
#, c-format
msgid "Apache, Pro-ftpd"
msgstr "Apache, Pro-ftpd"

#: share/meta-task/compssUsers.pl:113
#, c-format
msgid "Mail"
msgstr "Почта"

#: share/meta-task/compssUsers.pl:114
#, c-format
msgid "Postfix mail server"
msgstr "Postfix почта сервери"

#: share/meta-task/compssUsers.pl:118
#, c-format
msgid "PostgreSQL or MariaDB database server"
msgstr "PostgreSQL же MariaDB берилиштер базасынын сервери"

#: share/meta-task/compssUsers.pl:125
#, c-format
msgid "Network Computer server"
msgstr "Тармак сервери"

#: share/meta-task/compssUsers.pl:126
#, c-format
msgid "NFS server, SMB server, Proxy server, ssh server"
msgstr "NFS сервери, SMB сервери, Proxy сервери, ssh сервери"

#: share/meta-task/compssUsers.pl:132
#, c-format
msgid "Graphical Environment"
msgstr "Графикалык чөйрө"

#: share/meta-task/compssUsers.pl:134
#, c-format
msgid "KDE Workstation"
msgstr "KDE иш станциясы"

#: share/meta-task/compssUsers.pl:135
#, c-format
msgid ""
"The K Desktop Environment, the basic graphical environment with a collection "
"of accompanying tools"
msgstr ""
"K Desktop Environment - негизги графикалык чөйрө, кошумча куралдар "
"коллекциясы менен"

#: share/meta-task/compssUsers.pl:139
#, c-format
msgid "GNOME Workstation"
msgstr "GNOME иш станциясы"

#: share/meta-task/compssUsers.pl:140
#, c-format
msgid ""
"A graphical environment with user-friendly set of applications and desktop "
"tools"
msgstr ""
"Колдонуучуга ыңгайлашкан тиркемелерин жана иш столунун кураларын камтыган "
"графикалык чөйрө"

#: share/meta-task/compssUsers.pl:144
#, c-format
msgid "LXDE Desktop"
msgstr "LXDE иш столу"