From 409fcbde074c4f455e9bfb0a60bdf29db2ddee94 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 23 Oct 2003 10:16:54 +0000 Subject: various fixes: - add some usually automatic flags 'BURNER', 'UTF8', 'DOCS', 'TV', '3D' - use symlinkf instead of "ln -sf" (symlinkf is much better, it removes destination first) - not need to run pango-querymodules anymore --- move/make_live | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'move/make_live') diff --git a/move/make_live b/move/make_live index 06ba0280d..4bb1b3156 100755 --- a/move/make_live +++ b/move/make_live @@ -33,7 +33,7 @@ sub installPackages { }); my %compssUsersChoice = map { $_ => 1 } map { @{$_->{flags}} } values %{$o->{compssUsers}}; - $compssUsersChoice{$_} = 1 foreach 'SYSTEM', 'DVD', 'USB', 'SOUND'; + $compssUsersChoice{$_} = 1 foreach 'SYSTEM', 'DVD', 'USB', 'SOUND', 'BURNER', 'UTF8', 'DOCS', 'TV', '3D'; $compssUsersChoice{qq(LOCALES"$_")} = 1 foreach @langs; pkgs::setSelectedFromCompssList($o->{packages}, \%compssUsersChoice, 4, 0); @@ -55,17 +55,15 @@ $::prefix = "/tmp/live_tree"; { eval { fs::umount("$::prefix/proc") }; # eval { rm_rf($::prefix) }; - output("$::prefix/etc/fstab", "none /proc proc defaults 0 0\n"); + output_p("$::prefix/etc/fstab", "none /proc proc defaults 0 0\n"); installPackages(); system("chroot $::prefix ldconfig"); } -system("ln -sf /var/lib/xkb $::prefix/etc/X11/xkb/compiled"); # don't want the relative path, prefering the absolute path +symlinkf('/var/lib/xkb', "$::prefix/etc/X11/xkb/compiled"); # don't want the relative path, prefering the absolute path system("find $::prefix/dev -type b -o -type c | xargs chmod a+rw"); substInFile { #- /lib is ro, for the moment we don't save, we'll see later if we may want to save (using /var/dev-state for example) s|.*lib/dev-state.*||; } "$::prefix/etc/devfsd.conf"; - -system("chroot $::prefix pango-querymodules > $::prefix/etc/pango/pango.modules"); -- cgit v1.2.1