From 22ad2cc9f7d92f9a8b20f33e4082c3d6af4dcb00 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Thu, 27 Sep 2012 15:00:27 -0400 Subject: Create symlinks at compile time for busybox --- recovery.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'recovery.cpp') diff --git a/recovery.cpp b/recovery.cpp index 1e1d9a952..3c4447274 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -809,8 +809,11 @@ main(int argc, char **argv) { DataManager_LoadDefaults(); printf("Starting the UI..."); gui_init(); - printf("=> Installing busybox into /sbin\n"); - system("/sbin/bbinstall.sh"); // Let's install busybox + //printf("=> Installing busybox into /sbin\n"); + //system("/sbin/bbinstall.sh"); // Let's install busybox + printf("Symlinking gzip to pigz\n"); + system("ln -sf /sbin/pigz /sbin/gzip"); + system("ln -sf /sbin/unpigz /sbin/gunzip"); printf("=> Linking mtab\n"); system("ln -s /proc/mounts /etc/mtab"); // And link mtab for mke2fs printf("=> Processing recovery.fstab\n"); -- cgit v1.2.3