aboutsummaryrefslogtreecommitdiffstats
path: root/BCD
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2010-11-29 09:28:22 +0000
committerAntoine Ginies <aginies@mandriva.com>2010-11-29 09:28:22 +0000
commita90e0350ebc3546c4a207d0b8587f686d79d4c36 (patch)
treeda3efd234255d07adbf3c300d79ab28941edb88b /BCD
parent6233db7abdcbde7a4d3d5a9a5caa69275a06baf5 (diff)
downloadbcd-a90e0350ebc3546c4a207d0b8587f686d79d4c36.tar
bcd-a90e0350ebc3546c4a207d0b8587f686d79d4c36.tar.gz
bcd-a90e0350ebc3546c4a207d0b8587f686d79d4c36.tar.bz2
bcd-a90e0350ebc3546c4a207d0b8587f686d79d4c36.tar.xz
bcd-a90e0350ebc3546c4a207d0b8587f686d79d4c36.zip
use Web and Resign module
Diffstat (limited to 'BCD')
-rw-r--r--BCD/Bcd.pm11
1 files changed, 9 insertions, 2 deletions
diff --git a/BCD/Bcd.pm b/BCD/Bcd.pm
index 3987c9a..98a68e1 100644
--- a/BCD/Bcd.pm
+++ b/BCD/Bcd.pm
@@ -6,11 +6,13 @@ use Data::Dumper;
use Pod::Usage;
use MDK::Common;
+use BCD::Resign;
use BCD::Common qw(:DEFAULT $wd $isoconf $name $arch $version $isodir $builddir $error_color $dir_deps);
use BCD::Genisoimage;
use BCD::Isolinux;
use BCD::Stagex;
use BCD::Media;
+use BCD::Web;
our @ISA = qw(Exporter);
our @EXPORT = qw(main_bcd);
@@ -33,6 +35,7 @@ sub do_all {
main_stagex;
main_media($option);
main_iso($option);
+ main_html;
show_info();
}
@@ -61,7 +64,11 @@ sub main_bcd() {
checkrepo => \&check_repo_hdlist,
rpmcheck => \&rpmcheck_launch,
doble => \&solve_doble_issue,
+ kernel => \&find_all_kernel,
resign => \&resign_media,
+ getsrpm => \&get_srpms_list,
+ clean => \&clean_urpmq_log,
+ html => \&main_html,
all => \&do_all,
);
@@ -73,8 +80,8 @@ sub main_bcd() {
mkdir_p($dir_deps);
}
print_color("-- If you don't want to use previous urpmq query:\n ++ remove the directory $dir_deps\n ++ or remove the file wich contains the urpmq result for the package to redo an another one (ie: the file $dir_deps/tocopy_plop_todo_Main-drakconf)", $color);
- $ARGV[0] or help_bcd;
- -f $ARGV[0] or die "Cant acces to conf file $ARGV[0]\n";
+# $ARGV[0] or help_bcd;
+# -f $ARGV[0] or die "Cant acces to conf file $ARGV[0]\n";
if (my $f = $opts{$ARGV[1]}) {
if ($ARGV[2]) {
my $options;