Opened 7 years ago

Closed 6 years ago

#6188 closed defect (fixed)

drop mkinitrd and its nasty chain of dependencies

Reported by: bernie Owned by: bernie
Priority: normal Milestone:
Component: distro Version:
Keywords: Cc: cscott, dsaxena, dilinger
Blocked By: Blocking: #7353
Deployments affected: Action Needed: never set
Verified: no

Description

...which include lvm2, dmraid, parted, e2fstools, nash, and a few others I can't remember. A few MBs saving in the image.

The relevant patch is already in olpc-2.6-rpm, and has been reverted due to missing dependencies of initscripts and olpc-utils. These have long been fixed, so I expect a painless experience this time.

Attachments (1)

kernel-rpm-cleanup.patch (14.3 KB) - added by dsaxena 6 years ago.
Remove mkinitrd dependencies from kernel package and remove !OLPC targets

Download all attachments as: .zip

Change History (12)

comment:1 Changed 6 years ago by cscott

Hey bernie, can we try this patch again? We probably actually want e2fstools, though, since people often use ext2/3 formatted USB keys.

comment:2 Changed 6 years ago by cscott

  • Owner changed from cscott to bernie

comment:3 Changed 6 years ago by cscott

  • Cc cscott added

See also trac #2772, with a long list of other bloat to be dropped.

comment:4 Changed 6 years ago by cscott

Er, I mean #7353. My bad.

comment:5 Changed 6 years ago by cscott

  • Blocking 7353 added

comment:6 Changed 6 years ago by cscott

  • Action Needed set to never set
  • Cc dsaxena dilinger added

Changed 6 years ago by dsaxena

Remove mkinitrd dependencies from kernel package and remove !OLPC targets

comment:7 Changed 6 years ago by dsaxena

Attached patch remove mkinitrd from the dependencies of the kernel RPM in addition to removing all the non-OLPC targets (PAE, SMP, xen, kdump) that we don't care about at the moment. We may someday want a xen target but we can just bring that in later. Andres, can you apply to your repo?

comment:8 Changed 6 years ago by dilinger

Patch committed to olpc-2.6-rpm tree, thanks.

comment:9 Changed 6 years ago by gregorio

  • Milestone Never Assigned deleted

Milestone Never Assigned deleted

comment:10 Changed 6 years ago by cscott

Done in joyride. Can we just close the bug, or do we need to "test" it first?

comment:11 Changed 6 years ago by dsd

  • Resolution set to fixed
  • Status changed from new to closed

We can just close it because there is no user-visible impact.

Note: See TracTickets for help on using tickets.