I need to change the default configuration of the distro, like changing $conf['maintenance_theme'] to use a custom theme at install..

is it possible to replace the Drupal's default.settings.php file (or any other file) in the created package?
I should probably use a patch file, right? But how do I do that on d.o? should I commit the patch into cvs? yes, probably..

ok, if I answered my question correctly, then it should be added to the documentation..

Comments

dmitrig01’s picture

for d.o, I'm not sure this is possible and I doubt the maintainers would want it. What if someone downloaded core + your profile but ended up wanting to insatll default? they'd be stuck with your theme.

SirMarco’s picture

If I understand you correctly...
You could use a patch to change settings during site installation.

Here's what I did:
1. created 2 folders: drupal and drupal-mod
2. made settings changes in drupal-mod
3. run diff -Naur drupal drupal-mod > settings.patch, placed this patch to my webserver
4. then in .make file you specify: projects[drupal][patch][] = "url to patch file"

After drush_make pulls drupal core it will apply your patch.

pasqualle’s picture

@SirMarco: yes, but not on d.o. The drush make on d.o will not download the patch from your webserver..

@dmitrig01: If you download a distro, then you should see the theme of the distro even if you want to install the default profile.. And on another note, I would like to fully disable the default Drupal profiles, as they are not useful to me, and then this problem would not even exist. Probably with a new core issue, or if its too late, then with other distro patch..

dmitrig01’s picture

Status: Active » Closed (won't fix)

Yeah, I don't think this would work at all. You can just tell the users to set it manually.