Keep Hydra OS branding through disk installation

This commit is contained in:
Codex
2026-10-13 15:15:31 +03:00
parent e6dc59b567
commit b547d6c535
4 changed files with 6 additions and 5 deletions
+1
View File
@@ -177,6 +177,7 @@ class PipelineTests(unittest.TestCase):
self.assertIn('hostonly_cmdline="no"', (self.root / 'etc/dracut.conf.d/90-hydra-installed.conf').read_text())
self.assertIn('omit_dracutmodules+=" dmsquash-live "', (self.root / 'etc/dracut.conf.d/90-hydra-installed.conf').read_text())
self.assertNotIn('root=live:', (self.root / 'etc/default/grub').read_text())
self.assertIn('GRUB_DISTRIBUTOR="Hydra OS"', (self.root / 'etc/default/grub').read_text())
dracut = next(c for c in runner.calls if 'dracut' in c)
self.assertIn('6.12.1', dracut)
self.assertEqual(runner.calls[-1], ['umount', str(self.root)])