[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#702093: debian-installer: please allow the user to set the system time manually



Control: reassign -1 busybox-udeb
Control: retitle -1 busybox-udeb: please enable the 'date' applet
Control: tag -1 patch

Cyril Brulebois <kibi@debian.org> (2014-03-01):
> Riku Saikkonen <rjs@netti.fi> (2013-03-02):
> > I have two suggestions for fixing this bug:
> > 
> >  - Please include the "date" command in busybox in the initrd to allow
> >    setting the system time from the command line.
> 
> I suspect this should be rather straightforward and harmless (a few
> extra bytes in busybox-udeb).
> 
> >  - If the user answers "No" to the NTP question in the installer menus,
> >    please consider adding a dialog that shows the current time and asks
> >    the user for a new time if it is wrong. (Possibly also ask about
> >    writing the new time to the RTC using hwclock.)
> 
> I don't think I'm going to implement that part though.

Reassigning this bug report to busybox-udeb accordingly.

I've successfully tested the attached patch in a d-i environment.

Mraw,
KiBi.
From ffb340341d0915e6af2043f4d5f5b310ccc155c8 Mon Sep 17 00:00:00 2001
From: Cyril Brulebois <kibi@debian.org>
Date: Sat, 1 Mar 2014 03:06:15 +0100
Subject: [PATCH] Enable the date applet in the udeb (Closes: #702093)

---
 debian/changelog       | 6 ++++++
 debian/config/pkg/udeb | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9bbeea5..21b48ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+busybox (1:1.22.0-5) UNRELEASED; urgency=medium
+
+  * Enable the date applet in the udeb (Closes: #702093)
+
+ -- Cyril Brulebois <kibi@debian.org>  Sat, 01 Mar 2014 03:05:45 +0100
+
 busybox (1:1.22.0-4) unstable; urgency=low
 
   * new: do-not-fail-on-missing-SIGPWR.patch: fix FTBFS on !linux,
diff --git a/debian/config/pkg/udeb b/debian/config/pkg/udeb
index a5f174d..668c366 100644
--- a/debian/config/pkg/udeb
+++ b/debian/config/pkg/udeb
@@ -176,7 +176,7 @@ CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y
 #
 CONFIG_BASENAME=y
 CONFIG_CAT=y
-# CONFIG_DATE is not set
+CONFIG_DATE=y
 # CONFIG_FEATURE_DATE_ISOFMT is not set
 # CONFIG_FEATURE_DATE_NANO is not set
 # CONFIG_FEATURE_DATE_COMPAT is not set
-- 
1.9.0

Attachment: signature.asc
Description: Digital signature


Reply to: